3081 Commits

Author SHA1 Message Date
Chris Cranford
0f2ced4668 - Add new configuration setting ALLOW_JTA_TRANSACTION_ACCESS. Uses can use this setting to
override default JPA behavior for transaction access if needed.
- Added new SPI method accessTransaction() which bypasses checks and returns the current or new transaction.
2016-05-06 13:12:38 -05:00
Steve Ebersole
f826b7d5e8 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (test fixup) 2016-05-06 13:12:38 -05:00
Steve Ebersole
52fd42ebb4 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Query#getHints) 2016-05-06 13:12:38 -05:00
Steve Ebersole
d06055a951 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Query#getHints) 2016-05-06 13:12:38 -05:00
Andrea Boriero
71f69b09a6 Fix LockTimeoutPropertyTest 2016-05-06 13:12:37 -05:00
Steve Ebersole
71009d0da4 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Steve Ebersole
9ecb2a3deb HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Steve Ebersole
1c1783e90f HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Steve Ebersole
b67b5866ac HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Steve Ebersole
68bde01676 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Chris Cranford
6e5a4e6335 Fix javadoc/comments to indicate ordinals are stored 0-based rather than 1-based. 2016-05-06 13:12:37 -05:00
Steve Ebersole
5a328d1d72 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Steve Ebersole
66802a70c1 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Steve Ebersole
1ece6056d1 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures) 2016-05-06 13:12:37 -05:00
Steve Ebersole
4ad242799a HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (misc) 2016-05-06 13:12:37 -05:00
Andrea Boriero
614d406e8c fix ValidatorFactory2PhaseInjectionTest 2016-05-06 13:12:37 -05:00
Steve Ebersole
7ce75e4080 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (autoClear fix) 2016-05-06 13:12:37 -05:00
Andrea Boriero
c4378c1c9d Fix not masked properties 2016-05-06 13:12:37 -05:00
Andrea Boriero
4f1bca75bc Fix JPA Transaction#commit() does not throw RollbacackException 2016-05-06 13:12:36 -05:00
Andrea Boriero
3637bd342d Fix RefreshTest 2016-05-06 13:12:36 -05:00
Andrea Boriero
d6a3fdb771 Fix EntityManagerFactoryClosedTest 2016-05-06 13:12:36 -05:00
Chris Cranford
fd7ada315e Fixed NullPointerException when building session. 2016-05-06 13:12:36 -05:00
Chris Cranford
a54da750ad Fixed failing tests and code to treat '?' parameters as 0-based ordinals and '?<position>' parameters as named 1-based parameters. 2016-05-06 13:12:36 -05:00
Steve Ebersole
8a746b98a7 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (stored procedure queries) 2016-05-06 13:12:36 -05:00
Chris Cranford
affa6a086c Fix FlushMode 2016-05-06 13:12:36 -05:00
Andrea Boriero
1e6a601795 Fix NonNullableCircularDependencyCascadeTest 2016-05-06 13:12:36 -05:00
Steve Ebersole
bedb33decf HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Interceptor handling) 2016-05-06 13:12:36 -05:00
Andrea Boriero
8f812730d1 Fix setLockMode 2016-05-06 13:12:36 -05:00
Andrea Boriero
bec73b3bd3 Fix MultiCircleJpaCascadeTest#testPersistNoCascadeToTransient() test 2016-05-06 13:12:36 -05:00
Andrea Boriero
9e4b90e72a Fix test transactionCoordinator.isActive() check 2016-05-06 13:12:35 -05:00
Andrea Boriero
7570baed15 Fix issue with jta getTransaction() 2016-05-06 13:12:35 -05:00
Chris Cranford
ad7771d489 Removed an unnecessary check. 2016-05-06 13:12:35 -05:00
Chris Cranford
35f27be589 Changed positional parameter mappings to be stored as list.
Added JPA positional and named parameter translation support.
2016-05-06 13:12:35 -05:00
Steve Ebersole
8ef423a1b3 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (have HibernateException extend JPA PersistenceException) 2016-05-06 13:12:35 -05:00
Andrea Boriero
f4d8a9d850 Fix unwarp for SharedSessionContractImplementor 2016-05-06 13:12:35 -05:00
Andrea Boriero
b352756377 Fix ManipulationCriteriaTest 2016-05-06 13:12:35 -05:00
Andrea Boriero
da4ee5bbac Fix issue with getMetamodel() called before its initialization 2016-05-06 13:12:35 -05:00
Andrea Boriero
4f72bd0cef Fix guessType() method refactoring 2016-05-06 13:12:35 -05:00
Andrea Boriero
3839fc8c8b Fix ParameterTest 2016-05-06 13:12:35 -05:00
Andrea Boriero
13ce7148ae Fix closing entity manager that uses a closed session factory, must throw IllegalStateException 2016-05-06 13:12:35 -05:00
Chris Cranford
c10c006b0d Fix ordinal bind parameter binding to fix SQLLoaderTest testCompositeIdId. 2016-05-06 13:12:35 -05:00
Andrea Boriero
33c4f3b5b5 fix Session#refresh() exception 2016-05-06 13:12:35 -05:00
Steve Ebersole
d2ac092992 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods) 2016-05-06 13:12:35 -05:00
Steve Ebersole
5e37492490 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods) 2016-05-06 13:12:34 -05:00
Steve Ebersole
2c96937587 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods) 2016-05-06 13:12:34 -05:00
Steve Ebersole
8e6d51d56d HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (added org.hibernate.boot.spi.SessionFactoryOptions.isJpaBootstrap) 2016-05-06 13:12:34 -05:00
Andrea Boriero
2d2e496e10 Fix MasterDetailTest 2016-05-06 13:12:34 -05:00
Steve Ebersole
482771ad99 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (initial compilation and work on hibernate-entitymanager tests) 2016-05-06 13:12:34 -05:00
Steve Ebersole
a7a039e291 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:34 -05:00
Steve Ebersole
16c78f0438 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:34 -05:00