You cannot use Connection.commit() API, but you can use standard EJB methodologies in accomplishing the same thing.
-- -AP_ http://www.myprofiles.com/member/profile/apara_personal http://www.myprofiles.com/member/profile/apara_business
Xie, Jinpeng wrote:
In Oracle database, if I want to insert or update LOB, I have to use Connection.setCommit(false); ResultSet resultSet = Statement.executeQuery("select ... for update"); Blob blob = resultSet.getBlob(); InputStream inputStream = blob.getInputStream(); ...
Connection.commit();
How do I implement the above code in ejb because I can not run any setCommit() or commit() in ejb container?
Jim
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
-- -AP_ http://www.myprofiles.com/member/profile/apara_personal http://www.myprofiles.com/member/profile/apara_business
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
