Hi All,

There seems to be some problem with NATIVE and autoIncrement=true (column
level).  Generated MapBuilder seems to set correctly to NATIVE on TableMap.

But when I execute code that utilizes I get the following exception.

org.apache.torque.TorqueException: IdGenerator for table 'RATINGPLANDESC' is null
        at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:838)
        at 
com.combined.bo.BaseRatingPlanDescPeer.doInsert(BaseRatingPlanDescPeer.java:178)
        at 
com.combined.bo.BaseRatingPlanDescPeer.doInsert(BaseRatingPlanDescPeer.java:472)
        at com.combined.bo.BaseRatingPlanDesc.save(BaseRatingPlanDesc.java:266)
        at com.combined.bo.BaseRatingPlanDesc.save(BaseRatingPlanDesc.java:222)
        at com.combined.bo.BaseRatingPlanDesc.save(BaseRatingPlanDesc.java:205)
        at com.combined.WMSDBTest.main(WMSDBTest.java:31)

If I change to ID_TABLE based id generation, then it works fine.

Thanks
Paddy



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to