• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deployment of CMP beans created and working in WAS3.5 to WAS4.0.2

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
We have a working enterprise application that uses WAS3.5.4. We have quite a few Entity and session beans. We use DB27.1 database in NT.
However, when i deployed the same application after creating the deployed ear file using the AAT for WAS4.0.2, i get the error from DB2 as
"Trying to insert a null into a NOT NULL column". This happens randomly to all my Entity beans. I am not clear how to solve this problem.
Can any body please suggest a way out of this issue. I did not find any help in the ibm site.
All the columns in all my tables are defined as "Not Null". I am using VAJ4.0 to create my Deployed jar.
Thanks
Sriram
 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
VAge 4.0 deployed code is compliant with EJB 1.0 spec
AAT deployed code is compliant with EJB 1.1 spec.
Does it trigger anything Kyle?
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi SriRam,
I am also using entity beans.
I had not used VAJ at all. If your table name & the EJB name are the same then using the EJBDeploy utility from the DOS command prompt you can generate all the deployable code.
Else I suggest you to use the WebSphere Studio Application Developer (which is a replacement for VAJ). Using this tool you can map the colomns properly (GUI interface).
Regards
Naveen Kumar
 
reply
    Bookmark Topic Watch Topic
  • New Topic