db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter riegersperger <r...@subnet.at>
Subject Re: Saving a tree
Date Thu, 15 May 2003 08:19:15 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 15 May 2003 10:08, Remke Rutgers wrote:
> Hi Malte,
>
> My guess is that your property PreviousExpiryDataItemID is an int in your
> Torque objects (primitive type, not an object type). Since there is no null
> concept for the primitive types, I think there is no way to have Torque
> save this property as null. I think it will work if you use object Integer
> types in your Torque objects. (I don't know the exact syntax in the schema,
> but that should be easy to find in the docs)

http://db.apache.org/torque/schema-reference.html

<database defaultJavaType="object">

but i'm not sure if that will work (i think i remember that torque will still 
try to insert a '0', but i can be wrong)

peter


- -- 
|-
| peter riegersperger  <rick@subnet.at>
|-
| subnet
| platform for media art and experimental technologies
|-
| http://www.subnet.at/
|-
| muehlbacherhofweg 5 // 5020 salzburg // austria
|-
| fon/fax +43/662/842 897
|- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+w02DIMP39JYOy9IRAhmlAKCCJ+QKRuFTRtATy7cYjqec5ufHIwCeKG4v
1DPDXqcV2QPAZoo0EI1Aiec=
=QG+V
-----END PGP SIGNATURE-----


Mime
View raw message