 11 | Annotation Element javax.jdo.annotations.Join String primaryKey Name for a generated primary key constraint. Returns: the name of the generated primary key constraint Default value: "" Since: JDO 2.1 |
 11 | Annotation Element javax.jdo.annotations.Join String uniqueKey The name of the unique key constraint to generate. Returns: the name of the unique key constraint Default value: "" Since: JDO 2.1 |
 8 |
SELECT FROM MyEntity e LEFT JOIN e.embeddeds em WHERE ((EmbeddedA)em.get('test')).name = 'TEST ... MyEntity();
entity.getEmbeddeds().put("test", new EmbeddedA);
...
// Try to query using join
From from = criteria.from(MyEntity.class);
MapJoin join = from.joinMap("embeddeds |
 8 | hi, There seems to be an issue with full cross joins & maps. This query:
SELECT $1
FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1
LEFT JOIN $1.qubletFRAGMENTMAP $4 ... values in JOIN has not been implemented and a map was handled as a collection of the first half |
 8 | >, FetchParent, From, Join, Path, PluralJoin,E>, Selection, TupleElement The CollectionJoin interface is the type of the result of joining to a collection ... attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join |
 8 | >, From, Join, Path, PluralJoin,E>, Selection, TupleElement The ListJoin interface is the type of the result of joining to a collection over an association or element ... expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join |
 8 | >, From, Join, Path, PluralJoin,V>, Selection, TupleElement The MapJoin interface is the type of the result of joining to a collection over an association or element ... a fetch join to the specified attribute using an inner join. Create a fetch join to the specified |
 8 | >, From, Join, Path, PluralJoin,E>, Selection, TupleElement The SetJoin interface is the type of the result of joining to a collection over an association or element ... expression of the given type Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join |
 8 | , From, Join, Path, Selection, TupleElement Subinterfaces: CollectionJoin, ListJoin, MapJoin, SetJoin The PluralJoin interface defines functionality that is common to joins ... attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join |
 8 | >, Path, Selection, TupleElement Subinterfaces: CollectionJoin, Join, ListJoin, MapJoin ... , but may also be an embeddable belonging to an entity in the from clause. Serves as a factory for Joins ... Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using |