Bug « Property « JPA Q&A





1. property-ref bug?    forum.hibernate.org

Hi, I have some problems with property-refs and composite-ids. It's rather hard to explain, but I'll give it a shot :) I have some class A with a composite-id and another object B with a many-to-one relationship to A. The table in the database where object B is persisted into, has a foreign key to a column of the table where ...

2. Is it forbidden to name property to 'unique' or is it a bug?    forum.hibernate.org

Hi ! I had named a boolean property in my entity to 'unique'. I did set 'hibernate.hbm2ddl.auto' property to 'create' but Hibernate silently did not create a table for this entity. I tried out setting one property after another to transient and finally it turned out, that if i rename the property 'unique' to 'unikue' it works fine. I am using ...