Hi Arshitha,

I suspect that either you have defined the entity at two places or maybe
previously you had an entity with the same name but with field
HelloHobbyId as "not null".

HTH

Thanks and Regards,
*Aditya Sharma* | Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Aditya Sharma* <https://www.linkedin.com/in/aditya-p-sharma/>



On Mon, Apr 29, 2019 at 3:30 PM Jacques Le Roux <
[email protected]> wrote:

> Hi,
>
> Your message has been moderated.
>
> Please subscribe to the user ML for such questions and then use your email
> client
> See also why here http://ofbiz.apache.org/mailing-lists.html
>
> You will get a better support , it's more fair to share with everybody
> and people can answer you on the ML rather than directly to you
> The wider the audience the better the answers you might get
>
> Also it's more work for moderators who have to accept your messages as
> long as you have not subscribed.
> I'll personally no longer accept them (other moderators still could)
>
> Thanks
>
> Jacques
>
> Le 29/04/2019 à 09:45, Arshitha K M a écrit :
> > hi,
> > I am new to ofbiz. I  met trouble during loading the seed data(hello3),
> >
> > The Following Errors Occurred:
> > ERROR: parsing file: ERROR parsing Entity Xml file:
> > org.xml.sax.SAXException: A transaction error occurred reading
> > data<br/>org.ofbiz.entity.GenericEntityException:
> > org.ofbiz.entity.GenericEntityException:
> > org.ofbiz.entity.GenericEntityException: Error while inserting:
> > [GenericEntity:HelloHobby][createdStamp,2019-04-29
> > 12:59:49.86(java.sql.Timestamp)][createdTxStamp,2019-04-29
> >
> 12:59:49.82(java.sql.Timestamp)][description,Reading(java.lang.String)][helloHobbyId,READING(java.lang.String)][lastUpdatedStamp,2019-04-29
> > 12:59:49.86(java.sql.Timestamp)][lastUpdatedTxStamp,2019-04-29
> > 12:59:49.82(java.sql.Timestamp)] (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_PERSON_ID' cannot accept a NULL
> > value.))
> > the entity i want to load seed data is having only two columns
> HelloHobbyId
> > and Description,i did'nt get that,why error message showing as
> > 'HelloPersonId' cannot accept a null value.
> >
> > I tried to load seed data into another entity HelloPerson and that was
> > successful.
> > Could you please help me to fix the error.
> >
>

Reply via email to