Visual Paradigm Logo
     Build Quality Applications Faster, Better and Cheaper
 
Home | Products | Download | Documentation | Support | Resources | Partners | Quick Tour | Shop | Company |  
 
   Visual Paradigm Discussion Forum
  Login   [ Register ] Email: Password: Log me on automatically I lost my password  
Recent Topics
Advanced Search
Cannot use ORM Component II : I'll be back!  
Forum Index -> DB Visual ARCHITECT (DB-VA)
Author Message
distansia


Joined: 2007/10/16
Messages: 59

Offline

Hi VP,

I have a problem again with ORM Components.

This time I was going to report you a possible bug when generating code for ORM components, and then I could not generate code at all!

Let me explain:
- First, I was working with a model like image1
- Then, when generating code, the mapping for the component was not generated if the component lives inside a "joined-subclass" . I mean, this code will not be automatically generated:
<component name="comp1" class="comp1, Base">
<property name="att1" column="comp1_att1" type="String" length="255" not-null="true" />
</component>
('Base' in this case is the name of the NET assembly)

But now, when I tried generating code from the model, it fails with the warning showed in image2

BTW, I see that your error message now tells some important info: the item involved!! (in this case, column "att1" of item "comp1"). Thank you for doing so!!

So, maybe here are two bugs indeed. The original one, no mapping generated for components inside a "joined-subclass", and now code generation error when trying to do so.

Happy component fixing

Attached Image : Description : Image1: The beginning (7 kb)

Attached Image : Description : Image2: OMG!! (6 kb)

 
Jick


Joined: 2005/04/29
Messages: 2880

Offline

Hello distansia,

Thank you for your post. This one has been reported to our team, too.

Best regards,
Jick

Visual Paradigm International Ltd.
http://www.visual-paradigm.com

Build Quality Applications Faster, Better and Cheaper
 
Jick


Joined: 2005/04/29
Messages: 2880

Offline

Hi distansia,

This one has been fixed, too. Please find the download path for the patch from this thread:
http://forums.visual-paradigm.com/posts/list/0/2613.html

Best regards,
Jick

Visual Paradigm International Ltd.
http://www.visual-paradigm.com

Build Quality Applications Faster, Better and Cheaper
 
 
   Forum Index -> DB Visual ARCHITECT (DB-VA)
Go to:   
Powered by JForum 2.1.4 © 2005 - Rafael Steil