| | <hibernate-mapping | > | <class | name="com.jbossatwork.common.CarDTO" | table="CAR" | > | | <id | name="id" | column="ID" | type="integer" | > | <generator class="sequence"> | <!-- | To add non XDoclet generator parameters, create a file named | hibernate-generator-params-CarDTO.xml | containing the additional parameters and place it in your merge dir. | --> | <param name="sequence">car_sequence</param> | </generator> | </id> | | <property | name="make" | type="java.lang.String" | column="MAKE" | /> | | <property | name="model" | type="java.lang.String" | column="MODEL" | /> | | <property | name="modelYear" | type="java.lang.String" | column="MODEL_YEAR" | /> | | <!-- | To add non XDoclet property mappings, create a file named | hibernate-properties-CarDTO.xml | containing the additional properties and place it in your merge dir. | --> | | </class> | | </hibernate-mapping> |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028458#4028458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028458 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
