{"action":"opened","issue":{"url":"https://api.github.com/repos/javers/javers/issues/234","labels_url":"https://api.github.com/repos/javers/javers/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/javers/javers/issues/234/comments","events_url":"https://api.github.com/repos/javers/javers/issues/234/events","html_url":"https://github.com/javers/javers/issues/234","id":112581630,"number":234,"title":"ENTITY_INSTANCE_WITH_NULL_ID exception on cascading save of entity with new child","user":{"login":"lukashinsch","id":6161017,"avatar_url":"https://avatars.githubusercontent.com/u/6161017?v=3","gravatar_id":"","url":"https://api.github.com/users/lukashinsch","html_url":"https://github.com/lukashinsch","followers_url":"https://api.github.com/users/lukashinsch/followers","following_url":"https://api.github.com/users/lukashinsch/following{/other_user}","gists_url":"https://api.github.com/users/lukashinsch/gists{/gist_id}","starred_url":"https://api.github.com/users/lukashinsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukashinsch/subscriptions","organizations_url":"https://api.github.com/users/lukashinsch/orgs","repos_url":"https://api.github.com/users/lukashinsch/repos","events_url":"https://api.github.com/users/lukashinsch/events{/privacy}","received_events_url":"https://api.github.com/users/lukashinsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-21T12:55:11Z","updated_at":"2015-10-21T12:55:11Z","closed_at":null,"body":"I'm using javers 1.3.17 with spring integration (spring boot + data jpa)\r\nI have a parent child relationship such as\r\n````\r\n@Entity\r\n@Data\r\n@Builder\r\n@AllArgsConstructor\r\n@NoArgsConstructor\r\npublic class Parent {\r\n\t@Id\r\n\t@GeneratedValue\r\n\tprivate Long id;\r\n\r\n\tprivate String name;\r\n\r\n\t@OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)\r\n\tprivate List<Child> children;\r\n}\r\n\r\n@Entity\r\n@Data\r\n@Builder\r\n@AllArgsConstructor\r\n@NoArgsConstructor\r\npublic class Child {\r\n\t@Id\r\n\t@GeneratedValue\r\n\tprivate Long id;\r\n\r\n\tprivate String name;\r\n}\r\n\r\n````\r\n\r\nWhen I try to save an existing parent (with id) with a newly added child element (without id) I get the ENTITY_INSTANCE_WITH_NULL_ID. Is casading save with new child entities not supported by javers? I can only get it to work by manually persisting each new child before saving the parent (JPA can handle this just fine).\r\n\r\nA full demo project can be found on [github](https://github.com/lukashinsch/javers-relation-demo)"}}