-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
112 changed files
with
787 additions
and
663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
hibernate-core/src/main/java/org/hibernate/action/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later. | ||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. | ||
*/ | ||
|
||
/** | ||
* This package defines the notion of an "action" which is scheduled for | ||
* asynchronous execution by the event listeners. Every action implements | ||
* {@link org.hibernate.action.spi.Executable}. | ||
* <p> | ||
* The {@link org.hibernate.engine.spi.ActionQueue} is responsible for | ||
* scheduling and execution of the actions. | ||
* | ||
* @see org.hibernate.event | ||
*/ | ||
package org.hibernate.action; |
17 changes: 0 additions & 17 deletions
17
hibernate-core/src/main/java/org/hibernate/action/package.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
hibernate-core/src/main/java/org/hibernate/binder/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later | ||
* See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html | ||
*/ | ||
|
||
/** | ||
* This package defines an easy way to extend Hibernate with | ||
* user-defined annotations that define customized O/R mappings | ||
* of annotated entity attributes. | ||
* <p> | ||
* The meta-annotation | ||
* {@link org.hibernate.annotations.AttributeBinderType} | ||
* associates an {@link org.hibernate.binder.AttributeBinder} | ||
* with a user-written annotation. | ||
*/ | ||
package org.hibernate.binder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
hibernate-core/src/main/java/org/hibernate/bytecode/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later. | ||
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. | ||
*/ | ||
|
||
/** | ||
* This package defines an SPI for integrating bytecode libraries with Hibernate. | ||
* A bytecode library is used for: | ||
* <ol> | ||
* <li> | ||
* <b>Reflection optimization</b> - to speed up the performance of entity | ||
* and component construction and field/property access, | ||
* </li> | ||
* <li> | ||
* <b>Proxy generation</b> - runtime building of proxies used to defer | ||
* loading of lazy entities, and | ||
* </li> | ||
* <li> | ||
* <b>Field-level interception</b> - build-time instrumentation of entity | ||
* classes for the purpose of intercepting field-level access, for both | ||
* lazy loading and dirty tracking. | ||
* </li> | ||
* </ol> | ||
*/ | ||
package org.hibernate.bytecode; |
42 changes: 0 additions & 42 deletions
42
hibernate-core/src/main/java/org/hibernate/bytecode/package.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
hibernate-core/src/main/java/org/hibernate/cache/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later | ||
* See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html | ||
*/ | ||
|
||
/** | ||
* This package defines the API of the second-level cache service. | ||
* <p> | ||
* The subpackage {@link org.hibernate.cache.spi} defines an SPI | ||
* used to integrate any third-party cache implementation. | ||
*/ | ||
package org.hibernate.cache; |
15 changes: 0 additions & 15 deletions
15
hibernate-core/src/main/java/org/hibernate/cache/package.html
This file was deleted.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
hibernate-core/src/main/java/org/hibernate/cache/spi/access/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later | ||
* See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html | ||
*/ | ||
|
||
/** | ||
* Defines contracts for transactional and concurrent access to cached | ||
* {@linkplain org.hibernate.cache.spi.access.EntityDataAccess entity} and | ||
* {@linkplain org.hibernate.cache.spi.access.CollectionDataAccess collection} data. Transactions pass in a | ||
* timestamp indicating transaction start time which is then used to protect against concurrent access (exactly how | ||
* that occurs is based on the actual access-strategy impl used). Two different implementation patterns are provided | ||
* for: | ||
* <ul> | ||
* <li> | ||
* A transaction-aware cache implementation might be wrapped by a <i>synchronous</i> access strategy, | ||
* where updates to the cache are written to the cache inside the transaction. | ||
* </li> | ||
* <li> | ||
* A non-transaction-aware cache would be wrapped by an <i>asynchronous</i> access strategy, where items | ||
* are merely "soft locked" during the transaction and then updated during the "after transaction completion" | ||
* phase; the soft lock is not an actual lock on the database row - only upon the cached representation of the | ||
* item. | ||
* </li> | ||
* </ul> | ||
* The <i>asynchronous</i> access strategies are: {@link org.hibernate.cache.spi.access.AccessType#READ_ONLY read-only}, | ||
* {@link org.hibernate.cache.spi.access.AccessType#READ_WRITE read-write} and | ||
* {@link org.hibernate.cache.spi.access.AccessType#NONSTRICT_READ_WRITE nonstrict-read-write}. The only | ||
* <i>synchronous</i> access strategy is {@linkplain org.hibernate.cache.spi.access.AccessType#TRANSACTIONAL transactional}. | ||
* <p> | ||
* Note that, for an <i>asynchronous</i> cache, cache invalidation must be a two-step process (lock->unlock or | ||
* lock->afterUpdate), since this is the only way to guarantee consistency with the database for a nontransactional | ||
* cache implementation. For a <i>synchronous</i> cache, cache invalidation is a single step process (evict or update). | ||
* Hence, these contracts ({@link org.hibernate.cache.spi.access.EntityDataAccess} and | ||
* {@link org.hibernate.cache.spi.access.CollectionDataAccess}) define a three-step process to cater for both | ||
* models (see the individual contracts for details). | ||
* <p> | ||
* Note that query result caching does not go through an access strategy; those caches are managed directly against | ||
* the underlying {@link org.hibernate.cache.spi.QueryResultsRegion}. | ||
*/ | ||
package org.hibernate.cache.spi.access; |
47 changes: 0 additions & 47 deletions
47
hibernate-core/src/main/java/org/hibernate/cache/spi/access/package.html
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
hibernate-core/src/main/java/org/hibernate/cache/spi/entry/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* Hibernate, Relational Persistence for Idiomatic Java | ||
* | ||
* License: GNU Lesser General Public License (LGPL), version 2.1 or later | ||
* See the lgpl.txt file in the root directory or http://www.gnu.org/licenses/lgpl-2.1.html | ||
*/ | ||
|
||
/** | ||
* This package defines formats for disassembled state kept in the second level cache. | ||
*/ | ||
package org.hibernate.cache.spi.entry; |
14 changes: 0 additions & 14 deletions
14
hibernate-core/src/main/java/org/hibernate/cache/spi/entry/package.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.