Yes, it should.

Aaron

On Wed, 8 Nov 2000, Shahar Solomianik wrote:
> Hi Aaron
> does new beta-prod-4 includes those changes you have checked into the cvs ?
> (.i.e , should i download the binaries and try again ?)
> 
> Shahar.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Mulder
> Sent: Monday, November 06, 2000 7:07 PM
> To: jBoss
> Subject: Re: [jBoss-User] CLOB field in CMP entity
> 
> 
>       We had never tried CLOBs before.  I just checked a change in to
> CVS that should enable you to read a CLOB if you're looking for a
> String.  So make the variable a String, and see if JAWS can read
> it.  You may want to try once without any specific entry in jaws.xml for
> the field (it should be declared in ejb-jar.xml, of course), and if that
> doesn't work, add a cmp-field entry with the sql-type CLOB and the
> jdbc-type VARCHAR, and if that doesn't work try the jdbc-type CLOB.
>       There may still be writing problems, but we'll take this one step
> at a time.  If you do have further problems, please send a complete stack
> trace as that will be much easier to work with.  Also, you could just send
> me your bean class if you like, which would eliminate some of the
> turnaround... :)
> 
> Aaron
> 
> On Mon, 6 Nov 2000, Shahar wrote:
> > Hi jBoss users !
> >
> > My problem is as follows :
> >
> > I have an Oracle 8.1.6 table :
> >
> > (myID               NUMBER,
> > myName      VARCHAR2(100),
> > myOpinion   CLOB)
> >
> > I want to represent a row in this table as an entity-bean.
> > I want to make it a CMP entity-bean.
> >
> > I would like to refer to myOpinion filed as a java.lang.String.
> > i.e. ,I would like to be able to code this in the remote interface:
> >
> > public void setMyOpinion(java.langString myOpinion) throws
> RemoteException;
> > public java.lang.String getMyOpinion() throws RemoteException;
> >
> > I would also like the create method to have the following signature:
> > (int myID,String myName,String myOpinion)
> >
> > Can I have jBoss manage the CLOB field persistance ?
> > Can I declare the field as java.lang.String ?
> > How should my jaws.xml look like for this field ?
> > Should I map java.lang.String to jdbc-type CLOB ? or do something else ?
> > I have tried many combinations of type declaring, mapping and coding, but
> > each failed.
> > Should I assume jBoss doesnt support CLOB CMP-fileds ???
> >
> > Please help, Shahar.
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > 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]
> 



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

Reply via email to