bug « Composite « JPA Q&A





1. Bug? many-to-one inside composite-element is not deleted    forum.hibernate.org

Beginner Joined: Wed Jun 28, 2006 2:24 pm Posts: 29 Location: Brazil Hibernate Version: 3.2 When a composite-element is removed from a set, the relationship many-to-one inside the element is not deleted. This is a bug? Test Case: Mapping: Code: ...

2. Hibernate 3.5.6, Composite key bugs    forum.hibernate.org

Hi, I'd like to report a couple bugs with Composite keys in Hibernate 3.5.6 1) EAGER/JOIN fetch does not supported. 2) Components of a Composite key cannot be used in Criteria, because Hibernate does not create JOIN for them I have 2 beans, one is used a as part of a composite key of the second bean. Full sample (included source ...

3. bug with one-to-many association and composite-id    forum.hibernate.org

Hi, I used Hibernate 2.0.3. I have an exception on the method line 25 : SessionFactory sessions = cfg.buildSessionFactory(); Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException at net.sf.hibernate.sql.OracleJoinFragment.addJoin(OracleJoinFragment.java:25) at net.sf.hibernate.loader.OuterJoinLoader.outerJoins(OuterJoinLoader.java:424) at net.sf.hibernate.loader.AbstractEntityLoader.renderStatement(AbstractEntityLoader.java:47) at net.sf.hibernate.loader.AbstractEntityLoader.renderStatement(AbstractEntityLoader.java:34) at net.sf.hibernate.loader.EntityLoader.(EntityLoader.java:35) at net.sf.hibernate.persister.EntityPersister.postInstantiate(EntityPersister.java:153) at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:223) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:627) at TestSchema.main(TestSchema.java:19) I have an Table with a one-to-many assocaition on a AssociationTable The Table have one primary key The AssociationTable ...

4. composite-id bug ?    forum.hibernate.org

Here is a piece of my mapping file: ...

5. Hibernate Bug - Composite-element read problem    forum.hibernate.org

Hello again, I have the following mappings for a composite-element as a list. I have an Order object and a list of lineitem objects.

6. Bug HibernateToolTask with parent child to composite-element    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.1.0 (Hibernate Tools 3.1.0 beta1) Mapping documents: Code: ...

7. Hibernate bug with unidrectional composite outer join?    forum.hibernate.org

Hibernate version: 3.1 There seems to be a bug with Hibernate's approach to dealing with a unidirectional outer join when using a composite pattern. I have a Composite class, let's call it User, that contains other Users. The table tracks User records across time. So when loading a User row, we wish to also load its subsequent rows. So I would ...

8. Hibernate bug with unidrectional composite outer join?    forum.hibernate.org

Hibernate version: 3.1 There seems to be a bug with Hibernate's approach to dealing with a unidirectional outer join when using a composite pattern. I have a Composite class, let's call it User, that contains other Users. The table tracks User records across time. So when loading a User row, we wish to also load its subsequent rows. So I would ...

9. Hibernate bug with unidrectional composite outer join?    forum.hibernate.org

Hibernate version: 3.1 There seems to be a bug with Hibernate's approach to dealing with a unidirectional outer join when using a composite pattern. I have a Composite class, let's call it User, that contains other Users. The table tracks User records across time. So when loading a User row, we wish to also load its subsequent rows. So I would ...





10. Possible bug with composite id    forum.hibernate.org

Hi, I'm using Hibernate v3.2.0 with Oracle 10 and having trouble with a composite id. I've simplified the code in order to make this readable. I have a simple table with 3 fields, 2 of them compose the primary key. Code: table_test(key_1, key_2, val) So I've created 2 classes, one for mapping the table and one for mapping the key. Code: ...

11. Composite primary key and @Jointable, Bug?    forum.hibernate.org

2007-06-11 09:41:56,058 DEBUG - select listeeleme0_.COD_ETP as COD2_4_, listeeleme0_.COD_VRS_VET as COD3_4_, listeeleme0_.COD_LSE as COD1_4_, listeeleme1_.COD_LSE as COD1_17_0_, listeeleme1_1_.COD_ETP as COD2_18_0_, listeeleme1_1_.COD_VRS_VET as COD3_18_0_, versioneta2_.cod_vrs_vet as cod1_16_1_, versioneta2_.cod_etp as cod2_16_1_, versioneta2_.COD_ETP as COD2_16_1_, versioneta2_.LIB_WEB_VET as LIB3_16_1_, versioneta2_.TEM_ADO as TEM4_16_1_, versioneta2_.TEM_TLS_VET as TEM5_16_1_, versioneta2_.TEM_SES_UNI as TEM6_16_1_, versioneta2_.TEM_RES_VET as TEM7_16_1_, versioneta2_.TEM_PNT_JUR_VET as TEM8_16_1_, versioneta2_.TEM_OPI_MIN_VET as TEM9_16_1_, versioneta2_.TEM_NOT_VET as TEM10_16_1_, versioneta2_.TEM_MND_VET as TEM11_16_1_, versioneta2_.TEM_JUR_VET as ...