I have a user account unit that maps to the country unit. Country mapping in the UserAccount class is like this
@ManyToOne (fetch = FetchType.EAGER) @ ft (FetchMode.JOIN) @JoinColumn (name = "f_country_id", nullable = true, insertable = false, updateable = false) Private country country; Even fetchmode has been defined, join, hibernate, selects a different SQL to bring the countries.
Please help.
remove fetch = fetchType.EAGER. Cascading triggers the selected details for curious induction.
Comments
Post a Comment