Re: [JBoss-user] Urgent: storing vector in the database

2001-06-22 Thread danch (Dan Christopherson)
[EMAIL PROTECTED] wrote: > Hi! > > >>Since JAWS just uses .equals to check if a field needs to be updated, >>you should be able to write a Collection whose .equals method does a >>'deep' compare. If you do this, remember to implement >>hashCode similarly >>(not really needed by JAWS, but it

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-22 Thread RRokytskyy
Hi! > Since JAWS just uses .equals to check if a field needs to be updated, > you should be able to write a Collection whose .equals method does a > 'deep' compare. If you do this, remember to implement > hashCode similarly > (not really needed by JAWS, but it's always a good practice to have

Re: [JBoss-user] Urgent: storing vector in the database

2001-06-22 Thread danch
[EMAIL PROTECTED] wrote: > Hi, > > >> >>true >>false >>false >>false >>300 >>false >> > > > I would move your false from the > into your that has Vector field. I hardly believe > that you want to switch off tuned updates for _all_ CM

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-22 Thread RRokytskyy
Hi, > >true >false >false >false >300 >false > I would move your false from the into your that has Vector field. I hardly believe that you want to switch off tuned updates for _all_ CMP beans... This is nice feature and works almost all

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Igor Rabinovich
ore java object in the database, which not contains array or vector. Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Allen fogleson Sent: Thursday, June 21, 2001 9:52 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Urgent: storing vector in the data

Re: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Allen fogleson
: Igor Rabinovich <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 11:06 AM Subject: RE: [JBoss-user] Urgent: storing vector in the database > I did not define any new sql type for vector. Vector is java.lang.Object. I > don't have any problems wit

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Igor Rabinovich
What does it mean: switch of the tuned updates for the bean? Where? Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 1:02 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Urgent: storing vector in

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread Igor Rabinovich
bject: Re: [JBoss-user] Urgent: storing vector in the database what sql type are you using? blob? in general I wouldnt serialize a vector to a data table. I would populate a vector (actually probably an array list... ) from sql results. Al - Original Message - From: Igor Rabinovich &l

RE: [JBoss-user] Urgent: storing vector in the database

2001-06-21 Thread RRokytskyy
Hi! > > My entity bean member variable is Vector type. I'm adding > elements to the > > vector and storing in the database. I can load vector and > its element from > > the database. But when I restart Application server I can > load only empty > > vector of size 0. All data get lost. > > > >

Re: [JBoss-user] Urgent: storing vector in the database

2001-06-20 Thread Allen fogleson
what sql type are you using? blob? in general I wouldnt serialize a vector to a data table. I would populate a vector (actually probably an array list... ) from sql results. Al - Original Message - From: Igor Rabinovich <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June