Hi Daniel,
> Hi Sarav,
>
> > Use this attribute in the database tag.
> > defaultJavaType="object"
>
> thank you very much. I would prefer primitives for my numbers,
> especially the ids, but that is o.k. for me. Everything works,
> with one exception:
>
> I have a foreign key that is "NOT NU
Hi Sarav,
> Use this attribute in the database tag.
> defaultJavaType="object"
thank you very much. I would prefer primitives for my numbers,
especially the ids, but that is o.k. for me. Everything works,
with one exception:
I have a foreign key that is "NOT NULL", but has a default value.
An
CTED]
> Sent: Monday, December 06, 2004 7:22 AM
> To: Apache Torque Users List
> Subject: Torque tries to insert 0 into nullable Foreign Key
>
>
> Hello list,
>
> one more question:
>
> I have a schema with nullable foreign keys of type "INTEGER".
> When sa
he Torque Users List
Subject: Torque tries to insert 0 into nullable Foreign Key
Hello list,
one more question:
I have a schema with nullable foreign keys of type "INTEGER".
When saving a new object, Torque's buildCriteria method inserts
0 as the according column's value, what
Hi Thomas,
thanks for the quick answer (as usual ;-)
> I had the same problem before, and as I needed a quick solution, I
> used string foreign keys instead (String foreign keys can be null). I
> will open a scarab issue on this problem.
my quick workaround:
I have overridden and copied "buildC
Hi Daniel,
I had the same problem before, and as I needed a quick solution, I used
string foreign keys instead (String foreign keys can be null). I will open
a scarab issue on this problem.
Thomas
"Vitzethum, Daniel" <[EMAIL PROTECTED]> schrieb am 06.12.2004
13:22:17:
> Hello list,
>
>
Hello list,
one more question:
I have a schema with nullable foreign keys of type "INTEGER".
When saving a new object, Torque's buildCriteria method inserts
0 as the according column's value, what is wrong as it should be
null. Even defaults in DB don't work therefore.
My Oracle DB refuses to in