Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1.2
I have an hibernate entity DAO object, which has lots of properties set to null, and a primary key has been allocated through its constructor. Is there any way to persist it to a DB row and set all of the null fields to "initialize on demand", *
WITHOUT calling the database*?
I'm using a DAO as its own query return bean, and the above problem is holding me back from constructing queries that return partially populated DAO's! (using reflection and varArgs in super constructors etc)
Thanks guys!
-Adam