Top "Composite-id" questions

JPA - Criteria API and EmbeddedId

I want to use criteria to make the following query. I have an Entity with EmbeddedId defined: @Entity @Table(name="…

jpa jpa-2.0 criteria-api composite-id
Composite Key/Id Mapping with NHibernate

I have the following tables in my database: Announcements: - AnnouncementID (PK) - Title AnouncementsRead (composite PK on AnnouncementID and …

nhibernate fluent-nhibernate nhibernate-mapping composite-key composite-id
Jpa composite key nullable columns

I'm using Hibernate's JPA impl to model some tables. I'm having trouble mapping a table that: Has no primary key …

java hibernate jpa composite-id
Fluent NHibernate compositeid to mapped class

I'm trying to figure out how to use CompositeId to map another class. Here's a test case: The tables: TestParent: …

nhibernate fluent-nhibernate nhibernate-mapping mapping composite-id
Fluent NHibernate mapping a composite ID from inherited composite IDs

Let's say I have an existing database with the following 3 tables: Table1: (PK)T1ID1 (PK)T1ID2 Table2: (PK)…

inheritance fluent-nhibernate nhibernate-mapping composite-key composite-id