Gavin King
Gavin King
The specification does not clearly say whether I can usefully declare a `@Qualfier` type like this: ```java @Qualifier @Retention(RUNTIME) @Target({TYPE, TYPE_USE}) public @interface Special {} ``` To be clear, it...
I've recently been trying out Spring for the first time, in order to get Hibernate Data Repositories working with it. To my surprise, Spring's support for dependency injection is on...
I would like to add the option of declaring a `DataSource` in `persistence.xml`. Currently, an XML-based `DataSource` declaration is only allowed in `application.xml`, `application-client.xml`, `web.xml`, and `ejb-jar.xml`. Those descriptors are...
This changeset realizes the idea proposed in #864, namely, that it should be possible to declare and configure a `DataSource` in the `persistence xml` file. For example: ```xml My example...
This pull request contains the following changes. - The property `jakarta.persistence.schema-generation.create-database-schemas` is defined to be usable "in Java SE" as well is in Jakarta EE in the text of the...
The spec defines a large number of configuration properties, which are spread out over three different sections. In #862 I'm trying to resolve some inconsistencies between these lists. One issue...
This change introduces: - a way to declare a Java `module` as defining a persistence unit (or "persistence archive" in language we were using early on), that is, a package...
This pull request contains a raft of changes to improve the readability and understandability of the spec. It focuses on important parts of ch2 and ch11. A future pull request...
Redo of #719 fixes #718 Please see the description of what this does in comments on #718
Competes with #842 This one: - Adds `ofType()` and `withEntityGraph()` to Query, because they're nice. - Deprecates `getResultList()` and `getResultStream()` on Query. - Adds a new method `getResults()` returning `List`...