Hi. Just starting out on my first seam expedition and have run into a brick 
wall with hibernate. Was having some success up until yesterday when this error 
occurs...

anonymous wrote : 00:57:40,871 INFO  [CollectionBinder] Mapping collection: 
com.snet.cb.ejb.Account.payments -> Payment
  | 00:57:40,873 INFO  [CollectionBinder] Mapping collection: 
com.snet.cb.ejb.Account.reservations -> Reservation
  | 00:57:40,874 INFO  [CollectionBinder] Mapping collection: 
com.snet.cb.ejb.BookableAsset.rates -> Rate
  | 00:57:40,875 INFO  [CollectionBinder] Mapping collection: 
com.snet.cb.ejb.BookableAsset.images -> Image
  | 00:57:40,876 INFO  [CollectionBinder] Mapping collection: 
com.snet.cb.ejb.BookableAsset.reservations -> Reservation
  | 00:57:40,877 INFO  [CollectionBinder] Mapping collection: 
com.snet.cb.ejb.Property.rooms -> Room
  | 00:57:40,878 INFO  [CollectionBinder] Mapping collection: 
com.snet.cb.ejb.Reservation.payments -> Payment
  | 00:57:40,909 WARN  [ServiceController] Problem starting service 
persistence.units:ear=centralbookings.ear.ear,jar=centralbookings.jar.jar,unitName=cbDatabase
  | java.lang.reflect.InvocationTargetException
  | ...
  | Caused by: org.hibernate.MappingException: Could not determine type for: 
java.util.Collection, for columns: [org.hibernate.mapping.Column(reservations)]

I have a number of "OneToMany" relationships and am fairly confident that they 
are all configured similarly. 

Is there any way that I can debug the annotation parsing in a little more 
detail? The Annotations and EJB's compile a treat, but just go titzup when 
getting deployed. 

Am posting here due use of seam...

TIA for any help...

cheers,

Mark.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to