1. How should I map component superclass fields? forum.hibernate.orgHibernate version: 2.1.6 Mapping documents: |
2. |
3. Component Mapping with Similar Sets of Fields - Possible? forum.hibernate.org |
4. Component field as Map indices forum.hibernate.orgHi, Hibernate version: 3.1.3 I have the classes Language, Product, Description et DescriptionId : Code: public class Language { private int id; private String code; } public class Product { private int id; private String code; private Map |
5. create criteria with component field (Agregate) forum.hibernate.orgI try use criteria to search with component field. example class House public class House { private int id; private String ower; private Adress adress; getter.... setter..... } class Adress public class Adress{ private String street; private String city; } My House table SCM_HOUSE ID int OWER varchar2(50) STREET varchar2(50) CITY varchar2(30) House.hbm.xml |
6. Hibernate fails to track changes to component fields? forum.hibernate.orgAuthor Message Solf Post subject: Hibernate fails to track changes to component fields? Posted: Mon Mar 05, 2007 8:09 am Newbie Joined: Mon Apr 25, 2005 9:18 am Posts: 3 I have simple Money object that is mapped as component (@Embeddable) inside simple Account object. The problem I'm experiencing is that Hibernate fails to properly track changes made to ... |
7. Mapping a component with array type field causes NPE forum.hibernate.orgjava.lang.NullPointerException at org.hibernate.engine.Collections.processReachableCollection(Collections.java:147) at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:37) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:101) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:61) at org.hibernate.event.def.AbstractVisitor.processValues(AbstractVisitor.java:40) at org.hibernate.event.def.AbstractVisitor.processComponent(AbstractVisitor.java:82) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:107) at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:61) at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:55) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:131) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196) ... |