• Post Reply Bookmark Topic Watch Topic
  • New Topic

Entity EJB trim space in Database!

 
Ono Kenji
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in use Entity EJB select for update,
data include whitespace is trim in Database!
Why data is update without permission!?
<environment>
in Entity EJB CMP 2.0
Websphere 4.0.4
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I THINK I understand what you're asking. So, what is happening is that you have a CMP EJB (1.1 -- 2.0 is not implemented in WAS 4) that is updating your database even though you've not sent any "set" methods, right? The reason for that is probably that you did not set your "getter" methods to be "read-only" in the WSAD EJB Extension Editor or the AAT. That will prevent this problem from occuring.
Kyle
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!