it should work fine.
What you need in your hbm files is:

.....
    <class  name="com.canpay.gm.persistent.model.BankAccount" 
table="BankAccount" optimistic-lock="version">
....
        xxx
        <id name="id" column="id" type="long" unsaved-value="null">
            
        
        <natural-id>
             
        </natural-id>   
        
....other properties


TEFRON


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950721#3950721

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950721


_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to