>> Can you not just set the property to null in the entity?
Ok, you're saying you have null properties in the entity, but there is real data in the database? How are you loading the entity? The entity should be loaded from the database, right? So, my questions then would be 'why are the properties in the entity null, if they have real values in the database?'
Where are these annoying nulls coming from?
_________________ Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?" http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials
|