This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Websphere 7 and OpenJPA

 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic