Class A has a unidirectional many-to-one relationship with Class B. I change a property on a Class A object and persist the object. The log shows SQL update statements called for both A and B. I have no cascade options set on A's @ManyToOne. I do not want any updates to B because it's not logical to do so and it's inefficient. B represents standard, boilerplate data for many A's. Also, it adds no value for B to know about A. No update is appropriate in this context. How do I stop updates to B?
- Superfluous Updates for a @ManyToOne in OpenJPA 1.2.1 Christopher Gardner
- RE: Superfluous Updates for a @ManyToOne in OpenJ... C N Davies
- Re: Superfluous Updates for a @ManyToOne in O... Christopher Gardner
- Re: Superfluous Updates for a @ManyToOne ... Christopher Gardner
- Re: Superfluous Updates for a @ManyTo... Michael Dick
- Re: Superfluous Updates for a @M... Christopher Gardner
- Re: Superfluous Updates for ... Michael Dick
- Re: Superfluous Updates ... Christopher Gardner
- Re: Superfluous Updates ... Christopher Gardner
- Re: Superfluous Updates ... Michael Dick
- Re: Superfluous Updates ... Christopher Gardner