Andrea Boriero
1c840f9dd1
HHH-12858 HHH-13432 fix Oracle failing tests
2019-10-18 13:15:48 +01:00
Gail Badner
93a07453f0
HHH-13634 : Fix test case queries to order results
2019-10-17 12:04:19 -07:00
Gail Badner
42de569a37
HHH-13634 : PersistenceContext can get cleared before load completes using StatelessSessionImpl
2019-10-17 09:46:58 -07:00
Gail Badner
eccb786ba4
HHH-13634 : Test cases
2019-10-17 09:46:58 -07:00
Yoann Rodière
6cdb0256d4
HHH-13666 Test custom BeforeTransactionCompletionProcess/AfterTransactionCompletionProcess
2019-10-17 15:54:16 +02:00
Yoann Rodière
5c8169ba7c
HHH-13666 Re-use the wrapped exception's message upon beforeTransactionCompletion/afterTransactionCompletion failure
...
For convenience.
2019-10-17 15:54:16 +02:00
Yoann Rodière
f9c149ab0d
HHH-13666 Throw a HibernateException with a more appropriate message upon beforeTransactionCompletion/afterTransactionCompletion failure
2019-10-17 15:54:16 +02:00
Yoann Rodière
250f569339
HHH-13666 Clarify that existing BeforeCompletion/AfterCompletion tests are about JTA only
2019-10-17 15:54:16 +02:00
Yoann Rodière
8655d683e6
HHH-13666 Remove some dead code in tests related to transactions
2019-10-17 15:54:16 +02:00
Gail Badner
81d5f5eb21
HHH-13633 : Fix test case queries to order results
2019-10-16 13:53:53 -07:00
Gail Badner
388b62f049
HHH-13633 : Bugs join-fetching a collection when scrolling with a stateless session using enhancement as proxy
...
Make corrections.
(cherry picked from commit 40a7cee13d
)
2019-10-16 11:27:35 -07:00
Gail Badner
ce19b83e4e
HHH-13633 : Add tests including for no HibernateProxy factory
...
(cherry picked from commit 5aa421d697
)
2019-10-16 11:27:35 -07:00
Gail Badner
20d6b53631
HHH-13633 : Bugs join-fetching a collection when scrolling with a stateless session using enhancement as proxy
...
Minor changes suggested by Andrea.
(cherry picked from commit cce634f03b
)
2019-10-16 11:27:35 -07:00
Gail Badner
f1fa438bbe
HHH-13633 : Bugs join-fetching a collection when scrolling with a stateless session using enhancement as proxy
...
(cherry picked from commit b589251166
)
2019-10-16 11:27:35 -07:00
Gail Badner
e2a403e19d
HHH-13633 : Added more tests based on renamed original (w/ and w/o bytecode enhancement)
...
(cherry picked from commit 9ad427a33e
)
2019-10-16 11:27:35 -07:00
Andrea Boriero
38ff41c896
HHH-13633 : Add test for issue
...
(cherry picked from commit 1d8f93ca64
)
2019-10-16 11:27:35 -07:00
Gail Badner
fb8d5b42c9
HHH-13640 : Correct DefaultLoadEventListener#proxyOrLoad to work properly enhancement but no HibernateProxy factory
2019-10-15 10:47:33 -07:00
Gail Badner
66afff296a
HHH-13640 : Add test using custom EntityTuplizer with no HibernateProxy factory using Session
2019-10-15 10:47:33 -07:00
Andrea Boriero
c392d03bf1
HHH-13665 selecting an Entity annotated with @Immutalbe but not with @Cachable causes a NPE when use_reference_entries is enabled
2019-10-15 11:02:04 +01:00
Andrea Boriero
8d9eb04d16
HHH-13665 Add test for issue
2019-10-15 11:02:04 +01:00
Gail Badner
e10e84159a
HHH-13640 : Remove SharedSessionContractImplementor#internalLoad(String, Serializable, boolean, boolean, Boolean unwrapProxy)
2019-10-14 11:40:00 -07:00
Gail Badner
c21ecb511c
HHH-13640 : Added/modified tests
2019-10-14 11:39:59 -07:00
Francisco A. Lozano
8f96d7e1e9
HHH-4235 MapBinder.createFormulatedValue() does not honor DB schema name when creating query
2019-10-14 10:29:58 +01:00
Andrea Boriero
2985c1db98
HHH-4235 Add test for issue
2019-10-14 10:27:11 +01:00
Sanne Grinovero
14b6330a32
HHH-13663 Have the test actually use ThreadLocalSessionContext
2019-10-11 10:59:29 +01:00
Sanne Grinovero
1d64a386cd
HHH-13663 adjust formatting style
2019-10-11 10:44:39 +01:00
mimmoz81
26edb2863f
HHH-13663 Method setHibernateFlushMode not callable without an active transaction on threadbound Sessions
2019-10-11 10:41:53 +01:00
Sanne Grinovero
9d6463eab6
HHH-13662 Avoid initializing XmlMappingBinderAccess when no XML mappings are defined
2019-10-10 10:27:52 +01:00
Sanne Grinovero
404bc196f7
HHH-13660 Removing dead parameter: forceFetchLazyAttributes
2019-10-09 11:57:56 +01:00
Sanne Grinovero
9dd6b8439b
HHH-13660 Reduce allocation costs of IdentityMaps used by ResultSetProcessingContextImpl
2019-10-09 11:57:53 +01:00
Gail Badner
d6376834a7
HHH-13640 : Minor improvement
2019-10-07 12:22:51 +01:00
Andrea Boriero
cec4228d70
HHH-13640 - Fix initialization of existing proxy association leaf subclass
2019-10-07 12:22:51 +01:00
Gail Badner
c712b83955
HHH-13653 : More test cases
2019-10-07 07:58:45 +01:00
Andrea Boriero
3c1f4356dd
HHH-13653 Uninitialized entity does not get initialized when a setter is called with enhancement-as-proxy enabled
2019-10-07 07:58:45 +01:00
Steve Ebersole
ab508d2afa
HHH-12858 - integration overrides during JPA bootstrap ought to override all logically related settings
...
HHH-13432 - Have EntityManagerFactory expose persistence.xml `jta-data-source` element as a `javax.persistence.nonJtaDataSource` property
2019-10-05 23:03:09 -05:00
Steve Ebersole
fd72e4f75f
HHH-12858 - integration overrides during JPA bootstrap ought to override all logically related settings
...
HHH-13432 - Have EntityManagerFactory expose persistence.xml `jta-data-source` element as a `javax.persistence.nonJtaDataSource` property
2019-10-05 22:45:29 -05:00
Chris Cranford
d95c16e9ab
HHH-13655 Fix NullPointerException for audited MapKeyEnumerated collections with basic value types
2019-10-04 19:28:20 -04:00
Gail Badner
00f45951da
HHH-13653 : Test case
2019-10-03 23:54:23 -07:00
Steve Ebersole
b350599442
HHH-12858 - integration overrides during JPA bootstrap ought to override all logically related settings
...
- e.g. a datasource passed in the integration overrides map ought to effectively override JDBC-connection settings in `persistence.xml` (and vice-versa)
HHH-13432 - Have EntityManagerFactory expose persistence.xml `jta-data-source` element as a `javax.persistence.nonJtaDataSource` property
2019-10-03 16:03:43 +01:00
Andrea Boriero
2bc7fed96e
HHH-13640 - Add PrepareStatement executed check to LazyToOnesProxyWithoutSubclassesTest
2019-10-02 16:19:54 +01:00
Gail Badner
616f549f8c
HHH-13640 : Added failing test where a proxy is found in PersistenceContext, but it does not have a subclass
2019-10-01 17:32:45 -07:00
Chris Cranford
b606759e61
HHH-10398 Allow MOD column naming to be driven by a strategy
...
* Fixed javadoc comments
* Various code suggested code changes from review
2019-10-01 10:38:57 -04:00
Chris Cranford
f78877a607
HHH-10398 Allow MOD column naming to be driven by a strategy
...
* Fixes OSGI integration with missing service lookup registration
2019-10-01 10:38:57 -04:00
Chris Cranford
3ecdd860a3
HHH-10398 Allow MOD column naming to be driven by a strategy
...
In the past the MOD columns were constructed based on the property name,
therefore if users specified a @Column/@JoinColumn like annotation and
changed the underlying schema column, the MOD column would continue to
be derived based on the property name.
This enhancement introduces a new ModifiedColumnNamingStrategy SPI that
comes with two implementations, a default/legacy mode that maintains
the prior naming model and an improved mode that will derive the MOD
name based on the naming strategy ORM used to derive the column name.
2019-10-01 10:38:57 -04:00
Steve Ebersole
0084f82b1a
Merge branch 'master' of github.com:hibernate/hibernate-orm
2019-10-01 09:26:57 -05:00
Steve Ebersole
ee304305e8
HHH-13640 - Uninitialized HibernateProxy mapped as NO_PROXY gets initialized when reloaded with enhancement-as-proxy enabled
2019-10-01 09:25:09 -05:00
Steve Ebersole
d46d3d66a2
HHH-13432 - EntityManagerFactory no longer exposes "javax.persistence.nonJtaDataSource"
2019-10-01 09:25:09 -05:00
Steve Ebersole
1dfb25bbbb
HHH-13432 - EntityManagerFactory no longer exposes "javax.persistence.nonJtaDataSource"
2019-09-30 08:03:57 -05:00
Andrea Boriero
5d4eb8004b
5.4.6
2019-09-30 13:28:19 +01:00
Andrea Boriero
39e576cea4
5.4.6
2019-09-30 11:51:40 +01:00