Nathan Xu
38effc6191
fix HashMap constructor with expected size usage error
2020-03-09 12:47:29 -05:00
Andrea Boriero
abe1e656f7
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-03-03 16:59:30 +00:00
Andrea Boriero
5bf772c59d
HHH-13322 Fix test
2020-03-02 11:48:54 +00:00
Nathan Xu
188c05cc33
HHH-13322 Fix Oracle dialect's 'getQuerySequencesString()' issue by limiting to current schema
2020-03-02 10:31:18 +00:00
Nathan Xu
c9190e45f8
Remove unused imports
2020-03-02 09:51:44 +00:00
Nathan Xu
d8d8d6e112
Fix some obvious log or exception message issues
2020-02-28 08:12:45 +00:00
Nathan Xu
09c33446ff
modernize legacy code via JDK7's diamond operator
2020-02-26 10:06:14 +00:00
Sanne Grinovero
b856d534cb
HHH-13876 Remove unused code from StandardStack
2020-02-26 09:59:23 +00:00
Sanne Grinovero
e65ef1354c
HHH-13876 Delete the immutable SingletonStack implementation as its no longer used
2020-02-26 09:44:17 +00:00
Sanne Grinovero
90c669108b
HHH-13876 Remove method Stack#getPrevious as its unused and contains a bug
2020-02-26 09:42:06 +00:00
Davide D'Alto
4e58006f10
HHH-13878 Make some private methods in Loader protected
...
This way we can reduce the amount of copy and paste in Hibernate Rx.
2020-02-26 09:35:44 +00:00
Davide D'Alto
fe52328ab6
HHH-13878 Remove final from SessionImpl#internalLoad
...
In Hibernate RX we need to override this method.
2020-02-26 09:35:44 +00:00
Nathan Xu
06a26fe5c6
enrich existing tesing case by SQL inspect
2020-02-26 09:21:39 +00:00
Nathan Xu
5e5bef71e6
verify bidirectional collection circular reference detection
2020-02-26 09:21:39 +00:00
Nathan Xu
bb8ceaea1d
Fix an obvious bug in AbstractLimitHandler
2020-02-26 09:19:22 +00:00
Vlad Mihalcea
c76675f11a
Changes according to PR review. Requires rebase!
2020-02-25 11:46:13 -06:00
Vlad Mihalcea
c7aaf31cbe
HHH-13879 - Slow query log should use System#nanoTime not System#currentTimeMillis
2020-02-25 11:46:13 -06:00
Gail Badner
a7261ad053
HHH-13875 : Optional one-to-one does not always join the associated entity table when querying
2020-02-24 12:28:22 -08:00
Gail Badner
b060b21851
HHH-13875 : Added test cases
2020-02-24 12:28:22 -08:00
gavinking
3545de74ea
fix logic for interpreting HQL literal enum values
...
Note that this feature still doesn't work because we still
can't get a MappingModelExpressable from an SqmEnumLiteral.
2020-02-22 15:19:31 +01:00
The Geeky Asian
b914b02dca
HHH-13874 - Removing the @author added.
...
The newly added @author in the previous commit or deprecation messages has been removed in this commit.
2020-02-21 06:11:37 -06:00
The Geeky Asian
e98e89d806
HHH-13874 - Messages added for the deprecated methods.
2020-02-21 06:11:37 -06:00
The Geeky Asian
c4bd5937e3
HHH-13874 - Deprecating methods that will be removed soon
...
Two methods that are dropped in v6.0 are now marked as deprecated in this commit.
As discussed in the removal PR https://github.com/hibernate/hibernate-orm/pull/3229
2020-02-21 06:11:37 -06:00
Nathan Xu
e9df1cb626
HHH-13853 fix minor issue
2020-02-21 12:04:12 +00:00
Vlad Mihalcea
d9a335c429
HHH-13872 - Make the Java Stream close the underlying ScrollableResultsIterator upon calling a terminal operation
2020-02-21 06:03:42 -06:00
The Geeky Asian
e808041477
HHH-13856 - Long-awaited TODOs done as an improvement
...
1. TODO: Remove duplicate method from ConstraintConstaint.java currently has two duplicate methods. 1. getColumnIterator()2. columnIterator()
Both the methods return the same value i.e. column.iterator().
One of them needs to be removed in order to reduce and clean the duplication.
2. TODO: Change method name for getXmlFiles in BaseCoreFunctionalTestCaseCurrently, in BaseCoreFunctionalTestCase a method named getXmlFiles()has a TODO placed that suggests the method name to be changed to getOrmXmlFiles().
Since the method has a protected scope, there is a possibility it is being used by other clients. Hence, changing the method name in minor versions might break the code for clients.
2020-02-20 10:54:50 -06:00
w1ida
28b8cebf9d
HHH-13873 IdTableHelper can skip opening a connection when there's no statements to execute
2020-02-20 15:15:59 +00:00
Nathan Xu
86a8106696
correct an obvious coding bug
2020-02-20 07:06:43 -06:00
gavinking
b1d7bad4ef
Move a couple of log messages to ConnectionPoolingLogger
...
For consistency.
2020-02-20 12:08:07 +01:00
gavinking
78423a8d55
Move Dialect logging to DialectFactoryImpl
...
As suggested by @Sanne.
2020-02-20 12:06:45 +01:00
Steve Ebersole
285b7d8696
@Version support
...
- improved design where EntityVersionMapping simply has a (delayed) reference to the version attribute and provides easier access to often used information
2020-02-19 13:56:26 -06:00
Christian Beikov
28b5f493b9
Determine type of self rendering function lazily during type access
2020-02-19 12:13:19 -06:00
Steve Ebersole
ab6d1953d6
initial work on @Version support
...
- by side effect fixed batch collection loading
2020-02-19 12:10:16 -06:00
gavinking
1503f09a41
Log usage of deprecated Dialect classes using DeprecationLogger
...
We want people to stop using the ones annotated @Deprecated.
2020-02-19 08:57:04 -06:00
Nathan Xu
60ead26c4b
Disallow FQN as entity name in Jpa compliance mode
2020-02-19 08:54:36 -06:00
gavinking
c97fb45a02
Remove FrontBaseDialect
...
I can't find evidence that anyone uses this on StackOverflow, and the Dialect
is not of high quality.
2020-02-19 08:48:40 -06:00
gavinking
7267b418c5
Rename SAPDBDialect to MaxDBDialect
...
(Leaving a stub SAPDBDialect class for backward compatibility.)
2020-02-19 08:35:34 -06:00
Steve Ebersole
e43c5a3166
https://github.com/asciidoctor/asciidoclet/pull/91
...
- work in progress as the PR did not fix the problems
2020-02-19 08:30:57 -06:00
gavinking
5d830ceebf
Attempt to reconstruct the fallbackSqmMutationStrategies
...
This method threw lots of NotImplementedFor6Exceptions, so I've tried
to figure out what the right implementations are, going by what was
there in the other branches. However, I'm not at all sure that I got
everything here right.
2020-02-19 07:07:00 -06:00
Fabio Massimo Ercoli
ccc3c58367
HH-13720 Test mapping model support for plural attributes - sorted map
2020-02-19 06:52:38 -06:00
Steve Ebersole
1042f23bee
HHH-13103 - Allow Hibernate Types to get access to the current configuration properties using constructor injection
2020-02-18 15:22:05 -06:00
Vlad Mihalcea
c346171b23
HHH-13103 - Allow Hibernate Types to get access to the current configuration properties
2020-02-18 15:22:05 -06:00
Vlad Mihalcea
9084ce497e
HHH-13853 - Pass the merged Integration settings and Persistence Unit properties to buildBootstrapServiceRegistry
2020-02-18 11:42:51 -06:00
Andrea Boriero
8defa9619e
Remove NavigablePath#hashCode field
2020-02-18 16:33:03 +00:00
Andrea Boriero
c355ecee08
Fix issue with FromClauseIndex#findFetchedJoinByPath for hql 'from entity1 e1 join fetch e1.entity2 e2 join fetch e2.entity3' not resolving entity3 fetch join during EntityResultImpl creation
2020-02-17 18:07:00 +00:00
Andrea Boriero
d77adbfc13
Add FailureExpcted to EmbeddedTest for @Parent annotation
2020-02-17 18:07:00 +00:00
Andrea Boriero
9d7c4f98e3
Fix compilation error after rebase
2020-02-17 18:07:00 +00:00
Andrea Boriero
529726f59a
Remove unused import
2020-02-17 18:07:00 +00:00
Andrea Boriero
6cfbed73ba
Fix issue with hql and where clause with Embeddable is null
2020-02-17 18:07:00 +00:00
Andrea Boriero
efb07506f2
Fix test
2020-02-17 18:07:00 +00:00