Here's the JBoss log file:
JBoss logAnd here are all the files involved:
User pojoUser hbmCustomer
pojoCustomer
hbmIdcard
pojoIdcard
hbmLoan
pojoLoan hbmBook pojoBook hbmAuthor
pojoAuthor hbmHibernate
cfgData-management-configCurrently the mapped associations are bidirectional CUSTOMER
to IDCARD (one-to-one) and bidirectional AUTHOR to BOOK
(one-to-many/many-to-one). LOAN is not currently mapped because I'm
still thinking about how to do it. Don't mind if you see "italian"
names inside the files, I called the entities with english names
here to make it all more understandable.
Actually what's driving me crazy is that if I map only USER,
CUSTOMER and AUTHOR (which are kinda "boundary" entities, meaning
they exist without any association) as hibernate.cfg.xml resources
(and with their respective destinations in data management), it all
works perfectly. As soon as I complete the mapping this error
suddenly comes up :(