Skip to content

Oracle Timesten dialect updates #10273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3,006 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3006 commits
Select commit Hold shift + click to select a range
c0ae6f7
HHH-17404 fix code scna warning about switch default case
ejannett May 2, 2025
3dfb1a8
HHH-17404 enhance compatibility test on type chakcing
ejannett May 2, 2025
d64b788
HHH-17404 add comment in the what's new doc
ejannett May 6, 2025
efd0a34
HHH-17404 add test claeanup phase
ejannett May 16, 2025
61d9d3d
HHH-17404 rebase with upstream
ejannett Jun 6, 2025
a626cb2
HHH-17404 add new contributor to AUTHORS list
ejannett Jun 6, 2025
f56ab6f
HHH-17404 fix merge regresssion about struct support
ejannett Jun 13, 2025
f01bcc0
HHH-17404 fix regression on OracleDialect on timeouts
ejannett Jun 16, 2025
9fce4e6
change Identifier.quote() to an instance method
gavinking Jun 18, 2025
26338a7
HHH-19506 Improve FirebirdDialect
mrotteveel Jun 12, 2025
a7ba4a5
HHH-19506 Fix tests that break the build
mrotteveel Jun 13, 2025
e556419
HHH-19506 Remove unused import
mrotteveel Jun 13, 2025
fd18c3f
HHH-19506 Use truncateMappedObjects as suggested by mbellade
mrotteveel Jun 16, 2025
c6f5398
HHH-19506 Remove skip for Firebird
mrotteveel Jun 16, 2025
bfa7102
HHH-19544 Allow plugging a different cache implementation for interna…
Sanne Jun 12, 2025
fa2e481
HHH-18708 Added two new tests to existing class
cigaly Nov 30, 2024
7f0f0be
HHH-18708 Implemented StringFunction as copy of OrdinalFunction with …
cigaly Nov 30, 2024
4371308
HHH-18708 add string() function to doc
gavinking Jun 18, 2025
33079d3
Fix Java launcher used in CI tests being downgraded by mistake
yrodiere Jun 17, 2025
d77577b
Fix tests being compiled to JDK 21 bytecode by default on CI
yrodiere Jun 17, 2025
b4e997b
Compile main code with JDK 17 on JDK 17 CI runs
yrodiere Jun 17, 2025
967ab4f
Remove obsolete workaround of a Gradle bug
yrodiere Jun 17, 2025
fab6a1c
Unify configuration of tasks with explicit/implicit Java versions
yrodiere Jun 17, 2025
3f7a4c7
Use "additionalOptions" to skip Jacoco in Jenkinsfile
yrodiere Jun 17, 2025
06096cf
Enable JDK 17 testing even on PRs
yrodiere Jun 18, 2025
5a9381a
Limit bytecode used in tests to Java 22, since we still use Gradle 8.8
yrodiere Jun 18, 2025
6866b68
HHH-19548 Upgrade to ByteBuddy 1.17.5
yrodiere Jun 16, 2025
106200b
Test against OpenJDK 26
yrodiere Jun 16, 2025
5ef0737
HHH-19391 add test for issue contributed by @theigl
gavinking Apr 28, 2025
1ae3cfd
HHH-17002, HHH-18820, HHH-19391, HHH-18514 equals() and hashCode() fo…
gavinking Apr 27, 2025
5145400
fix some unnecessary use of raw types
gavinking Apr 28, 2025
3a1dabf
HHH-17002, HHH-18820, HHH-19391, HHH-18514 deal with anonymous CTE pr…
gavinking Apr 28, 2025
06e3dbf
HHH-17002, HHH-18820, HHH-19391, HHH-18514 fix generated aliases
gavinking Apr 29, 2025
db5357d
HHH-17002, HHH-18820, HHH-19391, HHH-18514 apply feedback from @beikov
gavinking Jun 16, 2025
16b7592
HHH-17002, HHH-18820, HHH-19391, HHH-18514 add comments explaining an…
gavinking Jun 16, 2025
518ddb7
HHH-17002, HHH-18820, HHH-19391, HHH-18514 standardize on var_ prefix…
gavinking Jun 16, 2025
e2426b4
HHH-19226 remove support for sql version's older than 2016
MoadElfatihi Apr 13, 2025
19893b8
use truncate() in some tests
gavinking Jun 16, 2025
2c5257f
HHH-19283: Hibernate Gradle Plugin configuration cache support
VladoKuruc Mar 22, 2025
9dcbd37
HHH-19283: Gradle 9 deprecation clean up
VladoKuruc Mar 24, 2025
6700d95
HHH-19283: Implementation improvements
VladoKuruc Apr 13, 2025
16e20e4
HHH-19283: Gradle 8.14 test fixes
VladoKuruc Apr 29, 2025
21b3f70
HHH-19283: Build with JDK 21 fix and logger cleanup
VladoKuruc May 16, 2025
562c5c6
use truncate() in many tests
gavinking Jun 20, 2025
8dae9d5
use truncate() in more tests
gavinking Jun 20, 2025
44c62a5
add a note about eviction after truncation to jdoc
gavinking Jun 20, 2025
75238ba
HHH-19564 fix @ManyToOne @JoinTable with implicit table name
gavinking Jun 20, 2025
2e07a11
fix typo in jdoc
gavinking Jun 21, 2025
e218d36
nontrivial refactorings to ToOneBinder
gavinking Jun 21, 2025
a88fca0
very minor aesthetic cleanups in AbstractEntityPersister
gavinking Jun 21, 2025
ceced24
Enable dependabot for most dependencies
yrodiere Jun 19, 2025
d309460
HHH-19571 Make AccessOptimizer bytecode generation deterministic
beikov Jun 23, 2025
7372af6
Add ignore rules for GitHub bot license check
marko-bekhta Jun 24, 2025
5ffe7bc
HHH-19572 fix where(List) and having(List)
gavinking Jun 24, 2025
74db5ed
HHH-19572 test for where(List)
gavinking Jun 24, 2025
e9f2787
HHH-19560 Remove TupleTransformer and ResultListTransformer from inte…
beikov Jun 24, 2025
e5dd1bd
HHH-19570 HQL with jpamodelgen fails compilation when querying by nat…
gavinking Jun 23, 2025
f07a6f4
HHH-19573 Special case primitive type names for plural basic types
beikov Jun 25, 2025
ec7db94
HHH-19574 fix metamodel population for nested entity classes
gavinking Jun 25, 2025
cb01586
some cleanup to code in MetadataContext
gavinking Jun 25, 2025
c6b670b
check that arguments to special parameters of repository methods are …
gavinking Jun 25, 2025
bf537f3
HHH-19577 Avoid duplicate stack map frames for SetPropertyValues
beikov Jun 26, 2025
c150b54
fix @Delete queries for reactive repos
gavinking Jun 26, 2025
dec292f
update to latest Quarkus and Reactive in Processor tests
gavinking Jun 26, 2025
8f996ab
simplifications in QueryMethod
gavinking Jun 26, 2025
56ae257
Combine field attribute name checks in LazyAttributeLoadingIntercepto…
Sanne Jun 17, 2025
9e1c6a3
Minor cleanup in EnhancementHelper#performWork flow control
Sanne Jun 23, 2025
eaf01a3
HHH-19536 Flattening hierarchy of BytecodeLazyAttributeInterceptor: d…
Sanne Jun 15, 2025
14aefb3
HHH-19536 Review and rationalize memory layout of AbstractInterceptor
Sanne Jun 17, 2025
3a78d12
HHH-19536 Refactoring step: separate state handling between Enhanceme…
Sanne Jun 22, 2025
268d2fa
HHH-19536 Rework all state belonging to LazyAttributeLoadingIntercept…
Sanne Jun 22, 2025
198ed5d
HHH-19536 Optimize initialization of EnhancementAsProxyLazinessInterc…
Sanne Jun 23, 2025
d523158
HHH-19536 Ensure EntityMetamodel#idAttributeNames is minimized
Sanne Jun 23, 2025
cb45dc9
minor refactoring to DefaultRefreshEventListener
gavinking Jun 26, 2025
cb1ead6
HHH-9812 @Formula with SQL cast function
peter1123581321 Jun 20, 2025
eff4ab0
HHH-19523 correctly initialize Pre/PostCollectionXxxxEvents from Stat…
gavinking Jun 27, 2025
f14a23e
HHH-19523 test for collection listeners in stateless session
gavinking Jun 27, 2025
511a5cc
minor cleanups to SqmQueryGroup
gavinking Jun 27, 2025
754003d
squash IntelliJ grammar nags
gavinking Jun 27, 2025
0f256e4
Update processor tests to use JUnit 5
marko-bekhta Jun 20, 2025
75d6031
HHH-19559 add hibernate.multi_tenant.set_schema
gavinking Jun 19, 2025
3dbd44c
HHH-19559 some related refactoring
gavinking Jun 27, 2025
351d922
HHH-19559 move management of the schema into LogicalConnectionManaged…
gavinking Jun 27, 2025
7a6918a
HHH-19559 introduce TenantSchemaMapper
gavinking Jun 27, 2025
74fa918
HHH-19559 add appropriate @Incubating annotations
gavinking Jun 27, 2025
e034920
HHH-19580 add ability to target a given schema/catalog in SchemaManager
gavinking Jun 27, 2025
dd29eb0
HHH-19559 test for schema-based multitenancy
gavinking Jun 27, 2025
5be6604
HHH-19559 remember the initial value of the schema setting
gavinking Jun 27, 2025
e5bcffd
HHH-19580 don't overwrite the default schema/catalog set in properties
gavinking Jun 27, 2025
7abe277
HHH-19559 use IdentifierHelper to handle casing of schema name is set…
gavinking Jun 28, 2025
1feeb0b
HHH-19580 simplify forSchemaAndCatalog() to forCatalog()
gavinking Jun 28, 2025
82ec3f8
HHH-19559 light refactoring of LogicalConnectionManagedImpl
gavinking Jun 28, 2025
6cdb3e9
HHH-19559 improve the test
gavinking Jun 28, 2025
be1d75e
HHH-19559 document schema-based multitenancy
gavinking Jun 28, 2025
c38ab8b
audit calls to convert()
gavinking Jun 29, 2025
3c806ab
simplify ResultSetAccess hierarchy
gavinking Jun 29, 2025
5f57038
proper error interpretation for InformixDialect
gavinking Jun 28, 2025
b44dcc9
skip two tests on Informix
gavinking Jun 28, 2025
acd0c09
improvements to HQL casting and datetime handling on Informix
gavinking Jun 28, 2025
0603593
support @View on Informix
gavinking Jun 28, 2025
70d02d2
skip/fix some tests on Informix
gavinking Jun 28, 2025
6b31daf
eliminate extra space in DDL
gavinking Jun 28, 2025
45afcfd
preserve fractional seconds in extract(second) on Informix
gavinking Jun 29, 2025
82ab068
fix 'select null' on Informix
gavinking Jun 29, 2025
6e43d22
fix extremely long line in DerbyDialect
gavinking Jun 29, 2025
2ddf360
skip two tests on Informix
gavinking Jun 29, 2025
81d0c36
emulate var_pop and var_samp on Informix
gavinking Jun 29, 2025
ff0fde1
fix HQL concatenation on Informix
gavinking Jun 29, 2025
02d4a8f
extract a method
gavinking Jun 29, 2025
7ea39c8
skip some tests on Informix
gavinking Jun 29, 2025
d0095a8
fix crazy-lookin' SQL in SubselectTest
gavinking Jun 29, 2025
d064acd
skip tests on Informix
gavinking Jun 29, 2025
b488141
skip tests on Informix
gavinking Jun 29, 2025
8c8eaf8
may SubqueryOperatorsTest pass on Informix
gavinking Jun 29, 2025
94c3afc
Use toMetaDataObjectName() to read columns from native SQL ResultSet
gavinking Jun 29, 2025
43cc747
Introduce Dialect.getCatalogSeparator()
gavinking Jun 29, 2025
82aeb57
HHH-19225: remove support for mariadb version's older than 10.6
MoadElfatihi Jun 20, 2025
d53fe49
Fail in build.sh when RDBMS is unsupported
beikov Jun 30, 2025
42b5fa6
remove unnecessary nullness checking in AbstractSqlAstTranslator#visi…
May 18, 2025
b7c19a6
HHH-19464 Test case adapted from https://hibernate.atlassian.net/brow…
cigaly May 15, 2025
ec3d0bd
HHH-19464 Do not assume that EOF is reached if InputStream.read(byte[…
cigaly May 15, 2025
e745380
HHH-19464 Using GZIPInput/OutputStream instead of JarFile
cigaly May 19, 2025
f90e97e
HHH-18898 fix of a NPE when using an embeddable with a specified Java…
peter1123581321 May 28, 2025
21ac4f0
Add casts to parameters in 'select' on Informix
gavinking Jun 29, 2025
9ef7c74
Use a safe cast in DerbySqlAstTranslator
gavinking Jun 29, 2025
c0597ea
fix package of DerbyDialect
gavinking Jun 29, 2025
e0706ac
fix a test to consistently use quoted column names
gavinking Jun 29, 2025
1990024
skip tests on Informix
gavinking Jun 29, 2025
fa12239
fix test on Informix
gavinking Jun 29, 2025
d091b2f
skip test on Informix
gavinking Jun 29, 2025
f8c919d
improve test
gavinking Jun 29, 2025
5bcbb8c
improve all the array tests
gavinking Jun 29, 2025
37dabd9
skip test on Informix
gavinking Jun 29, 2025
d29664e
add support for SQL MERGE to InformixDialect
gavinking Jun 29, 2025
88321e5
skip tests on Informix
gavinking Jun 29, 2025
0c9d02b
fix up handling of casts on Informix
gavinking Jun 29, 2025
7883163
fix test on Informix
gavinking Jun 29, 2025
7f79476
fix crazy impl of DialectFeatureChecks.CurrentTimestampHasMicrosecond…
gavinking Jun 29, 2025
35c74b6
skip test on Informix
gavinking Jun 29, 2025
b0936fb
emulation for FETCH ... WITH TIES on Informix
gavinking Jun 29, 2025
9933e1f
disable assertions on Informix
gavinking Jun 29, 2025
f5c00dc
skip tests on Informix
gavinking Jun 29, 2025
946e6b8
properly handle the nested nature of the Informix ISAM error
gavinking Jun 29, 2025
526af6b
disable tests on Informix
gavinking Jun 29, 2025
150d4f8
special handling for literal null inside a cast in select clause
gavinking Jun 29, 2025
61dabb3
very minor grammar fixes in comments
gavinking Jun 29, 2025
94f7e95
skip test on Informix
gavinking Jun 29, 2025
219d622
skip assertion on Informix
gavinking Jun 29, 2025
61e1623
skip test on Informix
gavinking Jun 29, 2025
fed820b
get more FunctionTests working on Informix
gavinking Jun 30, 2025
b20aa54
more consistent exception message format
gavinking Jun 30, 2025
1b44ae5
use @SkipForDialect like in all other tests
gavinking Jun 30, 2025
12d216c
enhancements and cleanups in DialectFeatureChecks
gavinking Jun 30, 2025
b9aa32c
add a cast around string functions with parameter args on Informix
gavinking Jun 30, 2025
feca553
Informix rejects Integer.MAX_VALUE, Integer.MIN_VALUE
gavinking Jun 30, 2025
2f87f32
add appropriate casts on parameters in binary numeric expressions on …
gavinking Jun 30, 2025
ad91b04
extract pattern for NATIVE on Informix
gavinking Jun 30, 2025
3d14126
skip test on Informix
gavinking Jun 30, 2025
eca9456
get 'extract(epoch)' working Informix
gavinking Jun 30, 2025
687ea1f
re-disable test on Sybase and EDB
gavinking Jun 30, 2025
9319565
disable tests on Informix
gavinking Jun 30, 2025
e7a75af
improve StandardFunctionTests
gavinking Jun 30, 2025
7e30638
skip tests on Informix
gavinking Jun 30, 2025
36ab046
HHH-8511 add passing test
gavinking Jun 30, 2025
63289fb
update many dependencies
gavinking Jun 28, 2025
ad1b257
rework interval/datetime arithmetic on Informix
gavinking Jun 30, 2025
60d2b69
rework interval/datetime arithmetic on Informix
gavinking Jun 30, 2025
4b90847
skip some tests for interval/datetime arithmetic on Informix
gavinking Jun 30, 2025
f3217f6
skip tests on Informix
gavinking Jun 30, 2025
2c0af7e
implement portable integer division for Informix
gavinking Jun 30, 2025
4e4212b
Informix throws ClassCastException from incorrectly-implemented getOb…
gavinking Jun 30, 2025
663ee87
skip tests on Informix
gavinking Jun 30, 2025
36625c1
fix test on EDB
gavinking Jun 30, 2025
bda2c64
clean up SerializationHelper
gavinking Jul 1, 2025
527d658
various minor refactorings to AST conversion code
gavinking Jul 1, 2025
ac87d5a
Bump the build-dependencies group with 15 updates
dependabot[bot] Jun 25, 2025
c12147a
Bump the workflow-actions group with 4 updates
dependabot[bot] Jul 1, 2025
f3cd779
HHH-19583 Include parameterized info of parameterized type arguments
marko-bekhta Jun 30, 2025
251b91f
HHH-19558: Fixed support of JDBC escape syntax
Stefan-Tri Jun 18, 2025
0c3ec70
HHH-19558: Improved Test
Stefan-Tri Jun 18, 2025
ce562b7
HHH-19558: Removed double quoted case
Stefan-Tri Jun 30, 2025
6636374
Fix potential CCE due to casting the wrong object after instanceof check
beikov Jul 1, 2025
4c94c00
refactor over-complicated method of AbstractSqlAstTranslator
gavinking Jul 1, 2025
8556f0e
fix 'fetch n' on union query in Informix
gavinking Jul 1, 2025
523eb84
rationalize the code for 'cross join' emulation
gavinking Jul 1, 2025
daaeedb
fix problems with unaliased tables on Informix
gavinking Jul 1, 2025
0be008f
Informix does support hypothetical set functions ❤️
gavinking Jul 1, 2025
a0d2b2f
fix test on Informix (item is some kind of keyword)
gavinking Jul 1, 2025
30fecce
disable tests on Informix
gavinking Jul 1, 2025
f0792cc
put a bigger wait into two tests on Informix
gavinking Jul 1, 2025
92168f9
minor refactorings to AbstractSqlAstTranslator and SelectStatement
gavinking Jul 1, 2025
b280300
skip a test on Informix
gavinking Jul 1, 2025
85b2c70
skip a test on Informix
gavinking Jul 1, 2025
08a7b2f
get rid of use of sum() in Informix date/time arithmetic
gavinking Jul 1, 2025
24a0203
fix overlay() function on Informix
gavinking Jul 1, 2025
0c32810
fix and skip some locking-related tests for Informix
gavinking Jul 1, 2025
42fa78c
use 'reuse storage keep statistics' to truncate on Informix
gavinking Jul 2, 2025
10bb3ef
disable constraints while truncating tables on Informix
gavinking Jul 2, 2025
137e853
minor cleanups to InformixDialect
gavinking Jul 2, 2025
c29deab
Informix has native least() and greatest() functions
gavinking Jul 2, 2025
b443f18
very trivial code cleanups to AbstractSqlAstTranslator
gavinking Jul 2, 2025
6f4a22f
very trivial code cleanups to NamedSqmFunctionDescriptor
gavinking Jul 2, 2025
2fee233
minor refactor in InformixDialect
gavinking Jul 2, 2025
0b33488
fix problem for Criteria query using coalesce on Informix
gavinking Jul 2, 2025
58a17d0
Revert "special handling for literal null inside a cast in select cla…
gavinking Jul 2, 2025
ad9d5de
much better solution to problem with trim() on Informix
gavinking Jul 2, 2025
8f1f13f
add an extra test for pad() function
gavinking Jul 2, 2025
68c8712
rationalize ridiculously long lists of @SkipForDialect
gavinking Jul 2, 2025
2c784b4
use bigserial instead of serial8 on Informix
gavinking Jul 2, 2025
01e8f02
try enabling these tests on Db2 🤞
gavinking Jul 2, 2025
a6eff35
Introduce a separate ExtendedState holder for ResourceRegistryStandar…
Sanne Jul 2, 2025
3a6e869
Remove dead constants
Sanne Jul 2, 2025
5c49105
Improve handling of trace logging in ResourceRegistryStandardImpl
Sanne Jul 2, 2025
78464ec
skip Envers test on Informix
gavinking Jul 3, 2025
dfbd0bd
HHH-19498 - improve upserts on MySQL and MariaDB
jrenaat Jun 3, 2025
fa4dfb5
HHH-19076 Reproducer testcase
mensinda Jan 27, 2025
3b9b2e4
HHH-19076 Add second composite key entity to the failing test
mensinda Jun 30, 2025
804c604
HHH-19076 Resolve member of MappedSuperclass specially
beikov Jul 3, 2025
e5d927d
HHH-19365 GaussDB Dialect Support-initial
liubao68 Jul 3, 2025
1fa65b4
HHH-19365 GaussDB Dialect Support-rebase
liubao68 Jul 3, 2025
ce49859
HHH-19365 GaussDB Dialect Support-fix some test cases fail
liubao68 May 22, 2025
3508e07
HHH-19365 GaussDB Dialect Support-fix some skipped tests
liubao68 May 22, 2025
9ed5d8c
HHH-19365 GaussDB Dialect Support-fix some tests fail
liubao68 Jul 1, 2025
8d266e6
HHH-19365 - fixed CodeQL
SweetWuXiaoMei Jun 3, 2025
f7f007b
HHH-19365 - fixed CodeQL
SweetWuXiaoMei Jun 4, 2025
275ca77
HHH-19365 - fixed datetime format
liubao68 Jul 1, 2025
33321c5
HHH-19365 - fix review problems
liubao68 Jul 1, 2025
3ae25e1
HHH-19365 - fix duplicate and unused code problems
liubao68 Jul 2, 2025
3a129d9
HHH-19365 - fix lock test fail
liubao68 Jul 3, 2025
1c81622
Fix MariaDB 10.6 UUID in aggregate support and skip some tests that r…
beikov Jul 4, 2025
a5319ed
Fix DB2 10 test issues
beikov Jul 4, 2025
e769668
HHH-18639 Remove support for DB2 versions older than 11.1 and start t…
beikov Jul 4, 2025
a00ee60
HHH-18641 Remove support for DB2i versions older than 7.2 and moderni…
beikov Jul 4, 2025
22f20d8
HHH-19226 Revert to SQL Server 2014 instead of 2016 as minimum version
beikov Jul 4, 2025
1ed27d5
Avoid overhead from excessive trace level logging in JdbcCoordinatorImpl
Sanne Jul 4, 2025
1b5d95c
HHH-19593 ResourceRegistryStandardImpl triggers identity hashcode on …
Sanne Jul 2, 2025
49254cf
HHH-19542: Embeddable property order for SecondaryTable is no longer …
itsmoonrack Jun 17, 2025
a5f96b5
HHH-19542 Ensure columns in embeddables default to correct table
beikov Jul 4, 2025
8c381f1
HHH-19595 - Implement support for upserts in HSQLDB
jrenaat Jul 4, 2025
567d999
HHH-19595 - Enable support for upserts in EDB (v > 15)
jrenaat Jul 4, 2025
c520670
hhh-19598 - support gaussdb callable
SweetWuXiaoMei Jul 8, 2025
a331693
hhh-19598 - support gaussdb callable
SweetWuXiaoMei Jul 8, 2025
a886045
hhh-19598 - support gaussdb callable
SweetWuXiaoMei Jul 8, 2025
2b04f0c
hhh-19598 - support gaussdb callable
SweetWuXiaoMei Jul 8, 2025
af6ca24
hhh-19598 - support gaussdb callable
SweetWuXiaoMei Jul 8, 2025
8f08bda
Use Dialect.getCreateTableString() to avoid HANA failure
beikov Jul 8, 2025
aef67ae
HHH-19591: Refactor verifyMeterNotFoundException to use assertThrows
Jul 4, 2025
9bb9e37
HHH-19596 Test case from example in Jira issue
cigaly Jul 7, 2025
21b138c
HHH-19596 Added checks to avoid NPE's
cigaly Jul 8, 2025
cb6b019
document log category org.hibernate.orm.jdbc.batch in Short Guide
gavinking Jul 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Initial commits that enabled spotless automatic formatting
59731c089e9d649a663c81d9622b54557d6aba37
4d63ffd98cdead513ab0be0fa23f9787423092d3
# Envers removal/restore
9c7dd3bf34dfbb2f4fa9eb79a0294c2cc759c836
b2a528f2945cee26667b22b867ccef143b7c430c
4273f1cde06f3622f50c2846078398c1977a49c4
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# By default, detect text files automatically, and use whatever line terminators make sense for the OS
* text=auto eol=lf

# Java files are text, and we want Java-friendly readable hunk headers for diff
*.java text diff=java eol=lf

# Force LF/CRLF format for files that are known to require it.
*.sh text eol=lf
*.bat text eol=crlf

# For some reason the above is not enough, in particular for gradlew.bat,
# as some commands (git status, git add --renormalize) will still change its line endings to LF.
# So, we explicitly tell git not to mess with *.bat line endings.
# It's annoying as git won't show diffs for these files anymore,
# but that's the best I could come up with after an hour of head-scratching.
*.bat binary

6 changes: 6 additions & 0 deletions .github/ci-prerequisites-atlas.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Reclaims disk space and sanitizes user home on Atlas infrastructure

# We use the GitHub cache for the relevant parts of these directories.
# Also, we do not want to keep things like ~/.gradle/build-scan-data.
rm -rf ~/.gradle/
rm -rf ~/.m2/
136 changes: 130 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,139 @@ registries:
username: dummy # Required by dependabot
password: dummy # Required by dependabot
updates:
- package-ecosystem: "gradle"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
groups:
workflow-actions:
patterns:
- "*"
allow:
- dependency-name: "com.gradle*"
- dependency-name: "actions/*"
- dependency-name: "redhat-actions/*"
- package-ecosystem: "gradle"
directory: "/"
registries:
- gradle-plugin-portal
schedule:
interval: "weekly"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
day: "wednesday"
open-pull-requests-limit: 20
groups:
# These are used in tooling we publish (Gradle, Ant, Maven plugins)
# and thus must be treated as runtime dependencies,
# which cannot be included in the build-dependencies group below.
tooling-dependencies:
patterns:
# Note: Gradle tooling dependencies seem to be tied to the version of Gradle we use for building.
- "org.apache.ant*"
- "org.apache.maven:maven-plugin-api"
- "org.apache.maven:maven-project"
- "org.apache.maven.shared:file-management"
- "org.apache.maven.plugin-tools:maven-plugin-annotations"
# This group combines all build-only dependencies. Published artifacts do not depend on them.
# Grouping such dependencies will make Dependabot create PRs with a branch name
# following the pattern (`dependabot/maven/build-dependencies-.*`)
# and with a title like `Bump the build-dependencies group with 8 updates` that we can easily
# use for Hibernate Bot rules.
build-dependencies:
patterns:
# Gradle plugins:
- "com.gradle*"
- "org.moditect*"
- "de.thetaphi*"
- "org.gradlex*"
- "org.hibernate.build*"
- "org.hibernate.orm.build*"
- "org.hibernate.orm.database-service*"
- "org.hibernate.orm.antlr*"
- "io.github.gradle-nexus*"
- "biz.aQute.bnd*"
- "org.checkerframework*"
- "org.jetbrains.gradle*"
- "com.dorongold*"
- "org.asciidoctor*"
- "com.diffplug.spotless*"
# Local build plugin dependencies:
- "org.apache.maven*"
- "org.apache.httpcomponents*"
# DB drivers:
- "com.h2database:h2"
- "org.orbisgis:h2gis"
- "org.hsqldb:hsqldb"
- "org.apache.derby*"
- "org.postgresql:*"
- "com.mysql:mysql-connector-j"
- "org.mariadb.jdbc:mariadb-java-client"
- "com.oracle.database.*"
- "com.microsoft.sqlserver:mssql-jdbc"
- "com.ibm.db2:jcc"
- "com.sap.cloud.db.jdbc:ngdbc"
- "net.sourceforge.jtds:jtds"
- "com.ibm.informix:jdbc"
- "org.firebirdsql.jdbc:jaybird"
- "com.altibase:altibase-jdbc"
# Other test dependencies
- "org.apache.groovy:groovy-jsr223" # used for scripting maven plugin
- "org.apache.commons:commons-lang3" # used in hibernate-search-util-common tests
- "org.apache.commons:commons-math3" # used to solve dependency convergence for Wiremock
- "org.openjdk.jmh:*" # performance testing dependency
- "com.google.guava:guava" # Guava is used in our test utils
- "org.asciidoctor:*" # Asciidoctor is used for rendering the documentation
- "org.jboss.marshalling:jboss-marshalling" # JBeret IT dependency
- "org.wildfly.security:wildfly-security-manager" # JBeret IT dependency
- "org.springframework.boot:*" # Spring is only for ITs
- "io.agroal:agroal-spring-boot-starter" # part of Spring dependencies, is only for ITs
- "dev.snowdrop:narayana-spring-boot-starter" # part of Spring dependencies, is only for ITs
- "org.mockito:*"
- "org.hamcrest:*"
- "org.apache.logging.log4j:*"
- "org.assertj:*"
- "org.jsoup:*"
- "org.junit*"
- "org.jboss.weld.se:*"
- "org.jboss.narayana.*:*"
- "org.wildfly.transaction:*"
- "org.jboss:jboss-transaction-spi"
- "org.jboss.shrinkwrap*"
- "org.jboss.byteman*"
hibernate:
patterns:
- "org.hibernate*"
jakarta:
patterns:
- "jakarta.*"
- "org.glassfish*"
- "org.eclipse:yasson"
ignore:
# Avoid non-patch updates for complex dependencies and their implementation, even if we only use them for tests.
- dependency-name: "org.hibernate*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "jakarta.*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "org.jboss.narayana*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "org.jboss.weld*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "org.wildfly*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "org.glassfish*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "org.eclipse:yasson"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "org.apache.maven*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- dependency-name: "org.apache.ant*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Avoid non-patch updates for JUnit, because it is exposed in hibernate-testing,
# which contains @BytecodeEnhanced, which is very sensitive to internal changes in JUnit.
- dependency-name: "org.junit*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Sticking to SLF4J 1.x for now since later versions require upgrading providers
# (Log4j, ... see https://www.slf4j.org/faq.html#changesInVersion200),
# and also because we only need this dependency for Maven,
# which is currently still on SLF4J 1.x
# (see https://central.sonatype.com/artifact/org.apache.maven/maven-embedder/3.9.9/dependencies)
- dependency-name: "org.slf4j:*"
update-types: ["version-update:semver-major"]
18 changes: 16 additions & 2 deletions .github/hibernate-github-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
jira:
projectKey: "HHH"
insertLinksInPullRequests: true
ignore:
# See the `build-dependencies` group in Dependabot's configuration file
- user: dependabot[bot]
titlePattern: "Bump.*the (build-dependencies|workflow-actions) group.*+"
ignoreFiles:
# Git
- ".git*"
- "*/.git*"
- ".mailmap"
# Gradle
- "gradlew*"
Expand All @@ -19,6 +24,7 @@ jira:
- "ci/"
- "databases/"
- "*.sh"
- "*.bat"
- "Jenkinsfile"
- "*/Jenkinsfile"
- "*.Jenkinsfile"
Expand All @@ -37,6 +43,8 @@ jira:
- "release/"
- "rules/"
- "shared/"
- ".sdkmanrc"
- "*/.sdkmanrc"
develocity:
buildScan:
addCheck: true
Expand All @@ -53,7 +61,13 @@ develocity:
pattern: "s390x"
replacement: "$0"
- column: "DB"
pattern: "((?:h2|postgres(?:ql)?|pgsql|mysql|mariadb|mssql|derby|tidb|cockroach(?:db)?|oracle|db2|hsqldb|edb|sybase)(?:.*(?=_ci)|.*))(?:_ci)?"
pattern: "((?:h2|postgres(?:ql)?|pgsql|mysql|mariadb|mssql|tidb|cockroach(?:db)?|oracle|db2|hsqldb|edb|sybase)(?:.*(?=_ci)|.*))(?:_ci)?"
replacement: "$1"
- pattern: "main|HEAD|\\d+.\\d+|PR-\\d+"
replacement: "" # Just remove these tags
replacement: "" # Just remove these tags
licenseAgreement:
enabled: true
ignore:
# See the `build-dependencies` group in the Dependabot's configuration file
- user: dependabot[bot]
titlePattern: "Bump.*"
118 changes: 0 additions & 118 deletions .github/workflows/atlas.yml

This file was deleted.

Loading
Loading