0 Replies Latest reply on Mar 2, 2006 9:18 AM by MarkE

    Hibernate failing to map collection

    MarkE Newbie

      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...

      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
      Caused by: org.hibernate.MappingException: Could not determine type for: java.util.Collection, for columns: [org.hibernate.mapping.Column(reservations)]