1. Error 500: could not initialize a collection in hibernate mapping stackoverflow.com
I am a newbie for Hibernate. Hope you guys can help me debug below error which really make me crazy. I got a table called CONTENT_WORKGROUP which will map to another ...
2. Hibernate mapping problem stackoverflow.com
I'm trying to run simple Hibernate application, but I get this:
3. delete parent and child throwing ORA-02290: check constrain forum.hibernate.org
I am using hibernate annotation . I have a child table which have a unique constrain of parent Id and code(child table). Following mapping in child //bi-directional many-to-one association @ManyToOne @JoinColumn(name = "PARENT_ID") private ParentDO parentDO ; mapping in parent DO // bi-directional many-to-one association to ChildDO @OneToMany(cascade=CascadeType.REMOVE) @JoinColumn(name = "PARENT_ID") When delete only child with one transaction and then parents ...