[jboss-user] [JBoss Seam] - Seam + Hibernate

lara do-not-reply at jboss.com
Tue Nov 28 11:51:09 EST 2006


I am migrating some code from hibernate2 to hibernate3 and I encountered the following while adding annotation to an entity bean:

I have two fields:


  | @hibernate.column name = "EXT_ID" unique-key = "SECURED_OBJECTS_EXT_ID_TYPE_CODE_IDX"
  | 
  | @hibernate.column name = "TYPE_CODE" unique-key = "SECURED_OBJECTS_EXT_ID_TYPE_CODE_IDX"
  | 

I noticed that both fields have the same unique-key, what does this stands for and how do  I represent the unique-key in hibernate3?

Thanks in advance,
Regards

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

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



More information about the jboss-user mailing list