Top "Embeddable" questions

@Embeddable is an annotation used in Java to suggest that a class is stored as an intrinsic part of an owning entity and share the identity of the entity.

JPA / Hibernate OneToMany Mapping, using a composite PrimaryKey

I'm currently struggling with the right mapping annotations for a scenario using a composite Primary Key Class. First, what I …

jpa one-to-many embeddable
Java ETL: hard to find a suitable one

I'm looking for an embeddable Java ETL, i.e., an Extract Transform Load engine that can be called from Java …

java etl embeddable
Can I make an embedded Hibernate entity non-nullable?

What I want: @Embedded(nullable = false) private Direito direito; However, as you know there's no such attribute to @Embeddable. Is …

hibernate nullable embeddable
Foreign key mapping inside Embeddable class

I am using eclipselink for JPA. I have an entity, which has a composite key fabricated out of two fields. …

java jpa entity-relationship composite-key embeddable
Nested embeddable - AttributeOverride for embeddable within embeddable

I have class Money which is an @Embeddable @Embeddable public class Money implements Serializable, Comparable<Money> { @Column(name = "…

hibernate jpa embeddable
hibernate h2 embeddable list expected "identifier"

I'm trying to associate a list of function (whom Embeddable) within my Employee Entity and H2 seems unhappy with this …

java hibernate h2 embeddable
embeddable EJB container of WebSphere 8 can not created - NoClassDefFoundError HpelHelper

I am using the embeddable EJB container of WebSphere 8 to write some unit tests for my EJBs with JUnit4. My …

containers websphere-8 embeddable
Hibernate @Embeddable class which extends another @Embeddable class, Properties not found for @OneToMany mapping

We are translating old xml based configuration to Annotation based configuration Situation There is a class which is annotated as @…

hibernate inheritance extends embeddable
Embeddable and ElementCollection nesting

I have fairly typical scenario where there is a main @Entity and everything inside him is embeddable (so everything inside …

java hibernate jpa embeddable
JPA: Query an embeddable List inside an entity

I am trying to "extract" Embeddable classes based on some criterias from a list in an Entity. Either with the …

java jpa jpql criteria-api embeddable