[Teneo] Is there a way to separate notation that define column length? [message #615544] |
Fri, 22 February 2008 14:11 |
David Wynter Messages: 4624 Registered: July 2009 |
Senior Member |
|
|
Hi,
I have a large hibernate.hbm.xml being generated by Teneo from an
standardised XSD. I would like to be able to add the notations for
defining the column lengths (which of course are not specified in the
XSD) but not have them overwritten when I regenerate whenever the
standardized XSD has a new version released. So is it possible to have
these annotations defining the column lengths for the String type
elements and somehow merge them by element name with the generated
hibernate.hbm.xml? Is XSLT my only option?
The other query I had was to do with the generation of a discriminator
column (dtype) by Hibernate. Regardless of which Teneo option
(superclass or joined-subclass) I choose I seems to get this column. The
model I had does not have inheritance for the elements, so I do not need
the discriminator column.
Thx.
David
|
|
|
Powered by
FUDForum. Page generated in 0.05959 seconds