From d08294703ba5f8627fe1fb39a563c6ed5701ee7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gediminas=20Rim=C5=A1a?= Date: Tue, 18 Jul 2017 09:45:42 +0300 Subject: [PATCH] Update README.md with obsoletion notice --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60e2e1d..68b85be 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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()); @@ -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 \ No newline at end of file +* 1.0 released 2016-09-29. Built for Hibernate 5.1 and JDK 1.8