Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
946 commits
Select commit Hold shift + click to select a range
28c923a
Fix codenarc violations in datamapping-core and datamapping-tck
jamesfredley Mar 19, 2026
8f8b7db
Add missing micronaut test dependencies to H7 multiple-datasources te…
jamesfredley Mar 19, 2026
84825ba
Fix codestyle CI script failing when build/ directory does not exist
jamesfredley Mar 19, 2026
c88e1dc
Handle null values for SimpleMapQuery
jdaugherty Mar 23, 2026
8c2ad15
Handle null values for MongoQuery
jdaugherty Mar 23, 2026
1fcc7b7
Add missing servlet API
jdaugherty Mar 23, 2026
ebb1474
Port hibernate 5 OpenSessionInViewInterceptor fixes to hibernate 7
jdaugherty Mar 23, 2026
55b4529
Merge branch '8.0.x' into 8.0.x-hibernate7
jdaugherty Mar 23, 2026
7d197bf
fix: share single InFlightMetadataCollector across binders in test specs
borinquenkid Mar 2, 2026
e7b7167
Refactor CollectionSecondPassBinder and ManyToOneBinder for typed dis…
borinquenkid Mar 2, 2026
f910c02
Introduce HibernateEnumProperty marker interface; replace isEnumType(…
borinquenkid Mar 2, 2026
e753e65
refactor isValidHibernateOneToOne and isValidHibernateManyToOne
borinquenkid Mar 2, 2026
bb09c7a
Clean up GrailsPropertyBinder/ManyToOneBinder/OneToOneBinder to use c…
borinquenkid Mar 2, 2026
4edc9aa
Move InFlightMetadataCollector into ComponentBinder constructor; remo…
borinquenkid Mar 2, 2026
16b4923
refactor methods into HibernateOneToOneProperty
borinquenkid Mar 2, 2026
4d86dcb
refactor: split ManyToOneBinder into ManyToOneBinder and ForeignKeyOn…
borinquenkid Mar 2, 2026
c96bf2d
refactor: replace isCompositeIdentifier with Optional<CompositeIdenti…
borinquenkid Mar 2, 2026
1c1dc23
refactor: CompositeIdentifierToManyToOneBinder
borinquenkid Mar 2, 2026
bfbde3a
test OrderByClauseBuilder
borinquenkid Mar 3, 2026
85c0aac
refactor CollectionSecondPassBinder
borinquenkid Mar 3, 2026
b53527e
refactor CollectionSecondPassBinder
borinquenkid Mar 3, 2026
d13a8d9
Extract bindOrderBy into CollectionOrderByBinder
borinquenkid Mar 3, 2026
8f37cd3
refactor: extract bindOrderBy and applyMultiTenantFilter from Collect…
borinquenkid Mar 3, 2026
1da3398
refactor: extract bindCollectionKey from CollectionSecondPassBinder i…
borinquenkid Mar 3, 2026
b24db91
refactor: extract bindBidirectionalMapElement into BidirectionalMapEl…
borinquenkid Mar 3, 2026
4a28b19
refactor: extract bindManyToManyElement into ManyToManyElementBinder
borinquenkid Mar 3, 2026
08e1e86
refactor: move DependantValue creation into CollectionKeyBinder
borinquenkid Mar 3, 2026
63b2488
refactor: HibernateToManyProperty.getCacheUSage
borinquenkid Mar 3, 2026
3d80db3
refactor: move CollectionKeyBinder into CollectionKeyColumnUpdater
borinquenkid Mar 3, 2026
b92f0b1
efactor: extract BasicCollectionElementBinder from CollectionWithJoin…
borinquenkid Mar 3, 2026
b9933d0
refactor: move ManyToOne element creation into UnidirectionalOneToMan…
borinquenkid Mar 3, 2026
c3356b1
refactor: extract resolveJoinTableForeignKeyColumnName into Hibernate…
borinquenkid Mar 3, 2026
9cdb1d3
refactor: create SimpleValue inside of simpleValueColumnBinder
borinquenkid Mar 3, 2026
3f90467
refactor(hibernate7): merge AbstractHibernateDatastore into Hibernate…
borinquenkid Mar 4, 2026
1ebdbca
Fixed SubqueryAliasSpec
borinquenkid Mar 4, 2026
62a1500
rename for Hibernate7OptimisticLockingSpec
borinquenkid Mar 4, 2026
ff57040
fix FindByExample
borinquenkid Mar 4, 2026
1625183
Restore NamedCriteria to Hibernate 5
borinquenkid Mar 4, 2026
b9865c4
refactor: fold AbstractHibernateGormValidationApi into HibernateGormV…
borinquenkid Mar 4, 2026
65172d4
refactor(hibernate7): fold AbstractHibernateSession into HibernateSes…
borinquenkid Mar 4, 2026
29b14b0
refactor(hibernate7): fold AbstractClosureEventTriggeringInterceptor …
borinquenkid Mar 4, 2026
7c58c6b
refactor(hibernate7): fold AbstractHibernateEventListener into Hibern…
borinquenkid Mar 4, 2026
0914076
clean up PredicateGenerator
borinquenkid Mar 4, 2026
af7113a
clean up HibernateQuery
borinquenkid Mar 4, 2026
e11209d
clean up HibernateHqlQuery
borinquenkid Mar 4, 2026
04d3685
refactor(hibernate7): replace dual-field HibernateHqlQuery with HqlQu…
borinquenkid Mar 4, 2026
73d0286
fix: tighten PersistentEntity.getJavaClass() return type to Class<?>
borinquenkid Mar 4, 2026
8f51ec5
clean up HibernateQuery
borinquenkid Mar 4, 2026
615d25e
change HibernateQueryConstants to HibernateQueryArgument
borinquenkid Mar 4, 2026
de39638
refactor(hibernate7): replace HibernateDatastore.FlushMode with org.h…
borinquenkid Mar 4, 2026
6dd23eb
refactor(hibernate7): more cleanup HibernateDatastore
borinquenkid Mar 4, 2026
fe43b89
refactor(hibernate7): more cleanup HibernateGormStaticApi
borinquenkid Mar 4, 2026
c75510a
refactor(hibernate7): cleanup HibernateSession
borinquenkid Mar 4, 2026
6cc4475
refactor(hibernate7): cleanup HibernateProxyHandler
borinquenkid Mar 4, 2026
70c7807
refactor(hibernate7): type safety, API modernisation, and spec coverage
borinquenkid Mar 4, 2026
a0e8586
cleanup(hibernate7): ColumnBinder using more GrailsHibernate types
borinquenkid Mar 5, 2026
16b8dc1
cleanup(hibernate7): Remove unused InFlightMetadataCollector from Co…
borinquenkid Mar 5, 2026
c060e28
cleanup(hibernate7): Make SimpleValueBinder.bindSimpleValue return S…
borinquenkid Mar 5, 2026
893508e
cleanup(hibernate7): General cleanup
borinquenkid Mar 5, 2026
9804429
cleanup(hibernate7): Fix Generics
borinquenkid Mar 5, 2026
7acd83c
cleanup(hibernate7): Make sure updateable is not used internally.
borinquenkid Mar 5, 2026
5769be2
cleanup(hibernate7): general clean up
borinquenkid Mar 5, 2026
7519aca
cleanup(hibernate7): DefaultColumnNameFetcher
borinquenkid Mar 5, 2026
ee718c9
cleanup(hibernate7): ConfigureDerivedPropertiesConsumer
borinquenkid Mar 5, 2026
6dcbf33
cleanup(hibernate7): use Hibernate-specific types in ForeignKeyColum…
borinquenkid Mar 5, 2026
62c24f0
hibernate7: CloseSuppressingInvocationHandler
borinquenkid Mar 5, 2026
fa06fe7
hibernate7: clean up GrailsHibernateTemplate
borinquenkid Mar 5, 2026
2d00680
hibernate7: spec for GrailsSessionContext and InstanceApiHelper
borinquenkid Mar 5, 2026
2ef3d51
hibernate7: cleanup ListSecondPassBinder
borinquenkid Mar 6, 2026
91ef923
hibernate7: cleanup GrailsHibernateUtil
borinquenkid Mar 6, 2026
e4b8bbf
hibernate7: cleanup update MapSecondPassBinderSpec
borinquenkid Mar 6, 2026
4369ad4
hibernate7: cleanup update MapSecondPassBinderSpec
borinquenkid Mar 6, 2026
d598e2c
hibernate7: cleanup update GrailsHibernateQueryUtils
borinquenkid Mar 6, 2026
9edc594
hibernate7: PredicateGenerator now uses ConversionService to coerce a…
borinquenkid Mar 6, 2026
a5c83ed
hibernate7: Refactoring GrailsHibernateQueryUtils and HibernateGormSt…
borinquenkid Mar 6, 2026
a636c83
hibernate7: Refactoring HibernateGormStaticApi
borinquenkid Mar 6, 2026
6346ae6
hibernate7: removing GrailsHibernateQueryUtils.java
borinquenkid Mar 6, 2026
ac1c7ec
hibernate7: cleanup HibernateHqlQuery
borinquenkid Mar 6, 2026
7e115b1
hibernate7: add Positional Parameters support
borinquenkid Mar 6, 2026
961d4f4
hibernate7: codenarc
borinquenkid Mar 7, 2026
8cd8d27
hibernate7: more Codenarc
borinquenkid Mar 7, 2026
13c0cb0
hibernate7: more Codenarc
borinquenkid Mar 7, 2026
f28386c
hibernate7: more Codenarc
borinquenkid Mar 7, 2026
341f453
hibernate7: more Codenarc
borinquenkid Mar 7, 2026
b9a175d
hibernate7: more Codenarc
borinquenkid Mar 7, 2026
f54b941
hibernate7: more Codenarc
borinquenkid Mar 7, 2026
c570446
hibernate7: removed deprecated code from HibernateGormInstanceApi
borinquenkid Mar 7, 2026
483c9b1
hibernate7: more CodeNarc
borinquenkid Mar 7, 2026
59dba3d
hibernate7: more CodeNarc
borinquenkid Mar 8, 2026
a6d502c
hibernate7: more CodeNarc
borinquenkid Mar 8, 2026
a20ffb9
hibernate7: more CodeNarc
borinquenkid Mar 8, 2026
7031b9c
hibernate7: HibernateGormValidationApi bug fix
borinquenkid Mar 8, 2026
f54f866
hibernate7:
borinquenkid Mar 8, 2026
d074b82
hibernate7:
borinquenkid Mar 8, 2026
b738f11
hibernate7:
borinquenkid Mar 8, 2026
b79b287
hibernate7:
borinquenkid Mar 8, 2026
ef7f1ce
hibernate7:
borinquenkid Mar 9, 2026
abaa38b
hibernate7: cleanup TraitPropertyAccessStrategy
borinquenkid Mar 9, 2026
f791e4d
hibernate7: SubClassBinder now returns a list of subclasses
borinquenkid Mar 9, 2026
3a1bbaa
hibernate7: 1 Refactor subclass binders to internally create Hibernat…
borinquenkid Mar 9, 2026
d1bdac6
hibernate7: clean up constructor of SubclassMappingBinder
borinquenkid Mar 9, 2026
18da254
hibernate7: Modify NaturalIdentifierBinder to accept GrailsHibernate…
borinquenkid Mar 10, 2026
8e4f5a7
liquibase-hibernate7-oss fork
borinquenkid Mar 10, 2026
d774afc
partial linting commit.
borinquenkid Mar 10, 2026
eb885c1
hibernate 7: further linting and testing
borinquenkid Mar 10, 2026
ec9e023
hibernate 7: cleaning and testing HibernateSpringBeanDatabase
borinquenkid Mar 10, 2026
aef5c0e
hibernate 7: added more robustness to ChangeLogParser
borinquenkid Mar 10, 2026
a25dff3
hibernate 7: added GormColumnSnapshotGeneratorSpec
borinquenkid Mar 10, 2026
4601826
hibernate 7: added GormDatabaseSpec
borinquenkid Mar 10, 2026
087d7bb
hibernate 7 GrailsLiquibaseSpec
borinquenkid Mar 11, 2026
db80b65
hibernate 7 GroovyChangeSpec
borinquenkid Mar 11, 2026
1a38b41
hibernate 7 ChangedColumnChangeGenerator
borinquenkid Mar 11, 2026
dd92e80
hibernate 7 ChangedSequenceChangeGenerator
borinquenkid Mar 11, 2026
c227011
dbmigration: added specs for Generators
borinquenkid Mar 11, 2026
ab0c61a
dbmigration: added specs for Generators
borinquenkid Mar 11, 2026
0ca04a0
hibernate 7: refactor ClassBinder
borinquenkid Mar 12, 2026
d6c3684
hibernate 7: CacheConfig usage and include are now enums
borinquenkid Mar 12, 2026
9984a6b
hibernate 7: GrailsHibernatePersistentEntity.java: Added a default g…
borinquenkid Mar 12, 2026
dbe04cb
hibernate 7: Ensuring robust identifier handling through the
borinquenkid Mar 12, 2026
61a4f25
hibernate 7: Consolidated Identity logic
borinquenkid Mar 12, 2026
94dc6e0
hibernate 7: reducing arguments to HibernatePersistentEntity
borinquenkid Mar 12, 2026
b55d18f
hibernate 7: reducing arguments to HibernatePersistentEntity
borinquenkid Mar 12, 2026
0cf3281
hibernate 7: refactoring RootBinder
borinquenkid Mar 13, 2026
70775c2
hibernate 7: using more HibernatePersistentEntity
borinquenkid Mar 13, 2026
eea8d27
hibernate 7: clean up ClassPropertiesBinder.bindClassProperties
borinquenkid Mar 14, 2026
4db2987
hibernate 7: first step in encapsulating Table inside of HibernatePe…
borinquenkid Mar 14, 2026
1062c8f
hibernate 7: Refactoring signature of GrailsPropertyBinder
borinquenkid Mar 14, 2026
4e20853
hibernate 7: Refactoring signature of OneToOneBinder
borinquenkid Mar 14, 2026
80dc543
hibernate 7: Refactoring signature of EnumTypeBinder
borinquenkid Mar 14, 2026
5e4e1c1
hibernate 7: Refactoring CollectionBinder
borinquenkid Mar 15, 2026
12c237d
hibernate 7: Refactoring ForeignKeyOneToOneBinder
borinquenkid Mar 15, 2026
12bcc66
hibernate 7: remove unnecessary collection arguments
borinquenkid Mar 15, 2026
cdf0b68
hibernate 7 refactoring EnumTypeBinder
borinquenkid Mar 15, 2026
d412af8
hibernate 7 temp
borinquenkid Mar 16, 2026
5c9ecac
hibernate 7 temp
borinquenkid Mar 16, 2026
6e0abf6
minor fixes
borinquenkid Mar 17, 2026
20ff4c7
PredicateGenerator throws correct exception
borinquenkid Mar 17, 2026
1c7b105
better fixes for PredicateGenerator
borinquenkid Mar 17, 2026
0a9cc2a
hibernate 7: refactor ManyToOneBinder
borinquenkid Mar 17, 2026
ae5d320
hibernate 7: refactor ManyToOneBinder
borinquenkid Mar 17, 2026
1318b8d
hibernate 7: refactor ComponentBinder
borinquenkid Mar 17, 2026
d1eee79
hibernate 7: refactor EnumTypeBinder
borinquenkid Mar 17, 2026
a172b56
hibernate 7: update BindCollectionElementBinderSpec
borinquenkid Mar 18, 2026
64052ca
hibernate 7: refactor BindCollectionElementBinder
borinquenkid Mar 18, 2026
9003465
hibernate 7: refactor BindCollectionElementBinder to EnumTypeBinder
borinquenkid Mar 18, 2026
840fd60
hibernate 7:
borinquenkid Mar 19, 2026
bf1d4df
hibernate 7:
borinquenkid Mar 19, 2026
889458c
hibernate 7:
borinquenkid Mar 19, 2026
04a9041
hibernate 7:
borinquenkid Mar 20, 2026
2c5ea3c
hibernate 7:
borinquenkid Mar 20, 2026
2b65553
hibernate 7:
borinquenkid Mar 20, 2026
da7b79d
hibernate 7:
borinquenkid Mar 20, 2026
25698ec
hibernate 7:
borinquenkid Mar 20, 2026
e1de371
hibernate 7:
borinquenkid Mar 20, 2026
506d69d
hibernate 7:
borinquenkid Mar 20, 2026
921c97c
hibernate 7:
borinquenkid Mar 20, 2026
4a8fdd9
hibernate 7:
borinquenkid Mar 20, 2026
1fb626b
hibernate 7:
borinquenkid Mar 21, 2026
5cd0b68
hibernate 7:
borinquenkid Mar 21, 2026
61db8e6
hibernate 7:
borinquenkid Mar 21, 2026
230bb94
hibernate 7:
borinquenkid Mar 22, 2026
6371219
hibernate 7:
borinquenkid Mar 22, 2026
4fd80ac
hibernate 7: linting
borinquenkid Mar 22, 2026
832ddb8
hibernate 7: linting
borinquenkid Mar 22, 2026
402690e
hibernate 7: linting and EventListenerIntegrator tightening
borinquenkid Mar 22, 2026
ad038d9
hibernate 7: Internally DataSource Connection.DEFAULT value was incor…
borinquenkid Mar 22, 2026
ec22a38
hibernate 7: added more validations for GrailsHibernateUtil
borinquenkid Mar 22, 2026
2baf5fa
hibernate 7: more linting
borinquenkid Mar 22, 2026
fe558c7
hibernate 7:
borinquenkid Mar 22, 2026
4bd0764
hibernate 7:
borinquenkid Mar 23, 2026
515ec3c
hibernate 7:
borinquenkid Mar 23, 2026
b760584
hibernate 7:
borinquenkid Mar 23, 2026
a0c5838
hibernate 7:
borinquenkid Mar 23, 2026
af9c94c
hibernate 7:
borinquenkid Mar 24, 2026
3209616
hibernate 7:
borinquenkid Mar 24, 2026
b940162
hibernate 7:
borinquenkid Mar 24, 2026
3d0c862
hibernate 7:
borinquenkid Mar 24, 2026
c7ab80c
mongo: split H7 specs from the rest
borinquenkid Mar 25, 2026
bacd5fa
mongo: fix MongoContainers for latest version of Docker
borinquenkid Mar 25, 2026
6eef167
mongo: starts MongoDatastoreSpec
borinquenkid Mar 25, 2026
d6414a1
mongo: fix tests
borinquenkid Mar 25, 2026
17160e2
hibernate: fix PagedResultList
borinquenkid Mar 25, 2026
8d5789f
hibernate: Pending checks
borinquenkid Mar 25, 2026
2d7682f
hibernate: RAT
borinquenkid Mar 25, 2026
0975eff
hibernate: PMD
borinquenkid Mar 25, 2026
29559c0
hibernate: OptimisticLockingSpec
borinquenkid Mar 25, 2026
ae21bb2
hibernate: linting
borinquenkid Mar 26, 2026
1e2e7f7
hibernate: fixed broken tests
borinquenkid Mar 26, 2026
c9ae2ec
hibernate: linting
borinquenkid Mar 26, 2026
0609920
hibernate: linting
borinquenkid Mar 26, 2026
948bab9
gorm: separating core GORM tests from implementations. Some tests mar…
borinquenkid Mar 27, 2026
0ef4d19
1) Stabilized Multi-DataSource Support
borinquenkid Mar 28, 2026
2b7199d
spring 4.0 integration hit hibernate 7 branch
borinquenkid Mar 29, 2026
18eaf6b
Finalize Hibernate 7 multi-datasource support and Spring Boot 4 modul…
borinquenkid Mar 29, 2026
63b3e7a
Updated GrailsCodeStylePlugin to aggregate all linting violations int…
borinquenkid Mar 29, 2026
6aa1d89
The GrailsCodeStylePlugin now supports consolidated style violation r…
borinquenkid Mar 29, 2026
216cef3
hibernate 7: linting
borinquenkid Mar 29, 2026
cd2c8d1
hibernate 7: linting and expanding tests
borinquenkid Mar 29, 2026
5d11c06
chore: fix CodeNarc violations in grails-datamapping-tck and improve …
borinquenkid Mar 30, 2026
4aea0cb
chore: fix final CodeNarc indentation violation in grails-datamapping…
borinquenkid Mar 30, 2026
980cbe9
chore: fix Apache Rat audit failures
borinquenkid Mar 30, 2026
b8b16f8
fix: various build and test failures in Hibernate 7 and GSP modules
borinquenkid Mar 30, 2026
8d9b371
datamapping-core complilation
borinquenkid Mar 30, 2026
240b972
codenarc
borinquenkid Mar 30, 2026
ac62344
linting
borinquenkid Mar 31, 2026
e36e38a
Merge remote-tracking branch 'jamesfredley/spring-boot-4' into 8.0.x-…
borinquenkid Mar 31, 2026
713487d
testing violations plugins
borinquenkid Apr 1, 2026
a004b00
chore: fix grails-data-hibernate7-dbmigration tests and compatibility
borinquenkid Apr 1, 2026
64310a7
chore: fix SpotBugs violations in grails-data-hibernate7-dbmigration
borinquenkid Apr 1, 2026
e8ee4ba
hibernate7 codeNarc fixes
borinquenkid Apr 1, 2026
e649743
refactor: change SimpleValueBinder constructor visibility to private
borinquenkid Apr 1, 2026
6929305
refactor: BasicValueIdCreator and SimpleValueBinder refactoring
borinquenkid Apr 1, 2026
1a7eb80
refactor: encapsulate identifier resolution in BasicValueIdCreator
borinquenkid Apr 1, 2026
e90fb81
Merge branch 'spring-boot-4' into 8.0.x-hibernate7
jamesfredley Apr 1, 2026
c6bb085
fix: DynamicFinder boolean+OR query junction logic
jamesfredley Apr 2, 2026
0d8f43d
fix: @DelegateAsync AST transform classloader regression
jamesfredley Apr 2, 2026
20131c0
fix: restore non-hibernate7 test coverage
jamesfredley Apr 2, 2026
cb25275
Merge branch 'fix/restore-non-hibernate7-test-coverage' into 8.0.x-hi…
jamesfredley Apr 2, 2026
2cf2ad1
refactor: rename BasicValueIdCreator to BasicValueCreator and consoli…
borinquenkid Apr 1, 2026
c8944ed
style: fix CodeNarc violations in TCK specs
jamesfredley Apr 2, 2026
ecf8caf
refactor: rename of HibernateProperty hierarchy
borinquenkid Apr 2, 2026
6fd8c13
Merge remote-tracking branch 'origin/8.0.x-hibernate7' into 8.0.x-hib…
borinquenkid Apr 2, 2026
33f1a2f
test: expand HibernateProxyHandler7Spec to match hibernate5 test cove…
jamesfredley Apr 2, 2026
e0e272c
fix: add Groovy proxy support to HibernateProxyHandler.isInitialized()
jamesfredley Apr 2, 2026
1a66edc
Merge branch '8.0.x-hibernate7' into 8.0.x-hibernate7-dev
borinquenkid Apr 2, 2026
148d718
refactor: address Copilot review feedback on PR #15548
jamesfredley Apr 2, 2026
8a035be
fix: normalize Groovy GString to String in Hibernate 7 criteria queries
jamesfredley Apr 2, 2026
6641b98
Merge pull request #15549 from apache/fix/h7-multi-datasource-execute…
jamesfredley Apr 2, 2026
2687842
refactor: replace DSL identity config with typed identity properties …
borinquenkid Apr 2, 2026
101d0bc
Merge branch '8.0.x-hibernate7' into 8.0.x-hibernate7-dev
borinquenkid Apr 2, 2026
fbced2d
refactor: move generator name resolution into HibernatePersistentProp…
borinquenkid Apr 2, 2026
14dd3f8
test: add getGeneratorName() coverage to HibernatePersistentPropertySpec
borinquenkid Apr 2, 2026
67fb91e
refactor: throw MappingException in getIdentityProperty() instead of …
borinquenkid Apr 2, 2026
a7830a6
refactor: simplify binder signatures; fix composite identity parts type
borinquenkid Apr 3, 2026
e0b59e1
refactor: remove RootClass param from IdentityBinder.bindIdentity
borinquenkid Apr 3, 2026
8bdc7e3
fix: H7 merge upserts correctly and mutates caller instance
borinquenkid Apr 3, 2026
93c5928
test: DetachedCriteria list returns PagedResultList only when max is set
borinquenkid Apr 3, 2026
6382464
fix: remove double populateArgumentsForCriteria call in DetachedCrite…
borinquenkid Apr 3, 2026
9598b9d
Merge remote-tracking branch 'origin/spring-boot-4' into 8.0.x-hibern…
jamesfredley Apr 3, 2026
945c907
fix: PagedResultList totalCount leaks ORDER BY into COUNT query on H2
borinquenkid Apr 3, 2026
8c2ae2e
test: restore multi-row validation for findAll* boolean property finders
borinquenkid Apr 3, 2026
eaacee2
H7: incorrect messages
borinquenkid Apr 3, 2026
78b8b36
Merge branch '8.0.x-hibernate7' into 8.0.x-hibernate7-dev
borinquenkid Apr 3, 2026
1497ea4
H7: fix style violations and update agent guidelines
borinquenkid Apr 3, 2026
9d723a8
H7: update agent guidelines for test aggregation
borinquenkid Apr 3, 2026
d52a9e5
H7: make test aggregation more robust by scanning all root directories
borinquenkid Apr 3, 2026
6658a08
fix: DefaultUrlCreator generates correct URL for controller-only links
borinquenkid Apr 3, 2026
9c79935
fix: remove @PendingFeatureIf from many-to-many sorting test in H5
borinquenkid Apr 3, 2026
6cc9fda
Merge pull request #15548 from apache/fix/groovy-proxy-isinitialized
jamesfredley Apr 3, 2026
e2d9374
Merge pull request #15550 from apache/8.0.x-hibernate7-dev
jdaugherty Apr 4, 2026
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
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ indent_size = 4
indent_style = space
insert_final_newline = true
spaces_around_operators = true
wildcard_import_limit = 999
wildcard_import_limit = 999
imports_layout = java.**, |, javax.**, |, groovy.**, org.apache.groovy.**, org.codehaus.groovy.**, |, jakarta.**, |, *, |, io.spring.**, org.springframework.**, |, grails.**, org.apache.grails.**, org.grails.**, |, $*
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# .git-blame-ignore-revs
# Reformat code: https://github.com/apache/grails-core/pull/14925
20c3278683f2993e23c947c409eafa978c0aefb7
# Reformat code for hibernate 7
811bacd377678e22bac6308065da28b1caa17700
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ on:
push:
branches:
- '[4-9]+.[0-9]+.x'
- '8.0.x-hibernate7.*'
pull_request:
# The branches below must be a subset of the branches above
branches:
- '[4-9]+.[0-9]+.x'
- '8.0.x-hibernate7.*'
# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
push:
branches:
- '[0-9]+.[0-9]+.x'
- '8.0.x-hibernate7.*'
pull_request:
workflow_dispatch:
# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
Expand All @@ -43,18 +44,27 @@ jobs:
with:
develocity-access-key: ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
- name: "🔎 Check Core Projects"
run: ./gradlew codeStyle
run: |
mkdir -p build/reports/codestyle
./gradlew codeStyle --continue 2>&1 | tee build/codestyle-output.log || true
# Extract Spotless violations into a separate report
sed -n '/The following files had format violations:/,/Run.*spotlessApply.*to fix all violations\./p' build/codestyle-output.log > build/reports/codestyle/spotless-violations.txt || true
# Fail the step if the Gradle build actually failed
grep -q "BUILD SUCCESSFUL" build/codestyle-output.log
- name: "📤 Upload Failure Reports"
if: always()
uses: actions/upload-artifact@v7.0.0
with:
name: core-reports
path: build/reports/codestyle/
path: |
build/reports/codestyle/
**/build/reports/pmd/
**/build/reports/spotbugs/
- name: "📋 Publish Code Style Report in Job Summary"
if: always()
run: |
echo "## 🔎 Code Style Report - Core Projects" >> $GITHUB_STEP_SUMMARY
for file in build/reports/codestyle/checkstyle/*.xml build/reports/codestyle/codenarc/*.xml; do
for file in build/reports/codestyle/spotless-violations.txt build/reports/codestyle/checkstyle/*.xml build/reports/codestyle/codenarc/*.xml; do
[ -f "$file" ] || continue
if grep -q "<error " "$file" || grep -q "<Violation " "$file"; then
echo "### ❌ $(basename $file .xml)" >> $GITHUB_STEP_SUMMARY
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
push:
branches:
- '[0-9]+.[0-9]+.x'
- '8.0.x-hibernate7.*'
pull_request:
workflow_dispatch:
# Queue jobs - cancel in-progress PR runs when new commits pushed, but allow branch builds to complete
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/groovy-joint-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ name: "CI - Groovy Joint Validation Build"
on:
push:
branches:
- '[4-9]+.[0-9]+.x'
- '[0-9]+.[0-9]+.x'
- '8.0.x-hibernate7.*'
pull_request:
branches:
- '[4-9]+.[0-9]+.x'
- '[0-9]+.[0-9]+.x'
- '8.0.x-hibernate7.*'
workflow_dispatch:
# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
concurrency:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/rat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ name: "Licensing - RAT Report"
on:
push:
branches:
- '[4-9]+.[0-9]+.x'
- '[3-9]+.[3-9]+.x'
- license-audit
- '[0-9]+.[0-9]+.x'
- '8.0.x-hibernate7.*'
pull_request:
branches:
- '[4-9]+.[0-9]+.x'
- '[3-9]+.[3-9]+.x'
- license-audit
- '[0-9]+.[0-9]+.x'
- '8.0.x-hibernate7.*'
workflow_dispatch:
# queue jobs and only allow 1 run per branch due to the likelihood of hitting GitHub resource limits
concurrency:
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,20 @@ prodDb.mv.db
testWatchedFile.properties
_alternativeTable.gsp
**/src/en/ref/Versions/Grails BOM.adoc
**/src/en/ref/Versions/Grails BOM Hibernate5.adoc
**/src/en/ref/Versions/Grails BOM Hibernate7.adoc
stacktrace.log
target
tmp/
!grails-fields/src/main/groovy/org/grails/scaffolding/registry/output
!etc/bin
etc/bin/results
.vscode/
report01.txt
report02.txt
settings5.gradle
settings6.gradle
STATE_SNAPSHOT.xml
0_build_grails.txt
*_VIOLATIONS.md
/TEST_FAILURES.md
36 changes: 16 additions & 20 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export GRADLE_OPTS="-Xms2G -Xmx5G"
8. **No internal APIs in docs** - Only document public APIs; never reference internal or package-private classes and methods in user-facing documentation
9. **Test via public APIs** - Tests must exercise behavior through the same APIs an end user calls; never invoke internal implementations, package-private methods, or bypass the public surface directly
10. **Always review and extend tests** - Review existing unit and functional tests before making changes; every code change must include new or enhanced tests that cover the affected behavior
11. **Every code touch must update all tests for the changed class** - When a class is modified, find and update every test that covers it — unit, integration, and TCK. Do not leave any existing test out of sync with the new code.
12. **Clean violations before commit** - Before every automated commit, run `./gradlew clean test aggregateTestFailures --continue` from the root and ensure that `TEST_FAILURES.md` reports no issues and is removed.

## Available Skills

Expand Down Expand Up @@ -229,8 +231,9 @@ class MyService { }
1. **Fork & branch** from the target release branch (e.g., `7.0.x`)
2. **Run tests** before submitting: `./gradlew build --rerun-tasks`
3. **Run code style checks**: `./gradlew codeStyle`
4. **Squash commits** into a single meaningful commit message
5. **Reference issues** in PR description (e.g., "Fixes #1234")
4. **Clean style violations**: Before committing, run `./gradlew clean aggregateStyleViolations` from the root and ensure that `CHECKSTYLE_VIOLATIONS.md`, `CODENARC_VIOLATIONS.md`, and `PMD_VIOLATIONS.md` have no issues.
5. **Squash commits** into a single meaningful commit message
6. **Reference issues** in PR description (e.g., "Fixes #1234")

### Review Process

Expand Down
16 changes: 16 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<!--
SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

# Code of Conduct

Apache Grails follows the ASF [Code of
Expand Down
4 changes: 4 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/index.html
This product includes software developed by the OpenSymphony Group (http://www.opensymphony.com/). It uses Sitemesh2,
licensed under the OpenSymphony Software License, Version 1.1. See licenses/LICENSE-opensymphony.txt for the full license terms.

Liquibase Hibernate Integration
This product includes software developed by Liquibase.org (http://www.liquibase.org) and its contributors.
Licensed under Apache License, Version 2.0.

Spring Framework ORM Hibernate 5 Support
This product includes software from the Spring Framework project (https://spring.io/projects/spring-framework),
vendored from Spring Framework 6.2.x. These classes were removed in Spring Framework 7.0.
Expand Down
4 changes: 0 additions & 4 deletions RENAME.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,10 @@ Below is a reference of all migrated artifacts - both their old and new name.
| org.grails.plugins | hibernate5 | org.apache.grails | grails-data-hibernate5 | | | grails-data-mapping |
| org.grails.plugins | database-migration | org.apache.grails | grails-data-hibernate5-dbmigration | | | grails-data-mapping |
| org.grails | gorm-hibernate5-spring-boot | org.apache.grails | grails-data-hibernate5-spring-boot | | | grails-data-mapping |
| org.grails.plugins | hibernate6 | org.apache.grails | grails-data-hibernate6 | | | grails-data-hibernate6 |
| org.grails.plugins | database-migration | org.apache.grails | grails-data-hibernate6-dbmigration | | | grails-data-hibernate6 |
| org.grails | gorm-hibernate6-spring-boot | org.apache.grails | grails-data-hibernate6-spring-boot | | | grails-data-hibernate6 |
| org.grails | grails-datastore-gorm-async | org.apache.grails.data | grails-datamapping-async | | | grails-data-mapping |
| org.grails | grails-datastore-gorm | org.apache.grails.data | grails-datamapping-core | | | grails-data-mapping |
| org.grails | grails-datastore-gorm-test | org.apache.grails.data | grails-datamapping-core-test | | | grails-data-mapping |
| org.grails | grails-datastore-gorm-hibernate5 | org.apache.grails.data | grails-data-hibernate5-core | | | grails-data-mapping |
| org.grails | grails-datastore-gorm-hibernate6 | org.apache.grails.data | grails-data-hibernate6-core | | | grails-data-hibernate6 |
| org.grails | grails-datastore-gorm-mongodb | org.apache.grails.data | grails-data-mongodb-core | | | grails-data-mapping |
| org.grails | grails-datastore-gorm-mongodb-ext | org.apache.grails.data | grails-data-mongodb-ext | | | grails-data-mapping |
| org.grails | grails-datastore-gorm-mongodb-bson | org.apache.grails.data | grails-data-mongodb-bson | | | grails-data-mapping |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import org.gradle.api.artifacts.DependencyConstraint
import org.gradle.api.artifacts.ExcludeRule
import org.gradle.api.artifacts.ModuleDependency
import org.gradle.api.artifacts.component.ModuleComponentSelector
import org.gradle.api.artifacts.component.ProjectComponentSelector
import org.gradle.api.artifacts.result.DependencyResult
import org.gradle.api.artifacts.result.ResolvedDependencyResult
import org.gradle.api.file.ConfigurableFileCollection
Expand Down Expand Up @@ -188,6 +189,13 @@ abstract class ExtractDependenciesTask extends DefaultTask {
}

ResolvedDependencyResult dep = (ResolvedDependencyResult) result

// Skip project dependencies (e.g. platform(project(':grails-bom'))) since their
// constraints are already captured through the explicit constraints population
if (dep.requested instanceof ProjectComponentSelector) {
continue
}

ModuleComponentSelector moduleComponentSelector = dep.requested as ModuleComponentSelector

// Any non-constraint via api dependency should *always* be a platform dependency, so expand each of those
Expand Down
13 changes: 13 additions & 0 deletions build-logic/plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ dependencies {
implementation "${gradleBomDependencies['grails-publish-plugin']}"
implementation "org.gradle.crypto.checksum:org.gradle.crypto.checksum.gradle.plugin:${gradleProperties.gradleChecksumPluginVersion}"
implementation "org.cyclonedx.bom:org.cyclonedx.bom.gradle.plugin:${gradleProperties.gradleCycloneDxPluginVersion}"
implementation "com.diffplug.spotless:spotless-plugin-gradle:${gradleProperties.spotlessVersion}"
implementation "com.github.spotbugs.snom:spotbugs-gradle-plugin:${gradleProperties.spotbugsPluginVersion}"

testImplementation "org.spockframework:spock-core:${gradleBomDependencyVersions['gradle-spock.version']}"
testImplementation gradleTestKit()
}

tasks.named('test') {
useJUnitPlatform()
}

gradlePlugin {
Expand Down Expand Up @@ -74,5 +83,9 @@ gradlePlugin {
id = 'org.apache.grails.buildsrc.repo'
implementationClass = 'org.apache.grails.buildsrc.GrailsRepoSettingsPlugin'
}
register('grailsTestAggregation') {
id = 'org.apache.grails.gradle.test-aggregation'
implementationClass = 'org.apache.grails.buildsrc.GrailsTestPlugin'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class GradleUtils {
def v = findProperty(project, name)
return v == null ? null : Integer.valueOf(v as String) as T
}
if (type && (type == Boolean || type == boolean.class)) {
def v = findProperty(project, name)
return v == null ? null : Boolean.parseBoolean(v as String) as T
}

findProperty(project, name) as T
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,31 @@ import groovy.transform.CompileStatic
import org.gradle.api.Project
import org.gradle.api.file.DirectoryProperty
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.Property

@CompileStatic
class GrailsCodeStyleExtension {

/**
* Defaults to project.buildDir/checkstyle.
* Defaults to project.rootProject.buildDir/codestyle/checkstyle.
* Default checkstyle files will be written here and used from this location.
*/
final DirectoryProperty checkstyleDirectory

/**
* Defaults to project.buildDir/codenarc.
* Defaults to project.rootProject.buildDir/codestyle/spotless.
* Directory for Spotless configuration files (e.g. greclipse.properties).
*/
final DirectoryProperty spotlessDirectory

/**
* Defaults to project.rootProject.buildDir/codestyle/pmd.
* Directory for PMD configuration files (e.g. pmd.xml).
*/
final DirectoryProperty pmdDirectory

/**
* Defaults to project.rootProject.buildDir/codestyle/codenarc.
* Default codenarc files will be written here and used from this location.
*/
final DirectoryProperty codenarcDirectory
Expand All @@ -50,10 +63,16 @@ class GrailsCodeStyleExtension {
@Inject
GrailsCodeStyleExtension(ObjectFactory objects, Project project) {
checkstyleDirectory = objects.directoryProperty().convention(
project.rootProject.layout.buildDirectory.dir('checkstyle')
project.rootProject.layout.buildDirectory.dir('codestyle/checkstyle')
)
spotlessDirectory = objects.directoryProperty().convention(
project.rootProject.layout.buildDirectory.dir('codestyle/spotless')
)
pmdDirectory = objects.directoryProperty().convention(
project.rootProject.layout.buildDirectory.dir('codestyle/pmd')
)
codenarcDirectory = objects.directoryProperty().convention(
project.rootProject.layout.buildDirectory.dir('codenarc')
project.rootProject.layout.buildDirectory.dir('codestyle/codenarc')
)
reportsDirectory = objects.directoryProperty().convention(
project.rootProject.layout.buildDirectory.dir('reports/codestyle')
Expand Down
Loading
Loading