I think the error is in
org.apache.turbine.torque.engine.database.model.column.java.
Should short NOT be included in the if statement in the method below so that
vmethod is left as asShort()?
public String getVillageMethod()
{
String vmethod = TypeMap.getVillageMethod(torqueType);
String jtype = TypeMap.getJavaNative(torqueType);
if ( isPrimaryKey() || isForeignKey() )
{
if ( jtype.equals("short")
|| jtype.equals("int")
|| jtype.equals("long")
|| jtype.equals("byte")
|| jtype.equals("float")
|| jtype.equals("double") )
{
vmethod = "asBigDecimal()";
}
}
return vmethod;
}
Regards
Shaun
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]