DulcetAirman Feb 23rd, 2017 (edited) 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Owner owner = new Owner("bla", 42);
- int id = owner.getId();
- Foo foo = new Foo(true); // you probably just could pass owner here
- // owner = em.find(Owner.class, id); // try with and without this line
RAW Paste Data