• 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

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?


Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!