Commit Graph

2885 Commits

Author SHA1 Message Date
Andrea Boriero d35e29dc29 HHH-10433 - Fix hbm2ddl utils has a problem - release jdbc connection 2016-01-13 17:38:05 +00:00
Andrea Boriero 977c34bb59 HHH-10433 - Add test for issue 2016-01-13 17:37:56 +00:00
Steve Ebersole debc06d54e HHH-10422 - Backport HHH-9983 to fix identity IDs using Oracle12cDialect in 5.0 2016-01-13 11:31:29 -06:00
Sergey Astakhov 1ddcc7075f HHH-9474 Fixing perfomance issue with ElementCollection 2016-01-13 15:02:27 +00:00
Jaikiran 536b814dc8 HHH-10439 Log a message while executing the import script(s) 2016-01-13 14:31:08 +00:00
Steve Ebersole 5c77f279af HHH-4161 - persistence.xml <jar-file> not following JSR220 spec 2016-01-12 15:22:19 -06:00
Andrea Boriero 8670b4211e HHH-10385 HHH-10386 - Fix the @JoinColumn foreignKey is not taken into consideration when generating the association database schema 2016-01-12 18:57:14 +00:00
Andrea Boriero 504dd8353d HHH-10385 HHH-10386 - Add tests for issues 2016-01-12 18:53:58 +00:00
Andrea Boriero 5b42faa134 HHH-10437 - Fix NPE in PrimaryKey#addColumn(Column column) when getTable().getNameIdentifier() is null 2016-01-12 16:45:46 +00:00
Andrea Boriero a4dbbf447d HHH-10437 - Add test for issue 2016-01-12 16:45:46 +00:00
Steve Ebersole fd1ff34f03 HHH-5932 Fix filtering request with string literal starting with ':' (checkstyle fix) 2016-01-11 17:32:28 -06:00
Steve Ebersole a35abf43e9 HHH-9342 - HQL "x member of treat(y as Type).collections" fails to parse 2016-01-11 16:32:58 -06:00
Etienne Miret e2b58d1d20 HHH-5932 Fix filtering request with string literal starting with ':'. 2016-01-11 12:08:31 -06:00
Etienne Miret f52b841c5c HHH-5932 Add test case. 2016-01-11 12:08:31 -06:00
Etienne Miret 446aa84429 HHH-9357 Fix type() with joined inheritance and discriminator column.
Conflicts:
	hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
2016-01-09 22:26:37 -05:00
Etienne Miret ea64e67495 HHH-9357 Add test case for this issue. 2016-01-09 22:25:12 -05:00
Etienne Miret ea2d26e92e HHH-9356 Add a bunch of tests.
Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/convert/QueryTest.java
2016-01-09 21:57:22 -05:00
Etienne Miret 17e5f536bf HHH-9356 All arguments of a between are now given the same expected type. 2016-01-09 21:53:44 -05:00
Steve Ebersole abace003e6 HHH-5184 - Create a ConnectionAcquisitionMode as corollary to ConnectionReleaseMode 2016-01-08 13:41:16 -06:00
Steve Ebersole b1d1a3c143 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA 2016-01-08 11:12:58 -06:00
Andrea Boriero 3d237f67ba HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Refactoring 2016-01-08 11:39:26 +00:00
Koen Aers 9e89826f8f HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Solution 2016-01-08 11:39:26 +00:00
Koen Aers e9834f4810 HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Unit test demonstrating the issue 2016-01-08 11:39:25 +00:00
Andrea Boriero 3fb9577e50 HHH-10425 - Fix SchemaMigration creates foreign keys too early if across schema 2016-01-07 14:30:31 +00:00
Andrea Boriero df362e4568 HHH-10425 - Add test for issue 2016-01-07 14:29:49 +00:00
Andrea Boriero 96b8a31b18 HHH-10420 - Fix SchemaExport creates foreign keys too early if across schema 2016-01-07 11:07:14 +00:00
Andrea Boriero f6f9965133 HHH-10420 - Add test for issue 2016-01-07 11:07:14 +00:00
Gail Badner 6df1dccc05 HHH-10421 : Change "native" ID generator for Oracle12cDialect to SequenceStyleGenerator 2016-01-06 15:36:06 -08:00
Emmanuel Bernard 0c38cfc9d7 HHH-10419 Detect if the user inappropriately left @Convert.converter to void 2016-01-06 15:02:38 +01:00
Emmanuel Bernard bb7cb7636b HHH-10419 Factor converter instantiation exception error logic 2016-01-06 14:55:43 +01:00
Jan Martiska e65a883761 HHH-10395 ServiceBootstrappingTest assumes that show_sql != true 2015-12-21 16:32:34 -08:00
Yoann Rodière 0dea233ce3 HHH-10191 Fixed exceptions when a functional index exists. 2015-12-21 14:50:46 -08:00
Yoann Rodière be94481e33 HHH-10191 test case 2015-12-21 14:50:46 -08:00
Gail Badner 4c6941190a HHH-10383 : IN parameter is not enclosed in parenthesis 2015-12-21 13:26:10 -08:00
Andrea Boriero cb0729b59f HHH-10396 - Fix In a @OneToMany association with @JoinColum the @ForeignKey is not taken into consideration when generating the association database schema 2015-12-21 13:10:07 +00:00
Andrea Boriero 14c97f0b5b HHH-10396 - Add tests for the issue 2015-12-21 13:10:07 +00:00
Scott Marlow 96d4639e6c HHH-10384 Fix thread safety issues in thread local optimiser 2015-12-18 10:05:50 -05:00
Stuart Douglas bef14a5890 HHH-10384 Fix thread safety issues in thread local optimiser 2015-12-18 10:05:50 -05:00
barreiro 268a1eaa22 HHH-10252 - Trigger the lazy loading of cascading attributes 2015-12-16 15:07:13 -06:00
barreiro 601bdaa678 HHH-10252 - Add test case 2015-12-16 15:07:13 -06:00
Andrej Golovnin 328fa2363a HHH-10363 - The Cascade class makes unnecessary calls to the Reflection
API.
2015-12-16 15:01:01 -06:00
Steve Ebersole 153b8f26cc HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking 2015-12-16 14:38:01 -06:00
barreiro 6828f5ee9b HHH-10354 - Rename 'field access' to 'extended enhancement' 2015-12-16 13:56:56 -06:00
Steve Ebersole 20ebd8f5ca HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking 2015-12-16 13:49:31 -06:00
Scott Marlow 0c358d80f6 HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking 2015-12-16 13:03:40 -06:00
Torsten Schöne fe48897692 HHH-10353 Interceptor.afterTransactionBegin() is not fired 2015-12-16 12:19:58 -06:00
Karl von Randow 828a83dcbf HHH-10286 SessionFactoryImpl doesn't cache and reuse existing collection cache region access strategies 2015-12-16 12:08:37 -06:00
Eskil Bylund 5cc2175033 Fix missing parenthesis around composite properties in WHERE clauses
The currentClauseType field would not be correct if the query contained a
subquery.

Signed-off-by: Andrea Boriero <andrea@hibernate.org>
2015-12-16 10:48:30 +00:00
Andrea Boriero aefdda0978 HHH-10298 - Add new configuration type hibernate.hbm2dll.extra_physical_table_types 2015-12-15 16:48:12 +00:00
Andrea Boriero c7b8f73b46 HHH-10298 - Add test 2015-12-15 16:17:44 +00:00
Andrea Boriero 57975b98e4 HHH-10364 - Fix HSQL does not support Nationalized annotation 2015-12-15 15:31:43 +00:00
Andrea Boriero d63f25bab6 HHH-10364 - Add test for issue 2015-12-15 15:31:18 +00:00
Gail Badner c767b0ed15 HHH-9764 : StaleObjectStateExceptions raising outside flush context 2015-12-14 13:40:43 -08:00
Guenther Demetz 840d906cea Testcase for HHH-9764
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java
2015-12-14 13:40:43 -08:00
Ståle W. Pedersen a679528f71 HHH-10366 Check for trace logging before calling log method and unused method parameters 2015-12-14 17:52:27 +00:00
Sanne Grinovero c1cb413c2a HHH-10358 Make sure synchronization on AbstractLoadPlanBasedLoader is skipped when the guarded feature is disabled 2015-12-14 16:16:54 +00:00
Gail Badner 0a332c2e8d HHH-10369 : Unit test failure because Sybase trims trailing spaces
(cherry picked from commit 971783607e)
2015-12-08 18:29:34 -08:00
Gail Badner a7dac8fcf9 HHH-10368 : Unit test failure because Sybase does not support binding an untyped null object
(cherry picked from commit 0582dc1e8e)
2015-12-08 17:10:25 -08:00
Gail Badner c5120b0b19 HHH-10367 : Fix more DB reserved words used by tests
(cherry picked from commit 60625b19b2)
2015-12-08 16:44:58 -08:00
Andrea Boriero b33c6d4357 HHH-10366 - Fix checkstyle error 2015-12-08 18:13:09 +00:00
Ståle W. Pedersen c802042f1a HHH-10366 Improve performance and reduce CPU load when fetching reference cached objects
Removed a call to postLoad and afterInitialize for reference cached entities;
refactor methods, made some private, some final
try to optimize cached result
refactor out getPersister so it can be inlined
2015-12-08 16:55:58 +00:00
Andrea Boriero 4b4164f8e0 HHH-10331 - Fix HSQLDialect returns supportsTupleDistinctCounts false which seems wrong 2015-12-08 10:55:49 +00:00
Bobo Häggström 86c0746c0b HHH-10343 Fixed precision and scale for elements of basic types in persistent collections 2015-12-07 09:48:46 +00:00
Koen Aers 3267a9221f HHH-10158: SchemaUpdate does not properly support formatter and delimiter anymore 2015-12-04 18:33:26 +01:00
Koen Aers 71765d7bd2 HHH-10223: Element 'query-param' in *.hbm.xml files causes ClassCastException 2015-12-03 14:59:04 +01:00
Andrea Boriero 0638a5449c HHH-1122 - Fix hbm2ddl.SchemaUpdate has no delimiter 2015-12-03 09:56:43 +00:00
Andrea Boriero 6f985e2fa1 HHH-1122 - Add test for issue 2015-12-03 09:53:35 +00:00
Gail Badner 32b4087efc HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit 9858d29b56)
2015-12-02 16:34:31 -08:00
Andrea Boriero 6cdfd93bec HHH-10291 - Fix Partially generated composite attribute is not retrieved after insert 2015-12-02 16:31:10 +00:00
Steve Ebersole 8961937bbc HHH-10313 - Make SessionImplementor extend WrapperOptions 2015-11-30 11:24:06 -06:00
Steve Ebersole 704671e17d HHH-10313 - Make SessionImplementor extend WrapperOptions
(cherry picked from commit 052aad0ed4)
2015-11-30 11:14:45 -06:00
Andrea Boriero b25481ed75 HHH-10302 - checkstyle fix 2015-11-26 17:32:31 +00:00
Sanne Grinovero f0f544472c HHH-10302 Extract helper method for LoadEvent reuse and adapt code formatting to Hibernate style 2015-11-26 16:11:47 +00:00
Stuart Douglas 85db76431c HHH-10302 Cache the LoadEvent and PostLoadEvent to reduce allocations 2015-11-26 15:39:45 +00:00
Stuart Douglas f4e58d342d HHH-10301 Don't allocate a new List if it is not required 2015-11-26 15:26:34 +00:00
Andrea Boriero 2e8d52e654 HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers 2015-11-26 14:59:41 +00:00
Andrea Boriero ca9e0424b4 HHH-9302 - SQLGrammarException with @DiscriminatorColumn in an inheritance hierarchy 2015-11-26 13:18:28 +00:00
Andrea Boriero 4776ff0913 HHH-9302 - Add test for issue 2015-11-26 13:18:28 +00:00
Stuart Douglas 17b9a06d6d HHH-10314 Don't create the batch fetch queue to remove entities, as a null queue cannot contain the entity 2015-11-26 12:17:57 +00:00
Gail Badner 24841e4e59 HHH-10328 : Unit test failure due to database identifier too long
(cherry picked from commit 24ee708de7)
2015-11-24 20:58:02 -08:00
Gail Badner 45f8d2f830 HHH-10327 : Unit test failures due to date/time precision mismatches
(cherry picked from commit a2026c3ad0)
2015-11-24 17:49:54 -08:00
Gail Badner 157f24d7e2 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit d8f57877f2)
2015-11-24 14:18:05 -08:00
Gail Badner e032ac6793 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit ae91c8722a)
2015-11-24 13:59:23 -08:00
Gail Badner 8552b84ae5 HHH-10327 : Unit test failure on Oracle due to DATE mismatches
(cherry picked from commit 34dd9d186b)
2015-11-24 13:59:14 -08:00
Gail Badner 38b8074c55 HHH-10322 : Test failures due to function name differences by dialect
(cherry picked from commit 377ba9a8c0)
2015-11-23 17:18:53 -08:00
Gail Badner 27f04f155d HHH-10320 : Unit test failures due to feature tested that is not supported by database
(cherry picked from commit cd581f8dfd)
2015-11-23 12:16:19 -08:00
Gail Badner 710cf4fee1 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit cfbc0036f0)
2015-11-23 11:51:14 -08:00
Gail Badner 104635ba1f HHH-10296 : Fix more DB reserved words used by tests 2015-11-20 23:01:19 -08:00
Gail Badner d5017c339c HHH-10312 : Unit test failures due to DB problems interpreting proper type for null value when bound to a query
(cherry picked from commit 519ba7175f)
2015-11-20 18:57:41 -08:00
Gail Badner d5fb3761c6 HHH-10311 : Primary key length used in unit test is too long for DB2
(cherry picked from commit 439dab82d0)
2015-11-20 14:35:39 -08:00
Gail Badner 780c7c2fb6 HHH-10308 : Don't make deep copy of property with AttributeConverter if Java type is known to be immutable 2015-11-20 11:47:55 -08:00
Steve Ebersole 1183a4719d HHH-10309 - HHH-10242 is too aggressive in cases of FIELD access 2015-11-20 12:50:14 -06:00
Andrea Boriero f8fc15841a HHH-10304 - ImplicitCompositeKeyJoinTest#testImplicitCompositeJoin fails due to dialect-specific differences in generated SQL string 2015-11-19 15:50:38 +00:00
Andrea Boriero 534cd7dae8 HHH-10275 - Fix Inverse foreign key for many-to-many set is nullable 2015-11-18 17:16:41 +00:00
Gail Badner ccc99c690f HHH-10297 : Cache HashMap in AbstractRowReader instead of re-creating for each row that is read 2015-11-17 21:48:39 -08:00
Steve Ebersole 57401b9aa8 HHH-1689 - Support subqueries in HQL as CASE statement alternatives;
SQM-30 - test
2015-11-17 19:21:58 -06:00
Steve Ebersole caf902dde9 HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry() 2015-11-17 15:31:11 -06:00
Ståle W. Pedersen da4593de1b HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry() 2015-11-17 11:29:10 -06:00
barreiro 1568f89426 HHH-9529 - [enhancer] check that the field being accessed belongs to the entity being enhanced 2015-11-17 10:34:24 -06:00
Steve Ebersole 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00