posted 15 years ago
Hi
I have been developing an application under Glassfish for the past few weeks, but have recently decided to change to Websphere 7.
But when I deplyed my app, whilst everthing seemed fine, I have found that when I INSERT into a table, whilst teh app creates a new row, it is populating all the fields with 'NULL', even though the values of the properties are in the DAO right upto the em.persist(dao) line.
Some looking into it and I have seen that under Glassfish I was using Toplink for my JPA but WAS7 seems to use OpenJPA.
I have tried to get this working but still I just get the same NULL value rows, I have included my persistence.xml and DAO for viewing and was hoping someone could tell me where I'm going wrong, is it the XML, DAO or are there JARs I need?
Cheers
KS