|
|
|
|
| Author |
Message |
|
2007/11/04 03:47
|
|
|
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)
|
|
|
|
 |
| |
|
2007/11/05 09:06
|
|
|
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 |
|
|
|
 |
| |
|
2007/11/05 18:32
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
|
 |
| |
|
|
|
|