Commit Graph

7038 Commits

Author SHA1 Message Date
Steve Ebersole 60dd63536e HHH-10726 - Support for Java 8 date/time types as Query parameters 2016-05-06 13:12:38 -05:00
Steve Ebersole d44bacedd0 HHH-10674 - SessionFactoryObserver could use a sessionFactoryAboutToClose method 2016-05-06 13:12:38 -05:00
Steve Ebersole 6cb8ef26ac HHH-10674 - SessionFactoryObserver could use a sessionFactoryAboutToClose method 2016-05-06 13:12:38 -05:00
Steve Ebersole 11fc090557 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (migrate HEM tests - first attempt) 2016-05-06 13:12:38 -05:00
Andrea Boriero 2e1d1a6f16 Fix TransactionJoiningTest 2016-05-06 13:12:38 -05:00
Steve Ebersole 2a252d5015 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (test fixup) 2016-05-06 13:12:38 -05:00
Chris Cranford f30c879bca Removed checkOpen() from accessTransaction() 2016-05-06 13:12:38 -05:00
Steve Ebersole 7b3570149d HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (test fixup) 2016-05-06 13:12:38 -05:00
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
Andrea Boriero c79ff0f7ee Fix PackagedEntityManagerTest 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 a765335563 Fixed mapping problem with field named "from". 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