This content has been marked as final.
Show 1 reply
-
1. Re: BigInteger in finder query (eql, cmp)
a.gerhard Oct 19, 2005 5:21 AM (in response to a.gerhard)Hello Andreas,
it's quite simple.
Search the mapping of your database int the configurationfile standardjbosscmp-jdbc.xml (PostgreSQL 8.0, for example). Then add into the <type-mapping>-section the following lines:<mapping> <java-type>java.math.BigInteger</java-type> <jdbc-type>NUMERIC</jdbc-type> <sql-type>NUMERIC</sql-type> </mapping>
That's all.
Greetings,
Andreas