-
1. Re: boolean, CMP and EJB-QL
dsundstrom Jun 20, 2002 1:20 PM (in response to rvigniel)This has been fixed in Branch_3_0 and HEAD. True and false mappings are now specified on a per type-mapping basis.
BTW, what is the correct mapping for FireBird?
TRUE=? FALSE=? -
2. Re: boolean, CMP and EJB-QL
rvigniel Jun 21, 2002 4:16 AM (in response to rvigniel)okay thanks
for FireBird, booleans are mapped to SMALLINT, so i suppose true=1, false=0 -
3. Re: boolean, CMP and EJB-QL
dsundstrom Jun 24, 2002 3:57 PM (in response to rvigniel)Can you check? I need a definite answer.
-
4. Re: boolean, CMP and EJB-QL
rvigniel Jun 25, 2002 6:53 AM (in response to rvigniel)for FireBird, TRUE=1 and FALSE=0
for PostgreSQL 7.2, TRUE=true and FALSE=false (i saw it was set to 1/0 in standard mappings) -
5. Re: boolean, CMP and EJB-QL
rvigniel Jun 25, 2002 7:06 AM (in response to rvigniel)for FireBird: TRUE=1, FALSE=0
for PostgreSQL 7.2! TRUE=true, FALSE=false (i saw it was 1/0 in standard mappings) -
6. Re: boolean, CMP and EJB-QL
dsundstrom Jun 25, 2002 1:00 PM (in response to rvigniel)I changed PostgreSQL 7.2 true-mapping to TRUE and false-mapping to FALSE in HEAD and Branch_3_0, but the Interbase mapping was already true=1 and false=0.
-
7. Re: boolean, CMP and EJB-QL
frechdachs Jun 26, 2002 8:34 AM (in response to rvigniel)Hi,
I have the same problem with an Oracle database.
Can you tell me where to configure this?
Can this mapping be defined per ejb-jar file?
(This may sound stupid, but I am new to JBoss. In the config files provided by the installation I could not find a place to configure this.)
Thanks for you help.
Greetings, Andrea -
8. Re: boolean, CMP and EJB-QL
dsundstrom Jun 26, 2002 11:22 AM (in response to rvigniel)This is only in the cvs source. You can either check out the source and build, or you can with for the 3.0.1 release later this week.