I am trying to do an insert using :
Criteria crit = new Criteria();
crit.add(EventPeer.EVNT_EVTY_ID,"1");
Object o = EventPeer.doInsert(crit);
But I get a "java.lang.nullPointerException" and this is what I get
when I print out the Criteria object:
Criteria:: event.EVNT_EVTY_ID<=>(event.EVNT_EVTY_ID='1'):
Current Query SQL (may not be complete or applicable): SELECT FROM
event WHERE (event.EVNT_EVTY_ID='1')
I understand that this a select statement but I am following the
directions from the turbine site under "working with peers" for doing
inserts am I doing this correctly?
Thanks,
Brian