Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Problem with StringToStringMap and @Lob @Column Annotation
[Teneo] Problem with StringToStringMap and @Lob @Column Annotation [message #616108] Tue, 08 April 2008 20:09
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member

I have a little problem when persisting an EMF StringToStringMap with
I defined the map as stated at .3F
Everything works fine, but when I add the teneo.jpa annotation @Lob
@Column(length=100000) for the "value" field of the map, Teneo doesn't
create the table for this map anymore.
The above annotation works as exspected when used for other EMF class
fields (the table is created correctly and Derby uses CLOB instead of
VARCHAR). Only a StringToStringMap resp. any map has the problem not
accepting this annotation.

Another thing ... the naming scheme for maps seems to be a bit other than
for usual EMF objects.

Let's presume the model looks like below:

|-type:DocumentType (a ref to another EMF class)

Then Teneo/Hibernate creates the following tables (without specifying any
special naming via "@Column"): document, PROPERTIES, documenttype,
Is there a reason why Hibernate names properties upper case and without

Best regards,
Previous Topic:[Teneo] Annotation in ecore model (foreign key and annotation for options)
Next Topic:Need to access two databases in same JVM
Goto Forum:

Current Time: Sat Jun 25 09:05:06 GMT 2022

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

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

Back to the top