|[Teneo] Problem with StringToStringMap and @Lob @Column Annotation [message #616108]
||Tue, 08 April 2008 20:09
| Kai Schlamp
Registered: July 2009
I have a little problem when persisting an EMF StringToStringMap with
I defined the map as stated at
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
Powered by FUDForum
. Page generated in 0.02208 seconds