Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Is there a way to separate notation that define column length?
[Teneo] Is there a way to separate notation that define column length? [message #615544] Fri, 22 February 2008 14:11
David Wynter is currently offline David WynterFriend
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
Previous Topic:OCL for Hibernate
Next Topic:[Teneo] Abstract classes in top entities
Goto Forum:
  


Current Time: Fri Apr 26 12:04:51 GMT 2024

Powered by FUDForum. Page generated in 0.05959 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top