Hi,

> If you check the "Type mappings" in the JAWS configuration you will find
> the Oracle mappings. Simply change the int mapping.

This is the content of jaws.xml: (nothing about BigDecimal, but that what it
should be: java.lang.Integer)

        <type-mapping>
         <name>Oracle</name>
         <mapping>
           <java-type>java.lang.Integer</java-type>
           <jdbc-type>INTEGER</jdbc-type>
           <sql-type>INTEGER</sql-type>
         </mapping>
       ...
         <mapping>
           <java-type>java.lang.Boolean</java-type>
           <jdbc-type></jdbc-type>
           <sql-type>BIT</sql-type>
         </mapping>
         <mapping>
           <java-type>java.lang.Short</java-type>
           <jdbc-type>INTEGER</jdbc-type>
           <sql-type>INTEGER</sql-type>
         </mapping>
         <mapping>
           <java-type>java.lang.Long</java-type>
           <jdbc-type>BIGINT</jdbc-type>
           <sql-type>BIGINT</sql-type>
         </mapping>
      </type-mapping>

> Heiko Seebach wrote:
> > Hi, I'm trying to use JBoss (newest CVS) with Oracle and I made a class
> > "mypackage.category.beans.CategoryEntityBean".
> <snip>
>
> If you check the "Type mappings" in the JAWS configuration you will find
> the Oracle mappings. Simply change the int mapping.
>
>

thanks,
Heiko Seebach



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to