Skip to content

jakobk/hibernate-jpa-api-async

 
 

Repository files navigation

hibernate-jpa-api-async

Proposal for an asynchronous extension to the JPA 2.1 API, which allows asynchronous, non-blocking database access via JPA.

The main additions include:

  • Method createAsyncEntityManager() in EntityManagerFactory
  • javax.persistence.async.AsyncEntityManager
  • javax.persistence.async.AsyncQuery

This extended JPA 2.1 API is used in the prototype for adding asynchronous database access to Hibernate ORM: https://github.com/jakobk/hibernate-orm-async

#Original README from hibernate-jpa-api

Clean-room definition of JPA APIs intended for transitory use in Hibernate JPA development.

See http://java.net/projects/jpa-spec/downloads for drafts used.

The name of this project (in the Gradle sense) is explicitly set in settings.gradle to include the JPA version in the name. The reason being that we want the name of all uploaded artifacts to include the JPA name; the version is our development version. Keep this in mind moving from one JPA 1.0 to 2.0 or from 2.0 to 2.1 etc.

Legal

Copyright (c) 2008, 2009, 2011 Oracle, Inc. All rights reserved.

This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 which accompanies this distribution. The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html and the Eclipse Distribution License is available at http://www.eclipse.org/org/documents/edl-v10.php.

About

Clean-room definition of JPA APIs intended for transitory use in Hibernate JPA development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%