bug « HBM « JPA Q&A





1. hbm bug concerning the update order on different tables ?    forum.hibernate.org

Hello, i have a problem concering the order in which update / insert statements on different tables are executed by hibernate. What i do not understand is why hibernate executes statements for insert/update in a different order when i change the fetchmode of my criteria query !! (hibernate 3.0.5) The first criteria is : Code: Criteria crit = session.createCriteria( AwGeschaeft.class ) ...

2. Minor bug in hbm2ddl in Postgres dialect?    forum.hibernate.org

If you map a class named User, it will generate a table named User and Postgres doesn't allow that. The solution is simple: put table="users" in your class definition. Anyway, perhaps the Postgres dialect should be changed in some way to handle that reserved word. Or does hbm2ddl do anything about reserved words? This is all with Hibernate 3.1rc

3. hbm2ddl Tool ConnectionProvider Bug?    forum.hibernate.org

Hello all, This is more aimed at the Hibernate developers. In the SchemaUpdate, SchemaValidate classes, there seems to be a habit of closing the ConnectionProvider (validate() & execute() methods respectively). The effect of this seems to be is that when you use Hibernate in a standalone with a C3P0ConnectionProvider hibernate can no use the provider, complaining it has been closed. Any ...

4. Bug in Hibernate Annotations and hbm2ddl    forum.hibernate.org

Versions: hibernate3.2cr4 hibernate-annotations-3.2cr2 hibernate-tools-3.1.0.beta4 The DDL that is generated via hdm2ddl from the following annotated classes is flawed: Code: @Entity public final class A { private B[] m_b; private long m_pk; @Id public long getPk() { ...