Andrea Boriero
94f23dd2d5
EntityInitializer and DelayedCollectoinAssembler see if we have an existing entry in the PC for the EntityKey
2020-03-09 18:45:31 +00:00
Andrea Boriero
e61f610e32
EntityFetchDelayedInitializer check if the entity instance has been already loaded
2020-03-09 18:45:31 +00:00
Andrea Boriero
587a2b0e35
Fix NPE when a fetched association is null
2020-03-09 18:45:31 +00:00
Andrea Boriero
90cd4e5c8f
fix issue with circularity detection
2020-03-09 18:45:31 +00:00
Andrea Boriero
1df4824d5f
Move more tests to o.h.orm.test
2020-03-09 18:45:31 +00:00
gavinking
2dd745110d
Add SqlSelection.getExpressionType() and remove some typecasts
2020-03-09 13:40:37 -05:00
gavinking
a1a85e2517
Fixes for subqueries in HQL select clause
...
Allow subqueries to occur in the select list, and allow their aliases to occur
in the order by clause.
2020-03-09 13:40:37 -05:00
gavinking
76000201eb
Support HQL 'any'/'some', 'every'/'all', and 'exists' subquery operators
...
- 'exists' and 'not exists' are predicates
- 'any'/'some' are expression used on RHS of comparison operators, but
note that they also collide with the HQL aggregate functions of the
same name
2020-03-09 13:40:37 -05:00
Andrea Boriero
e0ffa498b1
Add one more test
2020-03-09 18:23:44 +00:00
Andrea Boriero
b5080b555f
Fix issue initializing an Entity with an array collection
2020-03-09 18:23:44 +00:00
Andrea Boriero
a7ecba4f5b
Remove @FailureExpected from ArrayTests
2020-03-09 18:23:44 +00:00
Koen Aers
23f2cc584b
Verify array support: add 'EntityOfArrays' case to the GambitDomainModel and the PluralAttributeMappingTests
...
Signed-off-by: Koen Aers <koen.aers@gmail.com>
2020-03-09 18:23:44 +00:00
Koen Aers
86fa0d5fed
Verify array support: Make PluralAttributeBuilder also recognize array types
...
Signed-off-by: Koen Aers <koen.aers@gmail.com>
2020-03-09 18:23:44 +00:00
Koen Aers
9d9a240917
Verify array support: Add a basic test fixture
...
Signed-off-by: Koen Aers <koen.aers@gmail.com>
2020-03-09 18:23:44 +00:00
Steve Ebersole
7f26deac93
Improved README.md
...
- mention TravisCI in addition to Jenkins
- minor re-org
2020-03-09 13:12:57 -05:00
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
Andrea Boriero
2bda2d1fd2
Fix a Test Case Guide adoc error
2020-02-28 16:47:16 +00:00
Andrea Boriero
c7e551afe7
Add a Test Case Guide adoc
2020-02-28 10:19:18 -06: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
The Geeky Asian
5501a40dd2
HHH-13855 - Remove unnecessary delared variable JtaManager in HibernatePersistenceProviderAdaptor
...
In the HibernatePersistenceProviderAdaptor, there is an unnecessary declaration of JtaManager. The sole purpose of having this variable is only to use in the overridden method named InjectJtaManager.
This was be improved by removing the JtaManager as there is no use of the variable, as of now at least.
2020-02-24 21:13:06 +00: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
Daniel Shuy
cab651e194
HHH-13799 : Criteria API support for Hibernate Spatial ( #3159 )
...
* HHH-13799 : Criteria API support for Hibernate Spatial
Co-authored-by: Karel Maesen <karel@geovise.com>
2020-02-24 14:42:48 +01: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
Arend v. Reinersdorff
3c67d521e1
Fix typo "fare more" -> "far more"
2020-02-20 16:03:52 +00: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