I\'ve got a following Java class which is also a Hibernate entity:
@Entity @Table(name = \"category\") public class Category { @ManyToOne @JoinColumn(na
You can define lazy init
@ManyToOne(fetch=FetchType.LAZY)
guess the column is nullable so it's not a problem to save the Category without parent (root)