• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Is updating data allowed using ejbPostCreate()

Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My name is Sudeep and I know you first by your Head First approach with EJB.
First of all Wish u a Very Happy NEW YEAR 2004.
I have got stuck with a very simple problem... pls help me out.
I am using Weblogic 7.0 with Oracle 9i. Trying to insert a row of data which has two values an "integer" and another "clob". There is an issue with Weblogic handling "Clob" using CMPs.
A data in clob can be easily inserted using BMP beans using PreaparedStatement.
As CMP's don't allow me to add data into database from ejbCreate() using SQL statements. I am trying to write the statements inside the ejbPostCreate().
Now my question is. As we already know that ejbPostCreate() runs under the same transaction as ejbCreate(). Will be it valid to enter data using SQL Statements ejbPostCreate().
    Bookmark Topic Watch Topic
  • New Topic