Emmanuel,
Thanks! that solved the problem
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3934311#3934311
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3934311
---
This
Oh I found you problem, mappedBy=subUnits should be mappedBy=superUnit, you
should reference the many side not something else
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933951#3933951
Reply to the post :
constraints does not prevent bidirectional and recursive associations
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3933908#3933908
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3933908
Hi Emmanuel, this is the script of the table that was created by hibernate...
CREATE TABLE `intranetejb`.`unit` (
| `unitCode` bigint(20) NOT NULL auto_increment,
| `unitName` varchar(255) default NULL,
| `superUnitCode` bigint(20) default NULL,
| PRIMARY KEY (`unitCode`),
|