How to create a hibernate idbag with a collection-id that has a default value? -
I have to create an image in Hybrnate 3 where the collection-id is the default for the next value in the column sequence. According to Hibernate 3 DTD, the archive-id element looks like this:
& lt! ATTLIST Collection-ID column CDATA #REQUIRED> & Lt; ATTLIST Collection-ID Type CDATA #REQUIRED> & lt! ATTLIST collection-id length CDATA # IMPLLD>
which allows my untrained eyes to say that I have a column feature and a column element, the element allows for the default, but the attribute is essential. If I possess properties and elements, then the element is basically useless.
The reason for this is that I need to work because I am going to join the table using SQL and would like
< P>
, But I would like to use hibernate mapping if this is possible.
Comments
Post a Comment