Hi Geeks

ATTENTION: Only applies to 2.4 because in 3.0 this
is already fixed.

A while ago I enountered a problem with PostgreSQL
and the support for "java.lang.Boolean".
When I define a PostgreSQL table attribute with
data type "Bool" the mapping in "standardjaws.xml" is
not working.
Therefore I would like to change from:

            <name>PostgreSQL</name>
            <mapping>
                <java-type>java.lang.Boolean</java-type>
                <jdbc-type>TINYINT</jdbc-type>
                <sql-type>INT2</sql-type>
            </mapping>

to:

            <name>PostgreSQL</name>
            <mapping>
                <java-type>java.lang.Boolean</java-type>
                <jdbc-type>CHAR</jdbc-type>
                <sql-type>BOOLEAN</sql-type>
            </mapping>

Any objects ? At least I want to document why using
INT2/TINYINT or BOOL/CHAR etc.

Thanx

xxxxxxxxxxxxxxxxx
Andreas Schaefer
Senior Consultant
JBoss Group, LLC
xxxxxxxxxxxxxxxxx



_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to