Hi marc.
Sorry, but I didnt understand what you mean ...
can you be more specific ?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
Sent: Thursday, November 16, 2000 9:29 PM
To: jBoss
Subject: RE: [jBoss-User] mixed CMP/BMP transaction




|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Shahar Solomianik
|Sent: Thursday, November 16, 2000 4:18 AM
|To: 'jBoss'
|Subject: RE: [jBoss-User] mixed CMP/BMP transaction
|
|
|Hi marc.
|Everything works fine now.
|I work with minerva and not directly with Oracle.
|I succeeded to insert/update CLOB through
|PreparedStatement.setCharacterStream().
|I have no idea how it worked since Oracle require an empty_clob() in the
|insert statement and than updating the clob using select and
|updating stream
|OracleResultSet.getCLOB(...).getCharacterOutputStream.

declare the data mapping type for jaws and work on jaws if needed with the
above line in the "clob" read stuff
couple of lines

marc

|
|any idea of how to make it a CMP bean ?
|(it seems CMP would have to generate getClob().getCharacterStream() for
|reading
|and PreparedStatemnt.setCharacterStream for insert/update)
|
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
|Sent: Wednesday, November 15, 2000 7:09 PM
|To: jBoss
|Subject: RE: [jBoss-User] mixed CMP/BMP transaction
|
|
|seems  funny... seems also Oracle specific?
|
|1- can you try the BMP by himself.  (does the Aaron code on BMP with Oracle
|work properly, I assume yes since that is part of jbosstest)
|2- do you have one transaction for the whole operation ?  cmp1, cmp2 and
|bmp1 are all part of the same transaction, in which case itis the
|propagation and set of Oracle tx that is funky in the XA pool (get
|connection enrolls a tx)
|3- what are your xml settings for tx, try setting "requires new" for these
|finders and see if that works
|
|marc
|
|
|
|
|--
|--------------------------------------------------------------
|To subscribe:        [EMAIL PROTECTED]
|To unsubscribe:      [EMAIL PROTECTED]
|Problems?:           [EMAIL PROTECTED]
|
|



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to