persistence
persistence copied to clipboard
At the moment, it is not possible to have null @Embedded objects in JPA (while Hibernate, etc allow it). This is quite a common scenario in most domain models that...
I just found out that the following leads to different results in EclipseLink and Hibernate. And I can't decide from looking at the Spec which is the correct behavior: ```java...
It is unclear in section 9.4 of the JPA 2.1 spec whether data is written to e.g. the javax.persistence.schema-generation.scripts.drop-target before reading from javax.persistence.schema-generation.drop-script-source and executing changes or the other way...
It seems unclear in the JPA 2.1 specification whether files specified in the javax.persistence.schema-generation.scripts.drop-target and javax.persistence.schema-generation.scripts.create-target properties are expected to overwrite an existing version of such a file or to...
#### Environment Environment1: java7u80, wildfly 8.2.0.Final, wildfly-jpa-8.2.0.Final, hibernate 4.3.7.Final, weld 2.2.6.Final, wildfly-ejb3 8.2.0.Final, extended-persistence inheritance = DEEP(default) Environment2: java8u77, wildfly 10.0.0.Final, wildfly-jpa-10.0.0.Final, hibernate 5.0.7.Final, weld 2.3.2.Final, wildfly-ejb3 10.0.0.Final, extended-persistence inheritance...
BindableType has three values SINGULAR_ATTRIBUTE, PLURAL_ATTRIBUTE, ENTITY_TYPE. For an entity like this: ``` class User { private User manager; } ``` The lookup of the bindable type for the manager...
I propose the spec add the capability to load multiple entities by id at one time (multi-load). Many use cases require loading multiple entities at once. Querying could definitely be...
I propose the spec adds the ability to load by an entity's natural-id, if it has one. In terms of the actual load, this could be handled by a Query...
Standardise hibernate.globally_quoted_identifiers, because when we create Java classes, we should not care about reserved SQL keywords. Example: we can't create Release named class (or @Entity(name="Release") ) if we use MySQL...
Invocations of custom functions are currently not supported in join paths. What I would like to do is something like this (currently I am getting an syntax exception what is...