• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Websphere 7 and OpenJPA

 
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic