Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: SQL updates from SQL prompt not reflected in entity bean


Message #1 by nimoji jagjeevan <nimoji_jeevan@y...> on Sun, 18 Feb 2001 02:17:56 -0800 (PST)
 iam facing a serious problem, iam using weblogic
4.5.1 and oracle thin driver to connect to oracle the
problem is i deployed an entity bean and a statless
session bean and i have a simple java client i the
client iam updating the database by increasing the
value by 400,but after running the client once i go to
the sql prompt and change the value of that particular
field and do a commit and again run the client this
time the changed values in the database or not
reflected, the bean instance is using the previous
values from its cache,even i kept the dbIsshared
property to true, and iam starting a new transction in
the stateless session bean, i want toknow why the
updates made from oracle sql prompt are not reflected
by the bean the ejb load is not called twice when i
run the client two times succesively even iam starting
a new transaction everytime please suggest any
solution for this problem 

  Return to Index