Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Commit

Permalink
Update README.md with obsoletion notice
Browse files Browse the repository at this point in the history
  • Loading branch information
grimsa authored Jul 18, 2017
1 parent f5eb809 commit d082947
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Single Global Temporary Table Bulk Id Strategy for Hibernate

**Note: [Hibernate 5.2.8 added new Bulk Id strategies](http://in.relation.to/2017/02/01/non-temporary-table-bulk-id-strategies/), which make this project obselete for most cases.**

Hibernate's MultiTableBulkIdStrategy for Hibernate using using just a single pre-created global temporary table instead of a table per entity.

Can be useful in environments where DDL statements cannot be executed from application and managing a large number of ID tables is not practical.
Expand Down Expand Up @@ -26,7 +29,7 @@ Can be useful in environments where DDL statements cannot be executed from appli
```
create global temporary table HT_TEMP_IDS (ID CHAR(36), ENTITY_NAME VARCHAR(100));
```
1. Set the following Hibernate properties:
2. Set the following Hibernate properties:

```
configuration.setProperty(AvailableSettings.HQL_BULK_ID_STRATEGY, SingleGlobalTemporaryTableBulkIdStrategy.class.getName());
Expand All @@ -37,4 +40,4 @@ Can be useful in environments where DDL statements cannot be executed from appli

## Release history
* 1.1 released 2016-09-29. Built for Hibernate 5.2
* 1.0 released 2016-09-29. Built for Hibernate 5.1 and JDK 1.8
* 1.0 released 2016-09-29. Built for Hibernate 5.1 and JDK 1.8

0 comments on commit d082947

Please sign in to comment.