Thanks gain Antonio! 
Phil

On Mon, 2004-03-08 at 17:01, Antonio Gallardo wrote:
> Hi Again ;-)
> 
> Use BIT in the repository.xml:
> 
> <field-descriptor name="remember" column="REMEMBER" jdbc-type="BIT"/>
> 
> Best Regards,
> 
> Antonio Gallardo
> 
> 
> Philippe Guillard dijo:
> > I don't know how to use boolean type in JDO, and i'm new there, if
> > somebody can help...It seems boolean is supported?
> >
> > - I use cocoon and downloaded jdo/jdori.jar from SUN
> > - In my descriptor/repository file :
> > <field-descriptor name="remember" column="REMEMBER"
> > jdbc-type="BOOLEAN"/>
> > - In java code i tried to declare Boolean and boolean
> > - In mysql, my column type is bool wich means tinyint(1)
> > - I use jdvc driver mysql-connector-java-3.0.10-stable-bin.jar
> >
> > The error is (apart from PK id=0 which is solved next lines in my code):
> > org.apache.ojb.jdori.sql.OjbStoreFatalInternalException:
> > org.apache.ojb.jdori.sql.OjbStoreManager.insert NestedThrowables:
> > org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> > insert object data for class
> > org.apache.cocoon.ojb.samples.bean.Register, PK of the given object is [
> > id=0], object was [EMAIL PROTECTED],
> > exception message is [Unknown Types value]
> >
> > Regards,
> >
> > Phil
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to