Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented Persistence.createEntityManagerFactory(PersistenceConfiguration) #8

Closed
wants to merge 25 commits into from

Commits on Sep 14, 2023

  1. Jakarta Persistence 3.2 new feature - JPQL UNION, INTERSECT, EXCEPT, …

    …CAST (eclipse-ee4j#1937)
    
    This change doesn't create anything new as specified operators/functions were already specified as a part of EclipseLink JPQL extensions from 2.4 version.
    There is refactoring/movement of affected code related with `org.eclipse.persistence.jpa.jpql.parser.CastExpression`, `org.eclipse.persistence.jpa.jpql.parser.DatabaseType`, `org.eclipse.persistence.jpa.jpql.parser.UnionClause` from `EclipseLink...` classes to default JPQL classes.
    Due this movement all specified operators/functions are available from Jakarta Persistence/JPQL Grammar 3.2 and still from EclipseLink JPQL extensions 2.4.
    
    EclipseLink issue is described at eclipse-ee4j#1885 and Jakarta Persistence specification request at the jakartaee/persistence#395 (cast) and jakartaee/persistence#398 (union, intersect, and except)
    
    Signed-off-by: Radek Felcman <[email protected]>
    rfelcman authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    f7070a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Fixed build issues with JPA API 3.2

    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    f24afd7 View commit details
    Browse the repository at this point in the history
  2. JPA eclipse-ee4j#442 - Overload where(), having(), concat(), and() an…

    …d or() to accept List.
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    6d4ba8d View commit details
    Browse the repository at this point in the history
  3. JPA eclipse-ee4j#430 - Fix signatures of operations of entity graphs

    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    ed06d2d View commit details
    Browse the repository at this point in the history
  4. JPA eclipse-ee4j#441 - Pull getParameters() up from CriteriaQuery to …

    …CommonAbstractCriteria
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    c89e4b5 View commit details
    Browse the repository at this point in the history
  5. Fixed build issues with JPA API 3.2

    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    f1fb9f6 View commit details
    Browse the repository at this point in the history
  6. JPA eclipse-ee4j#414 - Add EntityManagerFactory.runInTransaction()/ca…

    …llInTransaction()
    
    JPA eclipse-ee4j#433 - Add EntityManager.runWithConnection()/callWithConnection()
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    1f2fc14 View commit details
    Browse the repository at this point in the history
  7. Fixed build issues with JPA API 3.2

    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Sep 20, 2023
    Configuration menu
    Copy the full SHA
    82ffef8 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. GitHub Actions JDK fix (eclipse-ee4j#1952)

    Signed-off-by: Radek Felcman <[email protected]>
    rfelcman authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    fddaf56 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Duplicate objects in UnitOfWorkImpl.primaryKeyToNewObjects (eclipse-e…

    …e4j#1951)
    
    * Fixes eclipse-ee4j#1950: Duplicate objects in UnitOfWorkImpl.primaryKeyToNewObjects
    - no longer add objects to primaryKeyToNewObjects in assignSequenceNumber
    - use IdentityHashSet instead of ArrayList for primaryKeyToNewObjects to prevent duplicates in the future
    
    Signed-off-by: Patrick Schmitt <[email protected]>
    Zuplyx authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ad93f7a View commit details
    Browse the repository at this point in the history
  2. JPA Test Advanced fix (eclipse-ee4j#1955)

    It seems, that after transformation from jpa.test to jpa.testapps EntityManagerJUnitTestSuite from jpa.testapps.advanced was excluded from the execution.
    This change returns this suite back.
    
    Signed-off-by: Radek Felcman <[email protected]>
    rfelcman authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    676506b View commit details
    Browse the repository at this point in the history
  3. avoid unnecessarry reflection calls,

    improve codegen to handle Map related mappings
    
    Signed-off-by: Lukas Jungmann <[email protected]>
    lukasj committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ba8b71e View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    610b9d2 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Issue 1957: Presize HashMap allocations in UnitOfWorkImpl (eclipse-ee…

    …4j#1958)
    
    add initial size to map creation where expected size is known or can be estimated
    
    Signed-off-by: Patrick Schmitt <[email protected]>
    Zuplyx authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    c5f1a83 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. ASM version upgrade to 9.6 (JDK 22 ready) (eclipse-ee4j#1963)

    Signed-off-by: Radek Felcman <[email protected]>
    rfelcman authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    d5b1cbe View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Configuration menu
    Copy the full SHA
    d02ecb8 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. jakartaee/persistence#465 - Add PersistenceConfiguration

    jakartaee/persistence#482 - Improvements to PersistenceConfiguration
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    e9fe59b View commit details
    Browse the repository at this point in the history
  2. jakartaee/persistence#454 - introduce FindOption interface and new ov…

    …erloads of EM.find()
    
     * implemented public <T> T find(Class<T> entityClass, Object primaryKey, FindOption... options)
     * added FindOption processing for JPA API enums, Timeout class was not added yet
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    2b5bf90 View commit details
    Browse the repository at this point in the history
  3. jakartaee/persistence#440 - add support for 'nulls first' and 'nulls …

    …last' in queries
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    c899623 View commit details
    Browse the repository at this point in the history
  4. jakartaee/persistence#417 - Add left(), right(), and replace() functi…

    …ons to JPQL/criteria
    
    jakartaee/persistence#356 - Add extract() to CriteriaBuilder
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    eada175 View commit details
    Browse the repository at this point in the history
  5. jakartaee/persistence#384 - add Query.getSingleResultOrNull()

    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    e37eb04 View commit details
    Browse the repository at this point in the history
  6. jakartaee/persistence#395 - JPQL cast() function

    jakartaee/persistence#438 - add Expression.equalTo() and Expression.notEqualTo()
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    1c38e0f View commit details
    Browse the repository at this point in the history
  7. Code cleanup: generics and warnings removal

    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus authored and lukasj committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    5b39993 View commit details
    Browse the repository at this point in the history
  8. OptimisticLockException does not give any details if batch is active (e…

    …clipse-ee4j#1936)
    
    * Fix for bug 35468915
    Signed-off-by: Vaibhav Vishal <[email protected]>
    vavishal authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    ae7f32c View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. jakartaee/persistence#454 - introduce FindOption interface and new ov…

    …erloads of EM.find()
    
    jakartaee/persistence#467 - add joins to entity types (range variables)
    
    Signed-off-by: Tomáš Kraus <[email protected]>
    Tomas-Kraus committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    d24cba0 View commit details
    Browse the repository at this point in the history