nullable « Key « JPA Q&A





1. Hibernate2 one-to-many non-nullable foreign key    forum.hibernate.org

Running into a problem documented in the reference documentation but with a slight difference. Hoping someone can point me in the right direction! Chapter 6 warning: Very Important Note: If the column of a association is declared NOT NULL, Hibernate may cause constraint violations when it creates or updates the association. To prevent this problem, you must use a ...

2. Nullable foreign key and hibernate get method issue    forum.hibernate.org

Hi, I am getting a null object from the get method of the hibernate session class. Code: hibSession = getSession(); retval = hibSession.get( getPojoObj().getClass(), pk); Before presenting the problem, ...

3. One-Many Requiring Nullable Foreign Key    forum.hibernate.org