In case of using annotation @OneToMany(mappedBy="order",cascade=CascadeType.ALL, fetch=FetchType.EAGER), the ear deployment broken.
To work around this problem, remove the fetch=FetchType.EAGER
or
Use either: Set or List with an explicit @IndexColumn, rather than a bag semantic collection like Collection.
@IndexColumn is an hibernate annotation
No comments:
Post a Comment