Re: Incompatible ID types when using sequence generator

Endre Meckelborg Rognerud <[email protected]> Fri, 01 Apr 2005 10:35:53 +0200
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Daniel Rosenbaum (01.04.2005 00:13):

> Middlegen will use BigDecimal for Oracle numbers that have no bound, 
> since it is unknown how large the number can go.  But if you know the
> limit of your number, you could define the column as a NUMBER(3) or 
> NUMBER(9) or whatever and the HibernateJavaTypeMapper would choose an
> int or Integer.

This works! Thanks :)

-- 
Regards...
Endre Rognerud


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30