null « POJO « JPA Q&A

1. POJO Date property set to null ends up set to 1969-12-31

What is the correct way to set a Date property to null such that both Java and SQL will treat/see it as null. Thanks in advance - Richard Hibernate version: 2.1.8 Mapping documents: Code: ...

2. Why the is the value resetted to null in my POJO ?

Beginner Joined: Wed Mar 30, 2005 5:41 am Posts: 40 Hibernate version: 3.0 Mapping documents: Worker.hbm.xml ------------------- Code:

3. POJO List method returning null objects

Newbie Joined: Mon Jul 18, 2005 6:57 am Posts: 12 I have a object which is supposed to return a list of Groups that the user is associated to. It is a many to many relationship. I have a USER table, a GROUP table and a USER_GROUPS table. My problem is that the method User.getUserGroups() is returning all the entries in ...