"Repeated column in mapping for entity" [message #602053] |
Fri, 02 February 2007 16:03 |
JG Messages: 51 Registered: July 2009 |
Member |
|
|
I have a class which has to inheritance paths to one of its
superclasses. When throwing this class at Teneo/Hibernate, Hibernate(? I
guess...) complains about
"Repeated column in mapping for entity:
rel.datatypes.RelationalTimestamp column: subsecondprecision (should be
mapped with insert="false" update="false"
Apparently, it is bothered by the field subsecondprecision, perhaps
assuming it has the same field twice. Renaming the property did not help
(it would complain about the column with the new name).
I am not sure what actually happens if I set insertable and updatable to
false as the error message suggests... the error message disappears, but
since my attempt at renaming apparently applied to "both" properties
(which are one and the same thing, but not for hibernate), might these
settings not result in not being able to store this property at all?
Regards
Jürgen
|
|
|
Powered by
FUDForum. Page generated in 0.02069 seconds