Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using CMP entity bean with stored procedure?

 
John King
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can we use cmp with stroed procedures? Which server (version) supports
it? WLS, WAS?
 
Valentin Tanase
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,

I cannot give you a certain answer, but from my experience with weblogic I�ll tell you that this is rather impossible. If you want to access your stored procedures from your ejbs, than you rather use a SLSB that uses straight jdbc to invoke the SP. As a rule of thumb you should also remember that stored procedure should be used only when necessary. On the other hand the result of mixing the transaction logic in your ejbs, as well as the stored procedures is highly unpredictable.
Regards.
 
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!