lvjin wrote:
>
> Hi, all
> I created a table with a primary key of auto-increment value.
> but when excute doInsert(criteria), the following exception were thrown:
>
> java.lang.NullPointerException
> at org.apache.turbine.om.peer.BasePeer.doInsert(BasePeer.java:712)
You need a row in ID_BROKER table for id broker to work during inserts.
Are you sure you have it?
> Who can tell me why? and somtimes the values have been insert into the table,
> but the same exception appears.
Huh? Now that souds really suspicious. It would be great if you could
narrow down the problem somehow...
Rafal
--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]