Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Extremely strange behaviour in my entity beans create method, please help!!

Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Morning all,

Quick roundup :
I have and entity bean(local), with a session facade(remote) over it. My database is DB2 on an as/400.

All my create,delete,update`s off all the other beans are fine. so everything connection wize is working.

Now when i use a specific entity bean(and only this one) :
I write information to the database, the create works perfectly, and all looks fine. But as soon as i write the next record to the database with the following two fields values identical (origin, destination), these two fields in the record above gets set to null.

So the record currently being written is always saved correctly. But as soon as eather of these two fields (origin, dest) have the same value (and only if the value is identical to the record above) the record above seems to loose it`s value.

Now i know i dont have any code to do this in my app. So i have absolutly no idea where to go look for this.

Any ideas???
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try posting your code.
And then the entire population worshiped me like unto a god. Well, me and this tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic