Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Reference in an Embeddable

Hello,

is it possible to put a reference in a an @Embeddable like this:

@Embeddable public class A {
...
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name="packing_id", nullable=false)
	private Packing pack;
}

Kind Regards, Michael


Back to the top