Field 'id' doesn't have a default value

I want to write a CDT parent with CDT child (nested) in database. I have activated foreign key and it still shows me the following error message:

 

An error occurred while trying to write to the entity "provider" [id = 48335b48-1597-4c79-bc45-5562b8684918 @ 45646, type = DEMO_CDT_Data_Provider 
(id = 6072)] (data store: CDT_PROVEEDOR_BBDD). Details: org.hibernate.exception.GenericJDBCException: could not insert: [GLBDT6313Address]:
java.sql.SQLException: Field 'id' does not have a default value Data: TypedValue [it = 6072, v = {<null>, 11111111D, 11111111D ,,,,,,,,,, <null> ,,,
11111111D, 11111111D ,, {Bank, sa22}, {Billing, street, 321.22233, mad, New York, USA, 2wqea ,, <null >}, <null>, <null>}]

 

 

any ideas?

  Discussion posts and replies are publicly visible