Yoann Rodière
4264bc55ac
HHH-14563 Remove the DOM4J dependency from hibernate-core
2021-04-19 15:39:35 +02:00
Andrea Boriero
badc99705a
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge
2021-04-16 13:19:16 +02:00
Yoann Rodière
2907c95cbd
HHH-14529 Introduce JAXB bindings for JPA's orm.xml
...
Adapted from Steve's work on the unified JPA/ORM XML mapping. See:
4ff3795e60 (diff-b407928c3aa7ee1f231e0119ff70345caa5f6a83ed6348128c5159afbe3c6df2)
https://github.com/sebersole/hibernate-orm/compare/jandex-binding
Co-authored-by: Steve Ebersole <steve@hibernate.org>
2021-04-15 14:01:28 +02:00
Andrea Boriero
e67d10ee6c
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-04-07 09:19:21 +02:00
Christian Beikov
b166e684e1
Skip certain LockTests for Oracle on GH Actions which don't work there
2021-04-06 16:12:19 +02:00
Steve Ebersole
31b1627baa
HHH-14506 - IdentifierGenerator changes
...
- HHH-14491 - Apply default allocation/increment size for @GeneratedValue(AUTO)
- HHH-14492 - Prefer sequence-per-entity (hierarchy) by default
- HHH-14497 - Drop `hibernate.id.new_generator_mappings` & `hibernate.model.generator_name_as_sequence_name`
- enabled existing tests and convert to JUnit5
2021-03-17 18:00:22 -05:00
Andrea Boriero
6d124a7c6d
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-01-14 11:34:06 +01:00
Yoann Rodière
6396cd17a2
HHH-14371 Open java.base/java.lang to the unnamed module in javassist tests
...
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-12-14 14:02:18 +00:00
Yoann Rodière
8e3bf43a18
HHH-14371 Open java.base/java.security and java/base/java.lang to the unnamed module in tests
...
Weld needs this, in CDI tests.
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-12-14 14:02:18 +00:00
Yoann Rodière
27c5980a20
HHH-14371 Open java.base/java.nio.charset to the unnamed module in tests
...
NamingHelper test needs access to Charset.defaultCharset.
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-12-14 14:02:18 +00:00
Yoann Rodière
f6a9338f97
HHH-14371 Correctly set JVM args in the JVM running tests
...
Turns out getJvmArgs() returns a copy, so modifying that copy won't
change the JVM args.
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-12-14 14:02:18 +00:00
Yoann Rodière
85b84ef6bd
HHH-14315 Force JVM options when using toolchains
...
Apparently Gradle won't just use the same options as in its own JVM.
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Yoann Rodière
9616e24c80
HHH-14315 Add optional support for toolchains to the Gradle build
...
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Andrea Boriero
798f327f68
Revert "fix issue with not compiling tests"
...
This reverts commit fc914ea647
.
2020-07-30 18:32:38 +01:00
Andrea Boriero
fc914ea647
fix issue with not compiling tests
2020-07-30 18:08:35 +01:00
Nathan Xu
61cd51a4c8
get rid of javassist
2020-07-30 10:15:26 -05:00
Steve Ebersole
b658e903d7
HHH-14033 - SQL script parsing problem with multi-line comments
...
- Better handling of multi-line comments
- Restructured some internal classes to consolidate packages
- Added "system"-style SchemaToolingLogging
2020-05-19 12:25:34 -05:00
Sanne Grinovero
6dd7d09ba0
Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
...
This reverts commit 60abc8aa76
.
2020-05-11 18:00:07 +01:00
Andrea Boriero
3bc33221f0
Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
...
This reverts commit 60abc8aa76
.
2020-04-24 13:26:37 +01:00
Andrea Boriero
88d65adafb
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_35
2020-04-20 13:44:39 +01:00
Andrea Boriero
0a5ae91c08
fix errors after merge
2020-04-20 12:37:33 +01:00
Andrea Boriero
a0b4566264
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_34
2020-04-20 12:17:22 +01:00
Sanne Grinovero
60abc8aa76
HHH-13950 Apply the mass replace script to switch to Jakarta Validation API
...
For reference, this is the script being applied:
find . -type f -name '*\..java' -o -name '*.\.adoc' -o -name '*.\.gradle' | xargs sed -i 's/javax\.validation/jakarta\.validation/g'
2020-04-20 12:16:36 +01:00
Sanne Grinovero
3f2a4947a7
HHH-13952 Remove dependency to Arquillian as its no longer used
2020-04-17 14:27:19 +01:00
Sanne Grinovero
1aa2e858ba
HHH-13952 Remove all WildFly based integration tests
2020-04-17 14:27:19 +01:00
Sanne Grinovero
2b279c6a83
HHH-13952 Remove our ability to build the Wildfly feature pack and run integration tests on WildFly
2020-04-17 14:27:19 +01:00
Andrea Boriero
299826b9b7
HHH-13937 Get rid of junit5 compile-time dependencies
2020-04-14 14:23:29 +01:00
Andrea Boriero
5c86c4a805
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_29
2020-04-09 07:37:11 +01:00
Andrea Boriero
b897a36f2f
Fix issue with generated pom missing project description
2020-04-06 18:21:11 +01:00
Steve Ebersole
40d0c8580e
Merge remote-tracking branch 'upstream/master' into wip/6.0
...
- up to the point of upgrading Gradle version for wrapper to 5.6.3
2020-04-01 11:32:00 -05:00
Yoann Rodière
2f32169249
HHH-13689 Replace uses of the deprecated osgi plugin with the biz.aQute.bnd plugin
...
https://docs.gradle.org/5.0-milestone-1/release-notes.html#deprecated-osgi-plugin
2020-04-01 10:54:56 -05:00
Yoann Rodière
cee0fce043
HHH-13685 Replace uses of deprecated classifier property in Jar tasks with archiveClassifier
2020-04-01 09:53:13 -05:00
Steve Ebersole
00beab3ba9
Support for SQL script (import.sql) handling as part of schema tooling
2020-03-31 13:50:04 -05:00
Andrea Boriero
d88d4a8d7b
Re-enabled hibernate-orm-modules
2020-03-12 14:43:16 +00:00
Andrea Boriero
e889c76e49
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_21
2020-01-22 18:14:10 +00:00
Nathan Xu
bd472581a4
HHH-13802 add support of the various new tags so their warning won't show up
2020-01-06 07:14:17 -06:00
Steve Ebersole
99d4201730
Consolidated Antlr grammars into dedicated package
2019-12-16 15:17:30 -06:00
Andrea Boriero
1d4bb08ef7
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_16
2019-12-16 12:43:47 +00:00
Davide D'Alto
c4dc9b0d25
HHH-13704 Make javassist a compile time dependency again
...
This commit revert some of the changes so that we can release it in a micro
without breaking application using Javassist.
In the next minor it should be reverted.
2019-12-13 11:29:40 +00:00
Steve Ebersole
8600058784
HHH-13778: `@OrderBy` handling using SQL AST
...
- initial work - Antlr grammar, parse tree visitation and building OrderByFragment (translation) tree
- fixed bug in HQL parsing - was building an unnecessary HqlLexer instance
2019-12-12 11:58:37 -06:00
Davide D'Alto
76d2672122
HHH-13704 Make Javassist an optional dependency
...
* Change the gradle scope to `provide`
* Add the dependency to the OSGi test bundle
HHH-13704 Add Javassist to the dependencies for the OSGi test
2019-12-12 10:33:32 +00:00
Andrea Boriero
79c83cf8ba
Merge remote-tracking branch 'upstream/master' into wip/6.0
2019-12-09 12:07:23 +00:00
Davide D'Alto
98101bfc52
HHH-13759 Add AssertJ for testing Hibernate Core
2019-12-03 12:13:56 +00:00
Steve Ebersole
dd0b6a9da3
Revert "HHH-13656 Con not build and run test on Eclipse IDE"
...
This reverts commit f6fad942df
.
2019-11-08 07:07:56 -06:00
Steve Ebersole
7e34be04db
Revert "HHH-13656 Can not build and run test on Eclipse IDE"
...
This reverts commit 0f859e7bb4
.
2019-11-08 06:50:59 -06:00
Steve Ebersole
2cc517e349
Revert "HHH-13656 Can not build and run test on Eclipse IDE"
...
This reverts commit 85f129daeb
.
2019-11-08 06:50:38 -06:00
Steve Ebersole
d200fa9545
xjc plugin via portal
2019-11-07 14:11:28 -06:00
Steve Ebersole
e522cbe542
preliminary work on replacing LoadPlan with SQL AST approach - basic working support
2019-11-07 13:42:57 -06:00
hailtondecastro
85f129daeb
HHH-13656 Can not build and run test on Eclipse IDE
...
Eclipse windows
2019-11-01 11:23:36 -05:00
hailtondecastro
0f859e7bb4
HHH-13656 Can not build and run test on Eclipse IDE
...
Eclipse windows
2019-11-01 11:23:36 -05:00
hailtondecastro
f6fad942df
HHH-13656 Con not build and run test on Eclipse IDE
...
Eclipse windows
2019-11-01 11:23:36 -05:00
Steve Ebersole
26ff169db2
6 - SQM based on JPA type system
2019-09-12 10:42:27 +01:00
Yoann Rodière
aa2648d878
HHH-13043 Upgrade to JAXB 2.3.1
...
... which has a correctly formatted POM, and doesn't wreak havoc in
projects depending on us and using Maven + JDK11.
2018-11-23 13:39:39 +01:00
Yoann Rodière
653b123276
HHH-12990 Remove unnecessary dependencies to JSR-250 when generating JAXB classes
...
It seems these dependencies were not necessary at all, even before the
previous patches.
2018-10-17 11:50:45 +02:00
Yoann Rodière
5fd97472b9
HHH-12946 Enable JAXB dependencies regardless of the JDK being used when building Hibernate ORM
...
Previously we would only add the dependency when building with JDK9+,
and we built all releases using JDK8.
This means the dependencies were useless, because they would never be
mentioned in the actual POMs published to users.
2018-10-17 11:43:03 +02:00
Yoann Rodière
2daa3811c6
HHH-12946 Remove unnecessary dependencies when building with JDK9+
...
We don't need to depend on JAXB's compiler (XJC) in our modules,
we just need the dependency in specific tasks during the build.
In particular we don't want users to transitively depend on XJC.
Also, we don't need an explicit dependency to JAXB in every module,
having one in hibernate-core is enough.
2018-10-17 11:43:03 +02:00
Yoann Rodière
51ab9f744d
HHH-12946 Add explicit dependencies to JAXB APIs where relevant
2018-10-17 11:43:03 +02:00
Yoann Rodière
530ab1569e
HHH-12946 Use constants for JAXB dependencies instead of inline strings
...
We may have to update these dependencies, let's make it easy.
2018-10-17 11:43:03 +02:00
Sanne Grinovero
e15a9080ea
HHH-12762 No longer needing to use port-offset in WildFly integration tests
2018-10-13 00:02:50 +01:00
Sanne Grinovero
4eb726ef4c
HHH-12950 Use the Annotation Processor specific scopes of Gradle
2018-09-04 23:02:26 +01:00
Vlad Mihalcea
440a2ef490
HHH-12929 - Add AtomikosJtaPlatform implementation
2018-09-03 17:17:09 +03:00
Fabio Massimo Ercoli
3d1d1d2d98
HHH-12793 Upgrade Karaf, pax-exam and reenable the OSGi tests
2018-07-12 12:11:53 +02:00
Sanne Grinovero
a3d39bbf96
HHH-12758 Arquillian JVM configuration for integration tests is ignoring system properties
2018-07-02 19:59:45 +01:00
Guillaume Smet
afbec8856c
HHH-12724 Add javax.activation as a dependency
...
It is required by JAXB now that JDK 9 does not provide it anymore.
2018-06-26 12:01:06 +02:00
Andrea Boriero
80bf92e32a
HHH-12620 fix test dependencies
2018-05-25 11:56:00 -04:00
smarlow
b34f615200
HHH-12620 some test dependencies
2018-05-25 11:56:00 -04:00
Steve Ebersole
82f2aa0d5d
HHH-12474 - Make sure the JPA version is defined by a single property across build files
...
added HibernateVersion following pattern of JpaVersion
2018-04-30 10:38:34 -05:00
Andrea Boriero
e2b7317560
HHH-12474 - Make sure the JPA version is defined by a single property across build files
2018-04-11 21:54:21 +01:00
Steve Ebersole
c14180ea5b
HHH-12410 - Cannot use AttributeConverter with spatial types
...
HHH-12443 - Introduce TypeConfiguration
2018-03-29 23:16:33 -05:00
Sanne Grinovero
0e597a03b5
HHH-11253 Revert dependency change on Javassist: still needed
2018-03-02 16:46:41 +00:00
Sanne Grinovero
0f5c3a0abc
HHH-11253 Make Byte Buddy BytecodeProvider impl the default
2018-03-02 12:19:18 +00:00
Andrea Boriero
9d335961b8
HHH-12246 - Gradle build fails with Java 9
2018-01-24 14:51:36 +00:00
Steve Ebersole
84f8b1d479
HHH-12190 - General tidying of Gradle scripts
...
- simple tidying
2018-01-16 15:47:05 -06:00
Steve Ebersole
644c74d470
HHH-12190 - General tidying of Gradle scripts
2018-01-16 14:34:43 -06:00
Steve Ebersole
d806eff912
HHH-12190 - General tidying of Gradle scripts
2018-01-16 14:34:43 -06:00
Brett Meyer
da80ad1a72
HHH-11366 made javax.inject optional in OSGi manifest
2018-01-02 16:31:21 -05:00
Steve Ebersole
554817baca
HHH-12171 - Fix tests for hibernate-orm-modules
2018-01-02 13:47:29 -06:00
Guillaume Smet
8e25e7f350
HHH-12164 Upgrade Hibernate Validator used for testing to 6.0.7.Final
2017-12-20 16:21:29 +00:00
Sanne Grinovero
bb204ba0dc
Revert "Fix CDI tests failing due to migrating to JPA 2.2"
...
This reverts commit dc91f76c4bd7b31e0ec5efb0e2d09a20e1842119.
Solution dc91f76c4bd7b31e0ec5efb0e2d09a20e1842119 is not acceptable:
it will have the tests seem to pass but the modules we produce would
not actually work for other people as the published modules won't
include the proposed workaround.
2017-12-15 14:30:15 +00:00
Vlad Mihalcea
a94faa9280
Fix CDI tests failing due to migrating to JPA 2.2
2017-12-13 06:19:32 -06:00
Steve Ebersole
7fc5d3e856
HHH-12098 - prep 5.3
2017-12-13 06:19:32 -06:00
Guillermo González de Agüero
20d17ec0f2
HHH-11805 Fix JACC cannot be enabled
2017-11-01 13:37:55 +02:00
Andrea Boriero
132767b4fb
HHH-12001 - Allow ORM to be built with Java 9
2017-09-21 22:10:05 +01:00
Vlad Mihalcea
2a9c0fe0dd
HHH-10654 - LockOptions.SKIP_LOCKED semantics implementation on MSSQL
2017-04-03 08:17:50 +03:00
Vlad Mihalcea
7c06d003dc
HHH-11457 - Add MariaDB specific Dialects
2017-02-15 12:08:34 +02:00
Steve Ebersole
71ec8907f6
HHH-11370 - Consider making javax.enterprise:cdi-api dependency "provided"
2017-01-12 21:53:54 -06:00
Gunnar Morling
7d3788c76a
HHH-11309 Marking OSGi package imports for ByteBuddy as optional
2017-01-02 17:57:28 +01:00
Steve Ebersole
2e49586adc
HHH-11152 - Byte Buddy BytecodeProvider
2016-11-16 13:46:24 -06:00
Rafael Winterhalter
ba3359fe62
HHH-11152: Added BytecodeProvider based on Byte Buddy
2016-11-16 13:18:46 -06:00
Jaikiran Pai
7247f05a21
HHH-10972 Use UTF-8 charset for reading file content of scripts that are used for initializing databases
2016-09-15 11:52:41 +03:00
Steve Ebersole
6c005239d4
HHH-11024 - Exception still thrown when dropping schema with a managed connection - exclude any arq+wf tests from JDK 9 builds
2016-08-08 15:53:55 -05:00
Steve Ebersole
f025cf9c03
HHH-11024 - Exception still thrown when dropping schema with a managed connection
2016-08-06 14:05:03 -05:00
Gunnar Morling
65bbf28d3c
HHH-10923 Upgrading CDI and related dependency versions
2016-07-26 15:16:25 +03:00
Steve Ebersole
b112e5af3f
HHH-10864 - Allow ORM to be built with Java 9
2016-06-18 15:12:23 -05:00
Steve Ebersole
fdd15307e0
HHH-10864 - Allow ORM to be built with Java 9
2016-06-17 13:40:44 -05:00
Steve Ebersole
015be3df6e
HHH-10864 - Allow ORM to be built with Java 9
2016-06-17 13:40:44 -05:00
Vlad Mihalcea
231484662b
HHH-10689 - Fix tests failing when switching to Oracle
2016-05-17 17:44:32 +03:00
Andrea Boriero
a6af7c6f74
remove gradle stupid log :)
2016-05-06 13:13:29 -05:00
Andrea Boriero
9ae57a6f7a
remove hibernate-entitymanager project
2016-05-06 13:13:29 -05:00
Andrea Boriero
37fc401da8
copy test from hem to core
2016-05-06 13:12:39 -05:00