Skip to content

Commit db96a7d

Browse files
committed
HHH-18621 remove hibernate.jdbc.batch_versioned_data from docs/properties
1 parent 5958f3d commit db96a7d

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

documentation/src/main/asciidoc/userguide/chapters/batch/Batching.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ The following settings control this behavior.
1818
Controls the maximum number of statements Hibernate will batch together before asking the driver to execute the batch.
1919
Zero or a negative number disables this feature.
2020

21-
`hibernate.jdbc.batch_versioned_data`::
22-
Some JDBC drivers return incorrect row counts when a batch is executed.
23-
If your JDBC driver falls into this category this setting should be set to `false`.
24-
Otherwise, it is safe to enable this which will allow Hibernate to still batch the DML for versioned entities and still use the returned row counts for optimistic lock checks.
25-
Since 5.0, it defaults to true. Previously (versions 3.x and 4.x), it used to be false.
26-
2721
`hibernate.jdbc.batch.builder`::
2822
Names the implementation class used to manage batching capabilities.
2923
It is almost never a good idea to switch from Hibernate's default implementation.

etc/hibernate.properties

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,6 @@ hibernate.max_fetch_depth 1
354354
#hibernate.jdbc.batch_size 0
355355

356356

357-
## enable batch updates even for versioned data
358-
359-
hibernate.jdbc.batch_versioned_data true
360-
361-
362357
## enable use of JDBC 2 scrollable ResultSets (specifying a Dialect will cause Hibernate to use a sensible default)
363358

364359
#hibernate.jdbc.use_scrollable_resultset true

etc/hibernate.properties.template

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,6 @@ hibernate.default_batch_fetch_size 8
321321

322322
#hibernate.jdbc.batch_size 5
323323

324-
325-
## enable batch updates even for versioned data
326-
327-
hibernate.jdbc.batch_versioned_data true
328-
329-
330324
## enable use of JDBC 2 scrollable ResultSets (specifying a Dialect will cause Hibernate to use a sensible default)
331325

332326
#hibernate.jdbc.use_scrollable_resultset true

hibernate-spatial/src/test/resources/hibernate.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ hibernate.max_fetch_depth 5
2525

2626
hibernate.cache.region_prefix hibernate.test
2727
hibernate.cache.region.factory_class org.hibernate.testing.cache.CachingRegionFactory
28-
#
29-
## NOTE: hibernate.jdbc.batch_versioned_data should be set to false when testing with Oracle
30-
#hibernate.jdbc.batch_versioned_data true
3128

3229
## Postgis
3330
##

0 commit comments

Comments
 (0)