>
>
> thanks for your help
>
> i am trying to take input from form for entity HelloHobby by calling
> simple
> method
>
> here is simple method code
> <simple-method short-description="create a hooby"
> method-name="createHobby"
> login-required="false">
> <make-value entity-name="HelloHobby"
> value-name="newEntity"></make-value>
> <sequenced-id-to-env sequence-name="HelloHobby"
> env-name="helloHobbyId"></sequenced-id-to-env>
>
> <set-pk-fields value-name="newEntity"
> map-name="parameters"></set-pk-fields>
> <set-nonpk-fields value-name="newEntity"
> map-name="parameters"></set-nonpk-fields>
> <create-value value-name="newEntity"></create-value>
>
> </simple-method>
>
>
> when i press submit i got following error
>
>
> (SQL Exception while executing the following:INSERT INTO OFBIZ.HELLO_HOBBY
> (HELLO_HOBBY_ID, DESCRIPTION, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP,
> CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?) (Column
> 'HELLO_HOBBY_ID' cannot accept a NULL value.)))
> --
> View this message in context:
>
http://www.nabble.com/error-tf3877188.html#a10986385> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>