From: | "Nortje, Jacques" <JacquesN2(at)siemens(dot)co(dot)za> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | boolean type |
Date: | 2002-03-04 09:26:39 |
Message-ID: | FCB914ECE16DD4119A010800062793AD039971A3@sietel.siemens.co.za |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
I use the Java EJB2.0 standards for creating entitiy beans which are
persisted to a PostGreSQL database by the container. I create an entity
bean with a boolean attirbute with value 'true'. In the database the record
is inserted and the field value is set to 1. When I retrieve the entity bean
attributes with a findByPrimaryKey() finder method, the getAttribute()
result is 'false' for the inserted 'true' value. Is this a type
mapping/conversion setting that needs to be set for the application server
(JBoss 3.0-alpha) or how can I solve this problem ?
Thanks and regards.
Jacques Nortjé
Technology Development : MIT
Siemens Telecommunications (Pty) Ltd
Waltloo
South Africa
0184
Tel: +27 12 352 5258
Fax: +27 12 352 5775
Mailto: JacquesN2(at)Siemens(dot)co(dot)za
From | Date | Subject | |
---|---|---|---|
Next Message | Nortje, Jacques | 2002-03-04 09:39:38 | FW: boolean type |
Previous Message | Chantal Ackermann | 2002-03-04 08:43:54 | Re: Postgress 7.2 and j2sdk 1.4.0 |