> -----Original Message----- > From: Marc Lustig [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 15, 2002 3:47 PM > To: Turbine Users List > Subject: AW: more patches to Extending User update (was AW: > Documentation update) > >
<snip> > > > since the Base* classes expect int values, not Integer. > > > > This is caused by the javaType of you extended user table > definition. > > I set the defaultJavaType in my database tag to "object". > I think you > > are using "primitive" which is the default. I use the > other setting > > simply because it is impossible to have a field defined as > an int with > > a null value. The same is true for other data types as well. > > That's interesting to know. What is the exact xml-syntax? > Is it specified in the database-element like this? > <database defaultJavaType="object"> > Is it possible to specifiy this for each table individually? > Probably this would cause trouble with TurbineUserAdapter. > You are correct with the syntax. For the table it is javaType="object". The code given in the how-to is based on using defaultJavaType="object" for your project. The implementation of TurbineUser in the o.a.t.om.security package is using primatives. > Maybe I will try to change this in my project and get back to Integer. > > > Marc > > > -- > To unsubscribe, e-mail: > <mailto:turbine-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
