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

SQLs in home methods of EJB 2.0 CMP Beans

 
Sun Rise
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it a good practice to use direct SQL calls using JDBC in ejbHome methods of a EJB 2.0 CMP bean. The EJB specification does not specify anything about this. What are the pros and cons of this approach, any thoughts would be appreciated.
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!