|"Repeated column in mapping for entity" [message #602053]
||Fri, 02 February 2007 16:03
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.01876 seconds