You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Sez <se...@yahoo.es> on 2005/01/04 14:57:27 UTC

Foreign Key with BigDecimal

I have a error with this line
 tMap.addForeignKey(
                "USER.EMPRESA", new BigDecimal(0) , "PMEMPR" ,
                "P7CIAS");

I receive this error
	java.lang.NoSuchMethodError: java.math.BigDecimal.(I)V

type does not implemented constructor with signature
java.math.BigDecimal.(I)V

I work with torque 3.1. If i change the constructor with new BigDecimal(new
java.math.BigInteger("0")) goes well.

Also, recently, I changed java 1.4 to java 5.0... It can be the problem


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org