Commit Graph

6846 Commits

Author SHA1 Message Date
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
Andrea Boriero 49514b92e3 Fix ImmutableNaturalIdTest 2016-05-06 13:12:34 -05:00
Andrea Boriero dc0033aa9d Fix IdClassTest 2016-05-06 13:12:34 -05:00
Andrea Boriero 44efc0162e Fix error causing ClearEventListenerTest failure 2016-05-06 13:12:34 -05:00
Chris Cranford d34153f52e FIx setProperties functionality. 2016-05-06 13:12:34 -05:00
Chris Cranford 713263a71c Fix SuppliedConnectionTest failure. 2016-05-06 13:12:34 -05:00
Steve Ebersole ebfab98f2e 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
Andrea Boriero d9ac176989 Fix for TuplizerDynamicEntityTest and ImprovedTuplizerDynamicEntityTest 2016-05-06 13:12:34 -05:00
Chris Cranford 16b0b74bd2 Fixed assertion errors and session.merge returning correct exceptions. 2016-05-06 13:12:34 -05:00
Chris Cranford 4e2f0f804d Fix typo 2016-05-06 13:12:33 -05:00
Chris Cranford 9076c78785 Fix TransactionRequiredException failures. 2016-05-06 13:12:33 -05:00
Andrea Boriero a9ffd13efb Fix SessionEventListenerManager serialization issue 2016-05-06 13:12:33 -05:00
Steve Ebersole 63e96a46ce 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:33 -05:00
Chris Cranford a340d11eea Fixed exception handling to expect IllegalArgumentException rather than QueryExceptioin 2016-05-06 13:12:33 -05:00
Andrea Boriero 4b2e96c6e9 Fix SecondaryTableTest 2016-05-06 13:12:33 -05:00
Andrea Boriero 7b107539db Fix BasicHibernateAnnotationsTest 2016-05-06 13:12:33 -05:00
Andrea Boriero d67db86f73 Fix EmbeddableIntegratorTest 2016-05-06 13:12:33 -05:00
Steve Ebersole 59ed7fa29b 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:33 -05:00
Andrea Boriero 5c5de945e5 HHH-10664 - Fix SortedSet issue 2016-05-06 13:12:33 -05:00
Chris Cranford b4b158aaff Fixed missing bound parameters not throwing QueryException 2016-05-06 13:12:33 -05:00
Chris Cranford 993e308e96 Fixed query-based read-only support during iteration. 2016-05-06 13:12:33 -05:00
Steve Ebersole 76bac3268a 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:33 -05:00
Andrea Boriero 34b439223e Fix ConfigurationTest 2016-05-06 13:12:32 -05:00
Andrea Boriero a0da5fe677 Fix some tests 2016-05-06 13:12:32 -05:00
Steve Ebersole e3ab793fe8 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:32 -05:00
Steve Ebersole 87e3f0fd28 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core) 2016-05-06 13:12:32 -05:00
Steve Ebersole 774b805ce1 initial HEM->CORE consolidation work 2016-05-06 13:11:18 -05:00
Dominique Toupin 15c83ab61b HHH-10332 - Disambiguate missing table name 2016-04-28 17:42:04 +03:00
Andrej Golovnin 58303884bd HHH-10382 - GetterFieldImpl creates unnecessary objects 2016-04-28 11:16:48 +03:00
Kirill Vlasov 2d8e9d66e2 Fixing squid:S2259 - Null pointers should not be dereferenced 2016-04-27 17:29:36 +03:00
Michael Schnell b3e260b234 HHH-1237 Escaping colon in queries 2016-04-26 10:08:54 +03:00
Gustavo Adolfo Rodríguez Libreros 5c724307c7 HHH-9570: Auto-detect SQL Server 2014
Copying a previous workaround for the same issue: https://github.com/hibernate/hibernate-orm/pull/395

- Previously, SQL Server version 12 (SQL Server 2014) was an unknown version, resulting in the SQLServerDialect
- Add version 12 to the switch statement so that SQLServer2012Dialect  is now returned by default, as SQL Server 2014 is much more similar to SQL Server 2012 than SQL Server 2000
- Add test case
- Add Oracle and SQL Server environments for testing purpose
2016-04-25 17:57:06 +03:00
Karel Maesen 5c8c794553 Updates Spatial Documentation 2016-04-19 08:38:47 +03:00