Commit Graph

2554 Commits

Author SHA1 Message Date
Steve Ebersole 055a750a53 HHH-8733 - General build cleanup 2013-12-02 20:57:57 -06:00
Brett Meyer e0d6cdc0f7 HHH-8760 improve EntityGraph JPQL query hint test 2013-12-02 12:43:45 -05:00
Brett Meyer d430846076 HHH-5065 improved exception message on Configuration#getRootClassMapping 2013-11-27 21:20:39 -05:00
Brett Meyer bb53193a75 HHH-8749 Error flushing with a many-to-many Map defined with
unique="true" and cascading orphan delete
2013-11-27 18:06:06 -05:00
Steve Ebersole 14d0116af2 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit bc2855b323.
2013-11-26 17:48:25 -06:00
Steve Ebersole 0252895354 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit b692fbc307.
2013-11-26 17:47:53 -06:00
Steve Ebersole 5f0927fed6 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit 2a9a17c79c.
2013-11-26 17:47:34 -06:00
Steve Ebersole 2a9a17c79c HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 16:38:15 -06:00
Steve Ebersole b692fbc307 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 16:37:33 -06:00
Brett Meyer 88c811bead HHH-8748 replace Javassist's ProxyObject with Proxy 2013-11-26 14:58:46 -05:00
Steve Ebersole bc2855b323 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 13:53:18 -06:00
Steve Ebersole d1023821b1 HHH-8733 - General build cleanup 2013-11-26 13:04:55 -05:00
Brett Meyer f24e470181 HHH-8341 JtaTransaction logs excessive HHH000426 warning 2013-11-25 13:35:25 -05:00
Brett Meyer 1566586fbf HHH-8743 EntityReferenceInitializerImpl#resolveEntityKey throws
Exception in case of entityKey != null
2013-11-25 10:24:13 -05:00
Steve Ebersole 783831f113 HHH-8741 - More checkstyle cleanups 2013-11-25 01:07:35 -06:00
Steve Ebersole 8fe5460ec0 HHH-8741 - More checkstyle cleanups 2013-11-24 20:07:37 -06:00
Steve Ebersole 66d3902ec2 HHH-8741 - More checkstyle cleanups 2013-11-24 17:42:54 -06:00
Steve Ebersole 3a2c9f83e6 HHH-8741 - More checkstyle cleanups 2013-11-24 17:20:23 -06:00
Steve Ebersole b103b2a0ad HHH-8741 - More checkstyle cleanups 2013-11-24 15:39:24 -06:00
Steve Ebersole 77c85353ab HHH-8741 - More checkstyle cleanups 2013-11-24 15:29:50 -06:00
Steve Ebersole 4c91944fd9 HHH-8741 - More checkstyle cleanups 2013-11-24 15:20:45 -06:00
Steve Ebersole 7b69aaacb3 HHH-8741 - More checkstyle cleanups 2013-11-24 15:16:12 -06:00
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06:00
Steve Ebersole b6c9a56136 HHH-8741 - More checkstyle cleanups 2013-11-23 21:40:59 -06:00
Steve Ebersole e59a0170af HHH-8741 - More checkstyle cleanups 2013-11-23 21:30:05 -06:00
Steve Ebersole 241868e1dd HHH-8741 - More checkstyle cleanups 2013-11-23 10:06:53 -06:00
Steve Ebersole 8ec17e68e7 HHH-8741 - More checkstyle cleanups 2013-11-23 00:06:06 -06:00
Gail Badner 5d09464c67 HHH-8684 : Named output parameters don't work for stored procedure call 2013-11-22 16:22:36 -08:00
Steve Ebersole 9c96e23488 HHH-8739 - Tracking of JTA Synch registration thread 2013-11-22 16:28:43 -06:00
Steve Ebersole 608bdefc9a HHH-8739 - Tracking of JTA Synch registration thread 2013-11-22 15:12:39 -06:00
Steve Ebersole c1612fe004 HHH-8733 - General build cleanup 2013-11-22 14:53:24 -06:00
Brett Meyer d47e9daf88 HHH-8689 regression test 2013-11-21 11:36:41 -05:00
Gail Badner 412d5d6fca HHH-8662 : Deprecate functionality for initialized many-to-many collections of proxies 2013-11-20 04:18:22 -08:00
Gail Badner f679a3c783 HHH-8597 : Rename org.hibernate.loader.plan2 to org.hibernate.loader.plan 2013-11-20 02:21:31 -08:00
Gail Badner 8e2f2a9da6 HHH-8597 : Delete org.hibernate.loader.plan2 and related code 2013-11-20 01:38:46 -08:00
Gail Badner b42b759a0d HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:22:33 -08:00
Gail Badner eeb5a3f2c2 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:22:23 -08:00
Gail Badner ed4fafeb50 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:22:13 -08:00
Gail Badner 9d8fa394e3 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:21:47 -08:00
Gail Badner 7693826b77 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:21:27 -08:00
Gail Badner ec348c32fd HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:21:13 -08:00
Gail Badner de7cddc879 HHH-8722 HHH-8723 : Reorg AbstractLoadPlanBuildingAssociationVisitationStrategy and add Any support 2013-11-19 23:19:00 -08:00
Brett Meyer 834a71bc6d HHH-8721 CoreMessageLogger conflicts 2013-11-19 18:09:28 -05:00
Steve Ebersole 8580b29161 HHH-8709 - SynchronizationCallbackCoordinator is calling Thread.currentThread way too often 2013-11-19 11:29:22 -06:00
Brett Meyer fe6263936e HHH-8686 FumTest hangs on mysql55 2013-11-18 18:35:04 -05:00
Steve Ebersole 465c3b1e9c HHH-8684 - Named output parameters don't work for stored procedure call 2013-11-18 16:17:31 -06:00
Steve Ebersole 162e1659c3 HHH-8684 - Named output parameters don't work for stored procedure call 2013-11-18 15:49:55 -06:00
Sanne Grinovero 9a3b1417c6 HHH-8703 Remove need to support EntityKey de-serialization without having access to a SessionFactory 2013-11-18 09:02:57 -06:00
Steve Ebersole d6fa2b2864 HHH-8703 - Remove NonFlushedChanges api 2013-11-18 08:29:14 -06:00
Sanne Grinovero 220a27af64 HHH-8682 org.hibernate.engine.spi.EntityKey consumes a lot of memory 2013-11-16 14:09:03 -06:00
Sanne Grinovero 15adff22ce HHH-8679 Relax synchronized block in Loader#wrapResultSetIfEnabled 2013-11-16 14:09:03 -06:00
Sanne Grinovero e64376eb2b HHH-8698 ColumnNameCache wraps and unwraps int to Integer multiple times 2013-11-16 14:09:03 -06:00
Sanne Grinovero 61a75accf5 HHH-8680 Relax synchronized block in TableGenerator#generate 2013-11-16 14:09:03 -06:00
Sanne Grinovero be44a1984e HHH-8681 NonNullableTransientDependencies should initialize identityMap lazily 2013-11-16 14:09:03 -06:00
Sanne Grinovero b2479bf00d Whitespace and style fixes (only) 2013-11-16 14:09:03 -06:00
Steve Ebersole 7f82763843 HHH-8704 - ManyToOneType#scheduleBatchLoadIfNeeded creates EntityKey instances even if absolutely not necessary 2013-11-16 14:07:35 -06:00
Steve Ebersole 449c558365 HHH-8654 - Ability to get notified of interesting Session events 2013-11-15 13:04:18 -06:00
Steve Ebersole 1e74abf511 HHH-8654 - Ability to get notified of interesting Session events 2013-11-15 12:01:14 -06:00
Steve Ebersole f073b979d4 HHH-8654 - Ability to get noitified of interesting Session events 2013-11-13 16:03:35 -06:00
Gail Badner b7f17e9412 HHH-8629 : Integrate LoadPlans into collection initializers 2013-11-13 12:44:18 -08:00
Gail Badner fdf211fdd1 HHH-8629 : Integrate LoadPlans into collection initializers 2013-11-13 12:44:18 -08:00
Gunnar Morling 1e39c4b07f HHH-2907 Adding @UpdateTimestamp generator annotation 2013-11-08 13:08:41 -06:00
Gunnar Morling fb0d0c5cf7 HHH-2907 Adding @CreationTimestamp generator annotation 2013-11-08 13:08:41 -06:00
Gunnar Morling fd57a751b4 HHH-2907 Retrofitting @Generated, making it a generator annotation type 2013-11-08 13:08:41 -06:00
Gunnar Morling cc30269b84 HHH-2907 Adding support for annotation based value generation strategies 2013-11-08 13:08:41 -06:00
Gunnar Morling a860e6559d HHH-2907 Changing ValueGenerator contract in order to allow implementations performing work using the JDBC connection 2013-11-08 13:08:41 -06:00
Steve Ebersole 9938937fe7 HHH-8637 - Downcasting with TREAT operator should also filter results by the specified Type 2013-11-08 12:35:42 -06:00
Strong Liu b3871f319b HHH-8285 Initial JPA 2.1 entity graph support (EntityManager.find()) 2013-11-08 20:59:50 +08:00
Gail Badner dd28adb1ae HHH-8629 : Integrate LoadPlans into collection initializers 2013-11-06 13:11:12 -08:00
Strong Liu 3b85ae8658 HHH-8671 WithClauseTest.testWithClause fails on all QA databases 2013-11-06 10:19:29 +08:00
Brett Meyer e012809fb2 HHH-6004 improved HashMap performance in StructuredCacheEntry 2013-11-01 04:39:33 -04:00
Steve Ebersole bdf0186a7f HHH-7539 - Interceptor.afterTransactionCompletion not called when transaction completes via JTA sync 2013-10-31 09:08:42 -05:00
Gail Badner 560b274fb7 HHH-8662 : Deprecate functionality for initialized many-to-many collections of proxies 2013-10-31 12:38:17 +01:00
Brett Meyer dd44ad459a HHH-7927 Enabling globally_quoted_identifiers breaks schema validation
if TableGenerator is used
2013-10-31 07:01:40 -04:00
Gail Badner e1eef18d62 HHH-8629 : Integrate LoadPlans into collection initializers 2013-10-31 11:54:55 +01:00
Brett Meyer 32b93b9788 HHH-6167 correct Ejb3Column.checkPropertyConsistency error message 2013-10-31 05:22:05 -04:00
Brett Meyer 6242632b76 HHH-8627 compile error in test case 2013-10-31 04:45:04 -04:00
Brett Meyer ca2d0578ff HHH-8627 Support EntityGraphs through JPA Query hints 2013-10-30 12:12:28 -05:00
Steve Ebersole 52d095be97 HHH-8660 - NamedEntityGraphDefinition built too early 2013-10-30 10:45:19 -05:00
Andrew Clemons 4e527d0f3e HHH-8228 - enable foreign keys in HANA dialects by defaulting to 'ON UPDATE CASCADE' 2013-10-30 04:23:50 -04:00
Strong Liu f52c14a652 Revert "HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core"
This reverts commit 61483966a7.
2013-10-29 15:53:46 +01:00
Strong Liu 61483966a7 HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core 2013-10-29 07:48:27 -05:00
Steve Ebersole 1658a477fb HHH-8647 - hibernate.cache.use_reference_entries + queries 2013-10-29 04:04:38 -05:00
Steve Ebersole 77825fefd6 HHH-2907 - ability to apply 'generation strategy' to generated properties 2013-10-25 13:18:33 -05:00
Brett Meyer 19057a4685 HHH-8617 correcting test failure 2013-10-23 13:03:36 -04:00
Brett Meyer 203140a197 HHH-8617 Revert "HHH-8517 strip time from Date descriptors"
This reverts commit 9dba10cf9e.
2013-10-23 12:58:25 -04:00
Brett Meyer 8e556f0029 HHH-8579 corrected test case 2013-10-22 22:29:45 -04:00
Brett Meyer 0dfbad406b HHH-8579 force english locale for query alias generation 2013-10-22 16:54:19 -04:00
Steve Ebersole 859eaaa1c5 HHH-8619 - Account for "shadow" services as part of ServiceRegistry impls 2013-10-17 15:19:35 -05:00
Brett Meyer a1e3849e5d HHH-8573 refactored test case 2013-10-16 17:21:00 -04:00
Vasily Kochnev af03365c86 HHH-8573: Persister is taken according to the actual type of the replaced object 2013-10-16 16:51:10 -04:00
Vasily Kochnev 3a75f9fb4e HHH-8573: Test case illustrating creation of a superclass instance when
subclass instance needed
2013-10-16 16:51:03 -04:00
Steve Ebersole 202e46eef2 HHH-8621 - NPE in BasicConnectionCreator 2013-10-16 15:13:23 -05:00
Brett Meyer 1cb6be9d10 HHH-8612 correct FumTest's use of Date in a composite PK
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/legacy/FumTest.java
2013-10-16 14:35:43 -04:00
Steve Ebersole 67ee00a422 HHH-8607 - Start Topical Guide - Service Registries 2013-10-15 15:54:54 -05:00
Brett Meyer b5f5288708 HHH-8611 FlushIdGenTest requires identity support 2013-10-15 14:45:58 -04:00
Sanne Grinovero 716db5d116 HHH-8611 DelayedPostInsertIdentifier needs to implement Comparable 2013-10-15 14:18:09 -04:00
Steve Ebersole ba3c2f656f HHH-8613 - ClassCastException in AbstractLoadPlanBuildingAssociationVisitationStrategy 2013-10-14 18:08:49 -05:00
Steve Ebersole 67fccf231b HHH-6838 - Query Paramater Binding should quote strings 2013-10-14 16:56:31 -05:00
Steve Ebersole a96cc4bfbd HHH-8607 - Start Topical Guide - Service Registries 2013-10-14 14:12:33 -05:00
Brett Meyer 94dd246bf4 HHH-8605 supportsTuplesInSubqueries false in sqlserver/sybase 2013-10-14 10:29:50 -04:00
Brett Meyer 2fc60011e5 HHH-6484 remove orphaned one-to-one when association replaced while managed 2013-10-11 15:15:30 -04:00
Brett Meyer f675b67c27 HHH-8228 cleanup, formatting, check for empty constraint alter table
statements before executing
2013-10-10 11:27:28 -04:00
Andrew Clemons c986fe9121 HHH-8228 - support for SAP HANA 2013-10-10 10:43:56 -04:00
Brett Meyer 4d04f40fe0 HHH-8074 CascadingAction REFRESH should pass the entityName 2013-10-09 21:28:34 -04:00
Ståle W. Pedersen cf903b78f0 HHH-8354 - New dirty-checking options based on bytecode enhancement 2013-10-09 13:00:10 -05:00
Brett Meyer 2bb453ce35 HHH-7130 cleanup 2013-10-09 11:38:23 -04:00
Zbyněk Roubalík a9aaf87861 HHH-7130 Query cache eviction logging 2013-10-09 11:36:11 -04:00
Brett Meyer 2009a940b6 HHH-8276 removing blank package-info.java 2013-10-09 11:15:15 -04:00
Gail Badner bf440a4231 HHH-8276 - Fix NullPointerException when hibernate.max_fetch_depth is not configured 2013-10-08 22:13:52 -05:00
Steve Ebersole edc4a04a63 HHH-8276 - Fix AnyType handling during Nullability checking 2013-10-08 22:13:52 -05:00
Steve Ebersole 479b873f5b HHH-8276 - Fix AnyType handling during Nullability checking 2013-10-08 22:13:52 -05:00
Gail Badner f111600e1f HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner ee02fafbba HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner 1e79efd10a HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner 9e1acbac41 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Strong Liu c607e30051 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner 77d7deb0f3 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Gail Badner d6ac5359a7 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Strong Liu 803c73c555 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Strong Liu 8638aac01a HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:34 -05:00
Gail Badner 4defc8a5d6 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:33 -05:00
Strong Liu 438dd9c180 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:33 -05:00
Strong Liu 7d2867bf53 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:33 -05:00
Strong Liu 712fb95b8a HHH-8276 fixing FooBarTest.testRefresh 2013-10-08 22:12:33 -05:00
Strong Liu aaadcd74ee HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:12:33 -05:00
Strong Liu c5f3ddeccb HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Strong Liu c83fd30d23 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Gail Badner 6f8fdddd84 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Gail Badner 0481eb856b HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Gail Badner ba0d14546c HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Steve Ebersole e1105fb6d3 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:42 -05:00
Steve Ebersole f32c736160 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole b10c51eec7 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole af1061a42d HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole 18079f346d HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) - Initial reworking to remove SQL references (for reuse in Search, OGM, etc) and to split out conceptual "from clause" and "select clause" into different structures (see QuerySpaces) 2013-10-08 22:09:41 -05:00
Steve Ebersole dc7cdf9d88 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole 456d61bd4e HHH-8276 - Integrate LoadPlanAdvisor into UniqueEntityLoader (PoC) 2013-10-08 22:08:44 -05:00
Steve Ebersole cb30fefd87 HHH-8445 - Implement REF_CURSOR support for StoredProcedureQuery 2013-10-08 16:33:47 -05:00
Brett Meyer 6d097d202b HHH-8328 Typo in Query.list Javadoc 2013-10-08 14:17:52 -04:00
Steve Ebersole 4e3d17c0d4 HHH-8453 - Investigate improving DriverManager-based connection pooling 2013-10-08 09:43:00 -05:00
Steve Ebersole 9671a4a727 HHH-8453 - Investigate improving DriverManager-based connection pooling 2013-10-08 09:43:00 -05:00
Brett Meyer e269739993 HHH-7513 check for natural id resolution in NaturalIdCacheKey 2013-10-07 17:51:19 -04:00
Brett Meyer bb5e03cb64 HHH-7513 test cleanup 2013-10-07 17:51:19 -04:00
Guenther Demetz 7cf6a6272a HHH-7513 testcase 2013-10-07 17:51:19 -04:00
Steve Ebersole b20ac395cb HHH-8577 - ClearListener: allow to listen for clear events 2013-10-07 16:29:10 -05:00
Steve Ebersole 3d366a526e HHH-8561 - hibernate.dialect_resolvers causes failures 2013-10-07 14:40:18 -05:00
Scott Marlow 4428464d09 HHH-8593 EntityManager.refresh should throw EntityNotFoundException if the entity no longer exists in the database 2013-10-07 15:20:28 -04:00
Brett Meyer bc31357436 HHH-6255 correctly handling quoting fk names 2013-10-07 15:15:29 -04:00
Brett Meyer 0593cbbc5a HHH-2155 mysql dialect should not generate automatically index for
foreign key
2013-10-07 14:30:48 -04:00
Brett Meyer 0ba9a3a289 HHH-7150 added Cache#evictAllRegions 2013-10-07 12:14:17 -04:00
Steve Ebersole 4a898c5524 HHH-7689 - Error executing batch should abort rest of batch for "cleanliness" sake 2013-10-04 13:39:52 -05:00
Steve Ebersole 0e164d1c9d HHH-7689 - addToBatch in BatchingBatch blows out of error handling and doesn't abort the batch 2013-10-04 12:33:07 -05:00
Brett Meyer ca3b22a18c HHH-8580 clearing a map collection caused NPE 2013-10-04 11:50:07 -04:00
Steve Ebersole 075bc86209 HHH-7689 - addToBatch in BatchingBatch blows out of error handling and doesn't abort the batch 2013-10-03 16:53:01 -05:00
Scott Marlow fa6a222ab1 HHH-8586 Synchronization beforeCompletion/afterCompletion should check if EM is closed and this helps us pass the tck entityManagerFactoryCloseExceptions test. 2013-10-03 11:27:26 -04:00
Brett Meyer fdcfeca511 HHH-4118 warn if hibernate.hbm2ddl.auto has unrecognized value 2013-10-02 15:46:24 -04:00
Steve Ebersole 85bb1e1146 HHH-8548 - HHH-3047 causes regressions 2013-10-02 13:40:49 -05:00
Brett Meyer 1755f00260 HHH-5744 check ResultSet#hasNext in GUIDGenerator 2013-10-02 14:09:56 -04:00
Steve Ebersole bd93745aec HHH-4577 - 2L query cache: Low performance of flush and commit due many unnecessary (pre)invalidate calls on UpdateTimestampsCache 2013-10-02 12:16:55 -05:00
Brett Meyer 739b88c5ce HHH-5818 exception message typo 2013-10-02 12:58:31 -04:00
Steve Ebersole 31ad26731c HHH-4577 - 2L query cache: Low performance of flush and commit due many unnecessary (pre)invalidate calls on UpdateTimestampsCache 2013-10-02 11:50:28 -05:00
Brett Meyer 3677045663 HHH-8520 apply global quoting to HBM columns 2013-10-01 12:18:22 -04:00
Brett Meyer f17d8ad7c3 HHH-8578 correct DeleteExecutor's use of where-clause 2013-09-30 16:45:26 -04:00
Steve Ebersole ffa67243b8 HHH-8576 - Query not properly locking non-versioned entities associated with PersistenceContext 2013-09-30 13:43:56 -05:00
Steve Ebersole 7c6b358d4f HHH-8551 - Cannot use with-clause on the RHS of a join 2013-09-30 13:43:56 -05:00
Brett Meyer 2060e95c40 HHH-8537 @UniqueConstraint naming non-existent column leads to NPE 2013-09-27 16:24:03 -04:00
Steve Ebersole 0d7854a15d HHH-8560 - Add (trace/debug) logging of SQL ResultSet mapping info 2013-09-26 12:23:06 -05:00
Brett Meyer 1a621666e1 HHH-8551 Cannot use with-clause on the RHS of a join 2013-09-25 16:24:48 -04:00
Steve Ebersole 0062600296 HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Steve Ebersole f2b272f468 HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Steve Ebersole 185fa1d68b HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Brett Meyer 55d941944d HHH-8503 whoops 2013-09-24 22:30:55 -04:00
Brett Meyer a5e00f3201 HHH-8503 invoke determineDialect instead of constructDialect when
hibernate.dialect is blank
2013-09-24 22:04:40 -04:00
Brett Meyer 3740a5b37b HHH-8476 Bulk delete doesn't cascade delete on join table 2013-09-24 17:42:29 -04:00
Steve Ebersole 86b2fa4317 HHH-8549 - JPQL TREAT keyword handling is currently case sensitive 2013-09-24 15:13:15 -05:00
Steve Ebersole ae3f1117e0 HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-23 16:05:22 -05:00
Steve Ebersole 498735aa37 HHH-8478 - AttributeConverters need to be applied to JPQL and Criteria queries 2013-09-23 12:55:55 -05:00
Steve Ebersole 903321fe92 HHH-8542 - javax.persistence.Query#setLockMode should throw ISE if not a SELECT JPQL or Criteria query 2013-09-22 19:57:02 -05:00
Steve Ebersole 1f9c157db6 HHH-8539 - @Column#table naming primary table fails 2013-09-22 14:41:00 -05:00
Steve Ebersole 2bb866a616 HHH-8534 - Metamodel#managedType(SomeMappedSuperclass.class) returns null 2013-09-22 14:20:25 -05:00
Steve Ebersole a1ff3a29cb HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-21 16:55:05 -05:00
Steve Ebersole 4473f0302f HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-21 14:06:57 -05:00
Steve Ebersole 4d5174f55f HHH-8533 - Add tests of JPA Metamodel handling for MappedSuperclass and mixed @Id/@IdClass declaration 2013-09-20 22:05:24 -05:00
Steve Ebersole bf0eed907f HHH-8530 - Align JPA "positional parameter" handling in javax.persistence.Parameter impl 2013-09-20 12:02:49 -05:00
Steve Ebersole 1889562bed HHH-8525 - Hook in XML overriding of ConstructorResult for sql-result-set-mapping 2013-09-19 17:58:34 -05:00
Brett Meyer 9dba10cf9e HHH-8517 strip time from Date descriptors 2013-09-19 15:20:23 -04:00
Steve Ebersole 075da4fdf0 HHH-8523 - Incorrect parameter binding for Calendar and TemporalType 2013-09-19 13:55:55 -05:00
Steve Ebersole 5a3233b915 HHH-8523 - Incorrect parameter binding for Calendar and TemporalType 2013-09-19 13:20:40 -05:00
Brett Meyer 611e097a04 HHH-8522 CompositeIdTypeBindingTest.testCompositeTypeBinding fails on
sybase157
2013-09-19 12:42:45 -04:00
Lukasz Antoniak 2f145d3985 HHH-8432 - Expanding parameters in IN clause 2013-09-18 17:20:31 -04:00
Steve Ebersole 346d958c20 HHH-8518 - Validate EMF#addNamedQuery transfers all query settings 2013-09-18 14:21:15 -05:00
Brett Meyer feaac3b917 HHH-4910 docs, javadocs, formatting, minor refactoring 2013-09-18 12:27:01 -04:00
Andy2003 bcd6185809 HHH-4910 The collection cache is evicted if a related collection element is inserted, removed or updated
HHH-4910 minor fixes

HHH-4910 make this feature configurable
2013-09-18 12:26:35 -04:00
Brett Meyer 66b222c8bf HHH-8516 EnumeratedTypeTest.testTrimmedEnum fails on oracle 2013-09-18 11:11:45 -04:00
Steve Ebersole 31f50f3280 HHH-8515 - EntityManager#createStoredProcedureQuery( String, String...) should throw IAE if result set mapping name(s) do not exist 2013-09-18 08:48:51 -05:00
Steve Ebersole a2881b3a35 HHH-8498 - Full ConstructorResult handling 2013-09-17 17:29:53 -05:00
Brett Meyer 4b2667cc40 HHH-1835 added stddev to MySQLDialect 2013-09-17 16:29:29 -04:00
Brett Meyer d538b9f2e3 HHH-8504 add MySQL5Dialect to StandardDatabaseInfoDialectResolver 2013-09-17 16:20:05 -04:00
Steve Ebersole 2fd4a75a78 HHH-8510 - Add a Logger which is able to monitor the creation of new Sessions at DEBUG/TRACE level 2013-09-17 13:11:55 -05:00
Steve Ebersole 8dae133bba HHH-4577 - 2L query cache: Low performance of flush and commit due many unnecessary (pre)invalidate calls on UpdateTimestampsCache 2013-09-16 15:38:17 -05:00
Anton Marsden 7bca11a504 HHH-4577: Improved performance of ActionQueue
The ActionQueue has been seriously refactored. An ExecutableList class
has been created to manage each list of actions, and it includes
serialization behaviour that was previously in ActionQueue. Prevalidate
behaviour has changed - prevalidate is now called once per execution
list rather than once per execution. A test case has been added for
ExecutableList. There is also a new method on the Executable interface.
2013-09-16 12:20:44 -05:00
Arlo Louis O'Keeffe ea7f1e805c HHH-8500 Interbase does not have a boolean type 2013-09-12 13:17:07 -04:00
Steve Ebersole 9e54c418ab HHH-8499 - Prepare for 4.3 Beta4 release 2013-09-12 11:44:42 -05:00
Brett Meyer 580af7e61b HHH-8496 TableCatalog and TableSchema arguments mistaken in DB update-script. 2013-09-12 10:44:43 -04:00
Steve Ebersole 0bf29bc2fd HHH-8493 - Implement ConstructorResults handling 2013-09-12 07:10:44 -05:00
Brett Meyer 312283cb0e HHH-8491 formatting and improved readability 2013-09-11 15:46:23 -04:00
Christian Beikov d224991d1b HHH-8491 Improved implementation for locale string parsing 2013-09-11 15:46:19 -04:00
minman 0695299155 HHH-8472 @Lob annotation applies to both key and value of Map 2013-09-11 14:42:15 -04:00
java4dev@ 7444c6c139 HHH-8297 Typo in error message: "contains phyical column name" 2013-09-11 14:39:27 -04:00
Steve Ebersole cbd828217a HHH-8485 - Apply newly extracted version-injection plugin 2013-09-10 16:08:18 -05:00
Steve Ebersole 1fc9efb2a2 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-09 15:35:55 -05:00
Brett Meyer d995bb9bb9 HHH-8153 Criteria on Enum mapping defined in hbm.xml fails. 2013-09-09 14:40:39 -04:00
Brett Meyer 29ab1766c0 HHH-8363 SessionFactoryServiceRegistryImpl should not call parent#destroy, test failures, formatting 2013-09-06 18:28:58 -04:00
Tomaz Cerar 360567beac HHH-8363 Some more mem leak fixes 2013-09-06 18:28:58 -04:00
Brett Meyer fa341c66e9 HHH-8363 destroy the parent ServiceRegistry and stop its provided 2013-09-06 18:28:58 -04:00
Brett Meyer 3fdffcbcd4 HHH-8363 cleanup and formatting 2013-09-06 18:28:58 -04:00
Tomaz Cerar 5011b4a30e HHH-8363 ClassLoaderServiceImpl should be defined as Stoppable
- also fix problem with JpaIntegrator holding references to beanmanager
2013-09-06 18:28:57 -04:00
Steve Ebersole 9348c23e00 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-06 16:47:07 -05:00
Steve Ebersole 1f6daa6785 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-06 13:38:56 -05:00
Brett Meyer 46c962e9b0 HHH-8468 cleanup and simplification 2013-09-05 13:46:44 -04:00
s.vasilyev 91a289e3a9 HHH-8468 - @JoinColumn(table = "...") doesn't use NamingStrategy 2013-09-05 13:27:41 -04:00
s.vasilyev 0cce06fb54 HHH-8468 test case 2013-09-05 13:24:56 -04:00
Brett Meyer a450630f36 HHH-8464 normalize quoting on join column 2013-09-05 12:46:31 -04:00
Brett Meyer 6963dc88d0 HHH-8316 JandexHelper uses ClassLoaderService 2013-09-04 22:38:18 -04:00
Brett Meyer 9acb43599b HHH-8462 Handle <converter></converter> elements in orm.xml 2013-09-04 18:13:44 -04:00
Steve Ebersole 151dd1531b HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-03 11:43:24 -05:00
Brett Meyer 9f10ec5e74 HHH-8454 added numeric types to MySQLDialect#getCastTypeName 2013-08-29 15:06:59 -04:00
Steve Ebersole 939c1f2743 HHH-8445 - Implement REF_CURSOR support for StoredProcedureQuery 2013-08-27 16:17:28 -05:00
Steve Ebersole cd812b6d65 HHH-8413 - Rename ProcedureResults -> ProcedureOutputs 2013-08-25 21:08:49 -05:00
Steve Ebersole 0ecb76f9d5 Tests for @ConstructorResult mapping of stored procedure results 2013-08-25 09:41:56 -05:00
Brett Meyer 8b65113ada HHH-3047 Increase max alias length for Oracle dialects from 10 to 30 2013-08-22 22:32:21 -04:00
Brett Meyer d91ed8942c HHH-4699 test case 2013-08-22 15:35:52 -04:00
Kristian Marinkovic ad5dd18aac HHH-4699 trim value from database before Enum.valueOf()
this change fixes the problem with fixed size columns with enum values
that are right padded.
2013-08-22 15:19:57 -04:00
Steve Ebersole 0b488b92a0 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 10:01:53 -05:00
Steve Ebersole d2c5734c6e HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 09:27:59 -05:00
Steve Ebersole 9f86babd88 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 09:27:59 -05:00
Brett Meyer 8ccbd7d121 HHH-8068 formatting and cleanup 2013-08-21 15:39:32 -04:00
ammachado d0a7a017a5 HHH-8068 Suggestion for improvement. 2013-08-21 15:39:19 -04:00
Brett Meyer 9ee5392456 HHH-7915 test case and cleanup 2013-08-21 15:39:19 -04:00
chris-manning 7ef045ae2c HHH-7915 Include referenced columns when creating foreign keys from the included table 2013-08-21 15:39:07 -04:00
Brett Meyer 10930af516 HHH-2692 corrected failing test 2013-08-20 19:49:27 -04:00
Manuel Bernhardt f1e4bfbffd HHH-2692 Handling subqueries in INSERT...SELECT, disallowing use of
:parameters in SELECT if not in INSERT...SELECT, additional test cases

Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/SelectClause.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:33:36 -04:00
Manuel Bernhardt 6ad0d4cfbe HHH-2692: Correctly reporting type mismatch in select...insert
Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/IntoClause.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:30:35 -04:00
Manuel Bernhardt 9304c2b3e9 Least-effort fix for HHH-2692
Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/ast/HqlSqlWalker.java
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/IntoClause.java
	hibernate-core/src/main/java/org/hibernate/hql/ast/tree/SelectExpressionList.java
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-08-20 19:29:17 -04:00
Steve Ebersole bf168ca24e HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-19 16:07:07 -05:00
Anton Marsden ad5c0f1f82 HHH-5920: improve the performance of PersistentClass 2013-08-19 16:19:26 -04:00
Steve Ebersole 7bcf161d36 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-19 14:54:46 -05:00
Brett Meyer 5a7d179f81 HHH-8423 corrected one un-cleaned-up test 2013-08-19 13:26:18 -04:00
Brett Meyer 714d48880d HHH-8447 HQL delete with multiple subqueries failing (incorrect alias
used)
2013-08-16 12:34:24 -04:00
Brett Meyer cc550c08a8 HHH-8441 Hibernate is trying to add values to an Immutable List 2013-08-16 10:16:21 -04:00
Brett Meyer 05144811e4 HHH-8440 added mssql2012 to StandardDatabaseInfoDialectResolver 2013-08-15 10:10:44 -04:00
Brett Meyer 5981fc19b5 HHH-8440 Support sequences with a new SQLServer2012Dialect 2013-08-14 11:59:51 -04:00
Brett Meyer b1759cb7c2 HHH-8383 ExceptionInInitializerError when changing System properties
while Environment class is initialized
2013-08-13 14:59:46 -04:00
Brett Meyer cc992e0e1a HHH-8183 re-activating test now that QA allows Synonym creation 2013-08-13 10:28:31 -04:00
Brett Meyer e5af57585b HHH-8428 comment & cleanup 2013-08-06 11:53:19 -04:00
Karl von Randow 023862728f HHH-8428 Protect SessionFactoryRegistry.getNamedSessionFactory(String) from NPE 2013-08-06 11:52:59 -04:00
Brett Meyer a2da429997 HHH-8426 Add defaultScrollMode to Dialect 2013-08-06 11:18:13 -04:00
Lukasz Antoniak 4140661b82 HHH-7807 - key-many-to-one cascade removal tests 2013-08-05 23:42:22 -04:00
Lukasz Antoniak 456dfd83f9 HHH-7807 - Cascade delete revisions
Conflicts:
	documentation/src/main/docbook/devguide/en-US/Envers.xml
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
2013-08-05 23:42:05 -04:00
HGC 96e80b2df3 HHH-8397: MultiLineImportFileTest failing on some platforms (Fix) 2013-08-05 22:22:49 -04:00
Brett Meyer b9d3fa5581 HHH-8420 multiple test-only fixes from matrix failures 2013-08-05 17:05:24 -04:00
Brett Meyer 742b1b4156 HHH-2736 query hints for Query and Criteria 2013-08-05 11:12:35 -04:00
Steve Ebersole 6beb5acb4b HHH-8415 - Throw exception types expected by JPA spec wrt StoredProcedureQuery 2013-08-02 19:18:14 -05:00
Sanne Grinovero 8aff7db2e0 HHH-8410 NaturalIdXrefDelegate could miss some cached entries from naturalIdResolutionCacheMap 2013-08-02 18:09:56 +01:00
Sanne Grinovero 168c06d062 HHH-8409 Improve usage of ConcurrentMaps by using putIfAbsent in StatefulPersistenceContext 2013-08-02 18:09:56 +01:00
Sanne Grinovero 1bed587355 HHH-8408 LegacyHiLoAlgorithmOptimizer.noTenantState is accessed with inconsistent synchronization 2013-08-02 18:09:56 +01:00
Sanne Grinovero 1ea823e0b5 HHH-8408 PooledLoOptimizer.noTenantState is accessed with inconsistent synchronization 2013-08-02 18:09:56 +01:00
Sanne Grinovero 4f1c8a4ba6 HHH-8407 Missing synchronization in DriverManagerConnectionProviderImpl#stop 2013-08-02 18:09:56 +01:00
Steve Ebersole 59d2bff81b HHH-8413 - Rename ProcedureResults -> ProcedureOutputs 2013-08-02 10:02:50 -05:00
Steve Ebersole f99e1e4b4a HHH-8411 - StoredProcedureQuery : getResultList and hasMoreResults() mot implemented properly 2013-08-01 21:17:27 -05:00
Steve Ebersole f4cc86f7ad HHH-8405 - Track down tests that leak SessionFactories 2013-08-01 17:16:07 -05:00
Brett Meyer 580a71331c HHH-8390 generate FK after UK 2013-08-01 14:42:47 -04:00
Steve Ebersole c1d1695606 HHH-8400 - Positional parameters defined on NamedStoredProcedureQuery not applied 2013-08-01 01:19:33 -05:00
Steve Ebersole 1a3a2a52a2 HHH-8400 - Positional parameters defined on NamedStoredProcedureQuery not applied 2013-08-01 00:18:56 -05:00
Steve Ebersole 15e9b028b5 HHH-8398 - StoredProcedureQuery passed resultClasses chooses incorrect aliases to extract results 2013-07-31 12:09:06 -05:00
Steve Ebersole cd1c80b82d HHH-8395 - JPA StoredProcedureQuery#getUpdateCount should prefer return -1 rather than throw exceptions 2013-07-31 08:35:27 -05:00
Brett Meyer 3ffc6ce6e8 HHH-8362 InformixUniqueDelegate 2013-07-23 22:49:00 -04:00
Brett Meyer cce9b81471 HHH-8371 corrected failing test 2013-07-23 22:31:21 -04:00
Brett Meyer a2287b6c6d HHH-8371 Consider explicit column name's "_" in alias creation 2013-07-23 22:02:38 -04:00
Strong Liu 1825a4762c HHH-8211 Checkstyle and FindBugs fix-ups 2013-07-13 11:00:42 +08:00
Brett Meyer 0433a539b4 HHH-3078 copyright and refactored package 2013-07-11 19:14:29 -04:00
lgathy 228d14e8bc HHH-3078 Fixed bug with multiple classloaders and proxy class 2013-07-11 19:05:22 -04:00
Strong Liu 9afc17a209 HHH-8357 - remove dom4j proxy support 2013-07-11 17:39:14 +08:00
Brett Meyer c4f1084d20 HHH-8193 copyright dates 2013-07-10 13:49:19 -04:00
Lukasz Antoniak 6c2937e3c8 HHH-8193 - Reset input stream before binding
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/BlobProxy.java
	hibernate-core/src/test/java/org/hibernate/test/type/descriptor/java/BlobDescriptorTest.java
2013-07-10 13:26:57 -04:00
Guenther Demetz 2ecde32811 Bugfix proposal HHH-4294 2013-07-10 12:47:41 -04:00
Guenther Demetz d87cc16baa Testcase HHH-4294 2013-07-10 12:45:14 -04:00
Brett Meyer 1f51d12579 HHH-4261 comment and checkstyle 2013-07-10 11:36:37 -04:00
amkad 8ca6b276ca Changed test to reproduce HHH-4261 2013-07-10 11:25:38 -04:00
amkad ff22f64bae Fixed @Any and @ManyToAny support in overridden JPA annotation reader HHH-4261 2013-07-10 11:19:02 -04:00
Brett Meyer 519a469b11 HHH-8318 @SkipForDialect added 2013-07-09 13:05:58 -04:00
Brett Meyer c7707b23f0 HHH-8349 added PostgresPlus to DialectFactory 2013-07-07 21:46:01 -04:00
JohnOhara d9870fffb8 HHH-8106 Fixed bug with Enhancement Task 2013-07-03 10:39:53 -04:00
Brett Meyer 052886afeb HHH-6935 Use bit type for MySQLDialect's boolean 2013-07-01 17:18:44 -04:00
Brett Meyer 58622f3e10 HHH-7996 arquillian-based OSGi unit test, minor CL fixes 2013-07-01 16:38:20 -04:00
Brett Meyer 17d9a2c1fc HHH-7116 Moved orderBy fix to AbstractEntityJoinWalker. Copyrights,
formatting, and checkstyle
2013-07-01 14:03:51 -04:00
Tommy Knowlton 87004f9815 HHH-7116 test case and fix 2013-07-01 13:40:22 -04:00
Brett Meyer 4ee9ade353 HHH-8210 JdbcCoordinatorImpl logs excessive warnings with some
connection pools
2013-06-27 22:48:48 -04:00
Emmanuel Bernard 97304a291d Add test for HHH-8314 2013-06-27 15:53:36 +02:00
Brett Meyer b9185ac43b HHH-8331 keep postgres81 as the default 2013-06-23 13:42:53 -04:00
Brett Meyer 81affe3afe HHH-7002 added support for "if exists" on "drop constraint" 2013-06-23 13:17:28 -04:00
Brett Meyer edf1fa9fbc HHH-8331 Create PostgreSQL9Dialect 2013-06-23 13:17:05 -04:00
Brett Meyer c785c5e7a8 HHH-8319 checkstyle 2013-06-21 10:51:42 -04:00
justinsubert f1439b5601 HHH-8319 2013-06-21 10:47:56 -04:00
Steve Ebersole 4ab3caa789 HHH-8318 - Problem determining qualifier to use for column names from HQL query parser in certain circumstances 2013-06-20 22:05:38 -05:00
Brett Meyer 2c1605904d HHH-8318 updated test case 2013-06-20 12:00:24 -04:00
Brett Meyer e4eadbb9fe HHH-8318 test case 2013-06-18 13:33:45 -04:00
Strong Liu 899b306f26 HHH-8312 - named parameters binding are not correct when used within subquery 2013-06-15 08:15:19 +08:00
Strong Liu 6cabc326b8 HHH-8312 - named parameters binding are not correct when used within subquery 2013-06-15 15:58:48 +08:00
Lukasz Antoniak 6a71cbb991 HHH-8301 - SQLServer2005LimitHandler skips column alias generation 2013-06-11 10:14:45 -07:00
Brett Meyer 4ed8006e5a HHH-8255 made a few hibernate-core imports optional in the manifest 2013-06-07 13:05:36 -04:00
Brett Meyer 04f3249a12 HHH-8275 union-subclass generates bad alter table for unique constraint 2013-06-03 17:19:38 -04:00
Steve Ebersole af5e8c3869 HHH-7841 - Introduce LoadPlan 2013-05-31 01:14:18 -05:00
Brett Meyer 875495439e HHH-8269 DenormalizedTable FK constraint names can be too long 2013-05-25 20:24:53 -04:00
Steve Ebersole a5862017d8 HHH-7841 - Redesign Loader 2013-05-24 12:01:54 -05:00
Strong Liu 5ea40ce3f5 HHH-8266 Binding of named-stored-procedure XML element tries to create duplicate 2013-05-23 16:09:46 -07:00
Brett Meyer f1f8600b54 HHH-8083 @OrderColumn not updated on @OneToMany cascade 2013-05-22 12:42:42 -04:00
Steve Ebersole 4ee980d9ff HHH-8211 - Checkstyle and FindBugs fix-ups 2013-05-22 11:12:57 -05:00
Steve Ebersole 286800ec34 HHH-8211 - Checkstyle and FindBugs fix-ups 2013-05-21 17:54:35 -05:00
Steve Ebersole 120dbbb311 HHH-8257 - More concisely obtaining a JBoss logger 2013-05-21 16:25:21 -05:00
Strong Liu 21444339ec HHH-8247 Implement XML binding of NamedEntityGraph 2013-05-21 09:46:55 -07:00
Gail Badner b282811527 HHH-7841 - Redesign Loader 2013-05-21 03:08:47 -07:00
Gail Badner b846fa35b5 HHH-7841 - Redesign Loader 2013-05-21 01:07:20 -07:00
Strong Liu a03d44f290 HHH-8246 Implement XML binding of NamedStoredProcedureQuery 2013-05-20 20:37:16 -07:00
Brett Meyer ce77f15974 HHH-2872 reverting an incorrect test case 2013-05-20 17:36:41 -04:00
Steve Ebersole 91758f74ff HHH-7582 - TableGenerator does not distinguish between different tenants (MultiTenant Schema based) 2013-05-20 15:18:21 -05:00
Brett Meyer 45d46b619b HHH-6813 Corrected EntityType#getRHSUniqueKeyPropertyName() and added
regression test.
2013-05-20 11:18:46 -04:00
Steve Ebersole 8451c03ea5 HHH-8211 - Checkstyle and FindBugs fix-ups 2013-05-18 11:39:44 -05:00
Steve Ebersole 14993a4637 HHH-8223 - Implement @NamedEntityGraph binding 2013-05-17 12:50:19 -05:00
Brett Meyer 21ae220a4c HHH-8254 throw HibernateException when transaction is rolledback by a
reaper thread
2013-05-17 13:22:46 -04:00
Gail Badner 043d618c03 HHH-7841 - Redesign Loader
HHH-7841 - Redesign Loader

HHH-7841 - Redesign Loader

HHH-7841 - Redesign Loader
2013-05-17 03:14:48 -07:00
Brett Meyer bc6f5d8a17 HHH-6813 @Id @OneToOne cause NullPointerException during query 2013-05-16 18:50:48 -04:00
george-007 8b9ec5cca5 Update DefaultInitializeCollectionEventListener.java 2013-05-16 11:53:55 -04:00
Brett Meyer 08215bad73 HHH-2664 full join not working 2013-05-15 00:35:12 -04:00
Gail Badner 4dac8052d5 HHH-7841 - Redesign Loader 2013-05-13 13:28:01 -07:00
Gail Badner 4620ff4b4f HHH-7841 - Redesign Loader 2013-05-13 12:10:47 -07:00
Gail Badner dfe33ffa1a HHH-7841 - Redesign Loader 2013-05-13 12:10:47 -07:00
Steve Ebersole 1337d36a79 HHH-8235 - Drop database profiles upstream 2013-05-10 15:59:02 -05:00
Brett Meyer cf91fd7a49 HHH-6813 @Id @OneToOne cause NullPointerException during query 2013-05-10 13:11:49 -04:00
Steve Ebersole 9a590c8e69 HHH-8222 - Implement @NamedStoredProcedureQuery binding 2013-05-09 20:36:14 -05:00
Steve Ebersole 8e3770235b HHH-8211 - Checkstyle and FindBugs fix-ups 2013-05-09 19:51:10 -05:00
Steve Ebersole 8c95a6077a HHH-8222 - Implement @NamedStoredProcedureQuery binding 2013-05-09 14:47:58 -05:00
Brett Meyer 1df4b2ea3c HHH-8226 table synonyms cannot find columns on Oracle 2013-05-07 16:20:43 -04:00
Steve Ebersole f09a337601 HHH-5465 - HQL left join fetch of an element collection following a left join fetch of a one-to-one relationship causes NullPointerException 2013-05-07 15:10:28 -05:00
Christian Beikov 4c47ba13e3 HHH-5465 - HQL left join fetch of an element collection following a left join fetch of a one-to-one relationship causes NullPointerException (testcase) 2013-05-07 15:10:28 -05:00
Brett Meyer 9030fa015e HHH-8217 Make generated constraint names short and non-random 2013-05-07 12:36:54 -04:00
Lukasz Antoniak 9fc22a49be HHH-7214 - Validation of duplicated discriminator values 2013-05-07 09:40:12 -04:00
Lukasz Antoniak 51b9248c4b HHH-6875 - Fix and test 2013-05-07 09:40:12 -04:00
Strong Liu 7004914ec0 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-07 13:30:29 +08:00
Gunnar Morling 1bf647b7eb HHH-8218 - Upgrading to BV 1.1.0.Final and HV 5.0.1.Final 2013-05-06 16:29:52 -05:00
Gunnar Morling 196885498b HHH-8219 - Removing references to methods added in Java 7 2013-05-06 22:16:57 +02:00
Brett Meyer 257d8ee370 HHH-7943 Corrected RegionFactoryInitiator for failing inifinispan tests 2013-05-01 15:05:31 -04:00
Brett Meyer 489ee4a734 HHH-7943 Added support for ehcache and infinispan strategies and OSGi
services.  Numerous ehcache and infinispan CL fixes.
2013-05-01 15:05:31 -04:00
Steve Ebersole 8c9ab58f44 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-01 11:52:08 -05:00
Steve Ebersole 2b20197249 HHH-8207 - Locale conversion is broken 2013-05-01 11:28:23 -05:00
Christian Beikov b39fdbf1f8 Fix string to locale conversion
The original implementation didn't care about leading underscores. StringTokenizer skips leading separators which is actually wrong. new Locale("", "XX").toString() produces "_XX" which can't be converted back to the same locale with the original implementation.
2013-05-01 10:43:23 -05:00
Steve Ebersole 4d04dfc088 HHH-8207 - Locale conversion is broken 2013-05-01 10:34:05 -05:00
Steve Ebersole a1d190d674 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-01 09:23:52 -05:00
Brett Meyer 04fe84994d HHH-7995 Added support for TypeContributors in OSGi. Integrated with
envers
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiPersistenceProvider.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiSessionFactoryService.java
2013-05-01 00:05:03 -04:00
Steve Ebersole 06fb9e70db HHH-7998 - Add TypeContributions contract
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/spi/TypeContributor.java
2013-04-30 23:58:43 -04:00
Steve Ebersole 459c061eb6 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-30 15:31:10 -05:00
Steve Ebersole 1c690ca89b HHH-8159 - Apply fixups indicated by analysis tools 2013-04-29 20:24:54 -05:00
Steve Ebersole 3b8320da7e HHH-8159 - Apply fixups indicated by analysis tools 2013-04-29 18:57:29 -05:00
Brett Meyer 30d63bf58f HHH-7995 Auto-discovery of Hibernate extension points in OSGi 2013-04-29 11:51:02 -04:00
Brett Meyer 398000517f HHH-7943 Reworked "Availability" concepts into "strategy registration
providers".  Updated proxool and c3p0 to use strategy selection.
2013-04-29 11:51:01 -04:00
Steve Ebersole b51164aef6 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 18:50:39 -05:00
Steve Ebersole 021401835c HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 14:10:54 -05:00
Steve Ebersole fc02da1c12 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 12:30:34 -05:00
Steve Ebersole 48331ed8cf HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 11:36:58 -05:00
Steve Ebersole 42fd32a81a HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 11:19:54 -05:00
Steve Ebersole e09d6855a2 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 11:04:40 -05:00
Steve Ebersole b05b7800e1 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-25 17:16:28 -05:00
Strong Liu fecde04472 HHH-8127 OutOfMemoryError when running tests 2013-04-26 02:44:18 +08:00
Steve Ebersole ce08bdb7a8 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-25 10:01:09 -05:00
Steve Ebersole 955c99cc43 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-25 09:49:02 -05:00
Brett Meyer 377c300071 HHH-8162 Make unique constraint handling on schema update configurable 2013-04-24 17:24:53 -04:00
Brett Meyer 4d461cc44e HHH-2872 test case 2013-04-24 15:43:08 -04:00
Steve Ebersole 5fc70fc5ab HHH-8159 - Apply fixups indicated by analysis tools 2013-04-24 13:28:26 -05:00
Steve Ebersole 8c28ba8463 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-23 18:13:59 -05:00
Gail Badner 900ad4be11 HHH-7841 - Redesign Loader 2013-04-22 16:07:50 -07:00
Gail Badner 8c7dfc9d28 HHH-7841 - Redesign Loader 2013-04-22 16:07:50 -07:00
Steve Ebersole 63093dbfd9 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-22 17:15:14 -05:00
Steve Ebersole 3343e6d6c3 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-19 15:49:53 -05:00
Steve Ebersole 6a388b754c HHH-8159 - Apply fixups indicated by analysis tools 2013-04-19 14:35:39 -05:00
Gail Badner bca73db4f9 HHH-7841 - Redesign Loader 2013-04-19 02:16:38 -07:00
Gail Badner b6fd7bf223 HHH-7841 - Redesign Loader 2013-04-19 02:15:59 -07:00
Gail Badner f3298620ee HHH-7841 - Redesign Loader 2013-04-18 13:32:57 -07:00
Steve Ebersole 3600ffb7f2 HHH-7841 - Redesign Loader 2013-04-18 12:47:18 -05:00
Steve Ebersole b8b9735cf5 simple build script fix for IDEA project generation 2013-04-17 13:26:55 -05:00
Steve Ebersole 8eeef7af3b HHH-8146 - Update to use maven-publishing plugin 2013-04-16 18:26:02 -05:00
Brett Meyer 079fd4ac01 HHH-8160 Corrected Import-Package in module manifests 2013-04-16 10:29:44 -04:00
Steve Ebersole fafce001e7 HHH-7841 - Redesign Loader 2013-04-15 20:46:18 -05:00
Steve Ebersole cbfa233ea1 HHH-7880 - SessionFactory.openStatelessSession() does not respect tenant identifier from CurrentTenantIdentifierResolver 2013-04-15 14:50:43 -05:00
Brett Meyer 1af9724692 HHH-8183 Added setting to enable synonyms 2013-04-15 13:25:35 -04:00
Baptiste Mathus 15a0868bd7 Adding SYNONYM in the list of searched types. 2013-04-15 13:25:35 -04:00
Steve Ebersole d9aa9d3cd2 HHH-7974 - Session.getTenantIdentifier() not callable without active transaction 2013-04-15 11:21:02 -05:00
Steve Ebersole 8bca70e6a9 HHH-7841 - Redesign Loader 2013-04-12 14:08:35 -05:00
Nikolay Shestakov cbbadea538 HHH-7908 Logging level checking
Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
2013-04-12 09:56:41 -04:00
Lukasz Antoniak 6be8b4aad0 HHH-7478 - Fix and test 2013-04-11 18:13:58 -04:00
Jeremy Whiting 7778aae3b7 HHH-8180 Checks for logging level. Logging level check moved to variable
outside for loop.
2013-04-11 17:52:20 -04:00
Lukasz Antoniak bd315f01a9 HHH-7357 - Constraint violation exception while inserting NULL to not nullable column 2013-04-11 16:37:26 -04:00
Lukasz Antoniak 6d6dcdf267 HHH-7605 - Event cache descriptive error messages 2013-04-11 16:31:26 -04:00
Lukasz Antoniak fb54d0f3a5 HHH-8103 - Oracle LOBs with SequenceIdentityGenerator 2013-04-11 16:31:26 -04:00
Steve Ebersole ba1b02ed22 HHH-7841 - Redesign Loader 2013-04-11 14:57:43 -05:00
Gail Badner 560a397a01 HHH-7841 - Redesign Loader 2013-04-11 14:31:26 -05:00
Gail Badner b3791bc3c3 HHH-7841 : Redesign Loader 2013-04-11 14:31:26 -05:00
Steve Ebersole 3f8699c913 HHH-7841 - Redesign Loader 2013-04-11 14:31:26 -05:00
Steve Ebersole 88d5c02d7f HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole 1b10ee72f5 HHH-7841 - Redesign Loader - initial test of ResultSetProcessor 2013-04-11 14:31:25 -05:00
Steve Ebersole 87012e8101 HHH-8077 - Add MDC usage into attribute walking to help decode logs from recursive calls 2013-04-11 14:31:25 -05:00
Gail Badner 6ea20fa308 HHH-7841 : Add LoadQuery for generating SQL 2013-04-11 14:31:25 -05:00
Steve Ebersole 8b7091e1c7 HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole 3d332371bd HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole c75dafbedd HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole a102bf2c31 HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole c259e157b0 HHH-8167 - Adding @NotNull to a @ManyToOne association with @JoinColumnsOrFormulas logs a ClassCastException 2013-04-11 14:30:32 -05:00
Brett Meyer 53f7b73adb HHH-8178 Natural IDs generate one UniqueKey for all columns 2013-04-11 14:19:33 -04:00
Brett Meyer d39272a280 HHH-8175 Test fixes for postgresplus92 2013-04-11 14:19:33 -04:00
Lukasz Antoniak 35bd192556 HHH-2403 - Test cleanup 2013-04-11 09:12:23 +02:00
Steve Ebersole 692959a48e HHH-8170 - Deprecate Hibernate @ForeignKey in favor of JPA 2.1 introduced @ForeignKey annotation 2013-04-10 16:25:12 -05:00
Steve Ebersole 33640ae2bd HHH-8164 - Deprecate @Sort in favor of @SortNatural and @SortComparator 2013-04-10 16:25:12 -05:00
Brett Meyer 9c3bad3b2d HHH-8084 LobMergeTest fails on oracle 2013-04-10 15:25:20 -04:00
Steve Ebersole 54bc9fbf9d HHH-8163 - Deprecate @IndexColumn and add @ListIndexBase 2013-04-10 12:26:33 -05:00
Steve Ebersole 4806324291 HHH-8163 - Deprecate @IndexColumn and add @ListIndexBase 2013-04-10 11:48:24 -05:00
Steve Ebersole bb5e07dce9 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-09 20:40:36 -05:00
Steve Ebersole b8ebe0ef4d HHH-8159 - Apply fixups indicated by analysis tools 2013-04-09 19:40:58 -05:00
Steve Ebersole 34e7512c76 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-09 19:38:40 -05:00
Steve Ebersole 1a066dd6b3 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-09 12:54:15 -05:00
Brett Meyer 06bb009dc6 HHH-8160 Support unmanaged JPA in 4.3.x 2013-04-09 09:57:38 -04:00
Brett Meyer cc4ef44670 HHH-8160 Updated for Gradle 1.5 OSGi plugin changes and package
versioning issues
2013-04-09 09:57:36 -04:00
Steve Ebersole 96aa4a6239 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-08 21:24:09 -05:00
Brett Meyer cf921df1d0 HHH-8092 Added comment about unique constraints in schema update. 2013-04-08 13:05:44 -04:00
Steve Ebersole 378fc1378a HHH-8143 - Create a 'generateSources' task that performs all generation tasks 2013-04-04 14:45:49 -05:00
Brett Meyer d68dcd9ae6 HHH-7993 Support jar scanning in OSGi 2013-04-04 15:02:26 -04:00
Steve Ebersole 442c3268b3 HHH-8113 - Persistence.createEntityManagerFactory() should run schema export if JPA properties are set 2013-04-03 11:20:52 -05:00
Steve Ebersole 2f40949719 HHH-8129 - Unify BaseQueryImpl and AbstractQueryImpl hierarchies 2013-04-03 10:52:52 -05:00
Brett Meyer e17819ed61 HHH-8136 Correct "to_char" function in HSQL 2013-04-03 11:16:20 -04:00
Brett Meyer 47443bcf57 HHH-8127 Corrected failing test 2013-04-03 10:29:12 -04:00
Strong Liu bae5a85c26 HHH-8127 OutOfMemoryError when running tests
Conflicts:
	hibernate-core/src/test/java/org/hibernate/cfg/beanvalidation/ApplySchemaConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java
2013-04-03 10:27:38 -04:00
Brad Koehn f77b068e91 HHH-7714 Add support for EntityMode.MAP to JPA Criteria API
(cherry picked from commit 2758b8b494)

Conflicts:

	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/predicate/InPredicate.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/metamodel/MetadataContext.java
2013-03-29 12:10:31 -05:00
Brett Meyer e9e29a40be HHH-8096 Re-work the OSGi class loading concepts
Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/HibernatePersistence.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/HibernateBundleActivator.java
2013-03-27 15:04:48 -04:00
Steve Ebersole 7d99ca57f3 HHH-7402 - Improve performance of named query registry 2013-03-26 11:15:49 -05:00
Brett Meyer dc193c32c5 HHH-7984 Handle Oracle statements on release 2013-03-26 10:58:39 -04:00
Strong Liu 1ee3be2da7 HHH-7869 code format 2013-03-26 16:35:16 +08:00
Strong Liu 681528b7cc HHH-7869 simple improvement, using generic 2013-03-26 16:08:39 +08:00
Strong Liu 8998b4154a HHH-7869 bad performance problem with org.hibernate.internal.util.StringHelper#firstIndexOfChar 2013-03-26 16:08:39 +08:00
Brett Meyer bb231dd378 HHH-6496 Added LOG 2013-03-25 17:01:01 -04:00
Kamyar Sajjadi a0bbf0d029 HHH-6496 - Changed line 200 returning real object instead of proxy 2013-03-25 17:01:01 -04:00
Hardy Ferentschik d3867e9c1b HHH-8100 Update to BV 1.1 (1.1.0.CR3 and matching Hibernate Validator 5.0.0.CR4); plus upgrade classmate to 0.8.0 2013-03-25 15:48:29 -05:00
Lukasz Antoniak 5e7b3601a9 HHH-7984 - Oracle callable statement closing 2013-03-25 13:23:50 -04:00
Steve Ebersole 31219e25d7 HHH-8107 - JandexHelper.getValue() returns Boolean instead of boolean, causing ClassCastException 2013-03-25 09:42:27 -05:00
Steve Ebersole d184cb3eb4 HHH-7462 - Make JACC service 2013-03-24 12:09:52 -05:00
Steve Ebersole 86aca3d101 HHH-7981 - Load (now) locally defined orm.xsd while processing orm.xml files 2013-03-23 13:57:00 -05:00
Strong Liu 4eba1320fa JPA-43 Impl Index and ForeignKey for JPA 2.1 2013-03-22 16:33:36 +08:00
Strong Liu 4b698302a5 JPA-43 Impl Index and ForeignKey for JPA 2.1 2013-03-22 16:06:21 +08:00
Steve Ebersole a1afa0ce35 HHH-7981 - Load (now) locally defined orm.xsd while processing orm.xml files 2013-03-21 18:16:44 -05:00
Brett Meyer 06ab065272 HHH-1904 Hash the natural id unique key names 2013-03-21 15:57:56 -04:00
Brett Meyer 721016cccb HHH-8085 QueryCacheTest.testGetByCompositeId fails on db2-97 -- DB2 SQL
Error: SQLCODE=-613
2013-03-21 09:52:04 -04:00
Brett Meyer b5457f37e2 HHH-8092 Configuration#generateSchemaUpdateScript does not create unique
constraints
2013-03-21 09:33:58 -04:00
Steve Ebersole 467daa22b0 HHH-7981 - Load (now) locally defined orm.xsd while processing orm.xml files 2013-03-20 22:03:35 -05:00
Brett Meyer fbdca39506 HHH-1904 Identifier too long 2013-03-20 16:30:52 -04:00
Brett Meyer da5dd819a3 HHH-8082 HQLScrollFetchTest.testScroll hangs on DB2-97 2013-03-19 18:28:08 -04:00
Steve Ebersole 8df33227be HHH-8071 - Add debug/trace logging to HibernatePersistenceProvider 2013-03-15 15:56:05 -05:00
timpeeters 0f9fae5121 HHH-8076 Make javax.security and javax.validation optional
Currently the OSGi manifest creation via Gradle automatically imports all packages that are used by hibernate-core. Although this saves you from having to list all the imports manually, it does mean that some optional dependencies suddenly become mandatory dependencies. I've updated the hibernate-core Gradle build file to make the hibernate-core dependencies on javax.security and javax.validation optional. This way you are not forced to have these dependencies available in your OSGi container. More information in HHH-7941.
2013-03-15 10:16:07 -04:00
Brett Meyer 79073a98f0 HHH-8073 Corrected column alias creation 2013-03-14 17:36:41 -04:00
Brett Meyer d2c4588c86 HHH-8061 Added a supportsExpectedLobUsagePattern check 2013-03-14 15:51:53 -04:00
Brett Meyer 394b080a89 HHH-4412 Corrected multiple test issues found in matrix CI 2013-03-14 14:11:39 -04:00
Steve Ebersole c94870d9fd HHH-7912 - Define edge-case behavior for Session.evict
(cherry picked from commit 0ffe6e7115)
2013-03-14 12:33:21 -05:00
Steve Ebersole 8c96a4a2c6 HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 30b3bd1564)
2013-03-14 12:33:21 -05:00
Steve Ebersole 60836cda1b HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 5506a48bea)
2013-03-14 12:33:21 -05:00
Steve Ebersole 889405b3f5 HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 93f4fe0668)
2013-03-14 12:33:21 -05:00
Steve Ebersole 3fd3fe1c9b HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 5dadc5afd2)
2013-03-14 12:33:21 -05:00
Brett Meyer 4d1ff8f718 HHH-7910 Corrected thread checking logic 2013-03-14 11:57:32 -04:00
Strong Liu 89fd64bc2e HHH-7978 - Document new feature from HHH-5869 2013-03-13 14:42:26 +08:00
Brett Meyer 13dce3379a HHH-5732 Corrected test failing on SQL Server 2013-03-11 17:08:49 -04:00
Brett Meyer 3815080207 HHH-4412 Corrected multiple test issues found in matrix CI 2013-03-11 15:40:51 -04:00
Brett Meyer b6d740d6d2 HHH-7910 Transaction timeout can cause non-threadsafe session access by reaper thread 2013-03-08 13:03:01 -05:00
Brett Meyer 42f3422720 HHH-7890 Quoting identifiers breaks @UniqueConstraint 2013-03-07 11:54:49 -05:00
Brett Meyer bdca6dc1e1 HHH-5732 @OrderColumn not updated if @OneToMany has mappedby defined 2013-03-06 17:56:43 -05:00
Brett Meyer b899d2b006 HHH-8022 Comments and copyrights 2013-03-06 10:05:18 -05:00
Lukasz Antoniak 97e06d16cc HHH-8022 - Reading REF CURSOR 2013-03-06 09:54:03 -05:00
Brett Meyer 31f43e3321 HHH-4412 Cleanup and copyrights 2013-03-06 09:31:57 -05:00
Janario Oliveira 6cda7dc577 HHH-4412 - Created native query to insert, delete, update 2013-03-06 08:49:27 -05:00
Brett Meyer fd772a47db HHH-8037 Pulled duplicate code into StringHelper 2013-03-05 20:26:44 -05:00
Barney 6b368e9512 HHH-8037 - Empty SQL statements with custom UniqueDelegate 2013-03-05 20:14:23 -05:00
Steve Ebersole 139474624f HHH-5732 - @OrderColumn not updated if @OneToMany has mappedby defined 2013-03-05 14:44:17 -06:00
Sanne Grinovero e5f8039f31 HHH-8044 Remove mention of unsupported cache providers from documentation 2013-03-02 20:35:49 +00:00
Brett Meyer 458152440e HHH-8025 Implemented eqOrIsNull and neOrIsNotNull criteria 2013-02-28 16:54:53 -05:00
Brett Meyer 1fdf4d7a07 HHH-8025 Revert "HHH-2951 Restrictions.eq when passed null, should create a NullRestriction"
This reverts commit 70454c9168.
2013-02-28 16:54:53 -05:00
Brett Meyer 7f52b476c9 HHH-8010 Moved OsgiClassLoader handling into
BootstrapServiceRegistryBuilder
2013-02-28 10:57:28 -05:00
Brett Meyer 394458f6a6 HHH-8010 Support app-managed EntityManagerFactory and SessionFactory
creation by OSGi bundles

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/DriverManagerConnectionProviderImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/HibernateBundleActivator.java
2013-02-28 10:28:23 -05:00
Strong Liu 0e6d08d414 JPA-43 - Impl Index and ForeignKey for JPA 2.1 2013-02-28 23:20:15 +08:00
Brett Meyer 8515ce197a HHH-8026 Duplicate constraint names with unique=true 2013-02-27 15:18:16 -05:00
Strong Liu 3335710a38 JPA-43 - Impl Index and ForeignKey for JPA 2.1 2013-02-28 00:20:51 +08:00
Brett Meyer a9cc4ab67c HHH-8029 Improve SimpleNationalizedTest 2013-02-22 13:57:28 -05:00
Steve Ebersole 2e18376fba HHH-7990 - Bootstrapping Hibernate fails if javax.validation API is on classpath but no provider
(cherry picked from commit 898bab28ca)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2013-02-22 12:39:19 -06:00
Brett Meyer 3fa669831f HHH-8021 test case 2013-02-21 11:10:13 -05:00
Steve Ebersole 4e126dcffc HHH-6736 - Support for SELECT ... FOR UPDATE SKIP LOCKED / read past locking 2013-02-20 09:31:14 -06:00
Aleksander Blomskøld e0cfc6bf2e HHH-6736 Added support for SELECT ... FOR UPDATE SKIP LOCKED 2013-02-20 08:49:30 -06:00
Lukasz Antoniak 59bb86978e HHH-7608 - Fix and test 2013-02-19 17:33:54 -05:00
Lukasz Antoniak dcccc6c4b0 HHH-4150 - Fix and test 2013-02-19 17:28:35 -05:00
Lukasz Antoniak f4b45eb5a9 HHH-2045 - HQL empty IN list 2013-02-19 16:18:50 -05:00
Kamyar Sajjadi a44cc3097a HHH-7952 Typo in Javadoc For TableGenerator/TableHiLoGenerator 2013-02-19 15:59:41 -05:00
Brett Meyer 89619201a3 HHH-7889 Created SQL ClobTypeDescriptor#STREAM_BINDING_EXTRACTING for Sybase remapping. Reverting back to Lob extraction ignoring useStreamForLobBinding 2013-02-19 14:59:55 -05:00
Brett Meyer abb9c2b0b7 HHH-8018 Reverted back to BLOB_BINDING for extraction until investigated 2013-02-18 14:32:14 -05:00
Brett Meyer e406ddad55 HHH-8017 Correct SybaseDialect's getNullColumnString 2013-02-18 11:47:09 -05:00
Lukasz Antoniak cf49796cf3 HHH-8007 - Fix and test 2013-02-15 09:59:07 -05:00
Brett Meyer 212c50f5d7 HHH-8005 Sybase 15 - nullable column are not nullable (when created by
SchemaExport)
2013-02-14 18:42:42 -05:00
Brett Meyer 3797e2150a HHH-6841 Applied @SkipForDialects to a couple of tests 2013-02-14 18:12:08 -05:00
Brett Meyer 07539904ba HHH-4084 Corrected test compiling error 2013-02-14 17:37:45 -05:00
Nikolay Shestakov 0e2fd9f970 fix review remark 2013-02-14 17:22:00 -05:00
Nikolay Shestakov 2725a7d49e HHH-4084 @UniqueConstraint(columnNames="") causes StringIndexOutOfBoundsException 2013-02-14 17:21:48 -05:00
Brett Meyer bbfd960bc8 HHH-7889 Cleanup inconsistencies in Blob, Clob, and NClob type
descriptors
2013-02-14 16:53:37 -05:00
Vincent Cornet 98e3b2ab97 HHH-7889
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/ClobTypeDescriptor.java
2013-02-14 15:55:01 -05:00
Brett Meyer 9069d7aed9 HHH-8006 MergeCollectionEventTest & BadMergeHandlingTest fail on MySQL 2013-02-14 12:28:02 -05:00
Brett Meyer 54bb0cb284 HHH-7992 Updated to reflect Session SPI change 2013-02-14 10:48:35 -05:00
Brett Meyer 4d68ddf7b0 HHH-7991 Correct all instances of
Thread.currentThread().getContextClassLoader()
2013-02-14 10:44:36 -05:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05:00
Brett Meyer 18f0bd2f4a HHH-8003 Create "sqlDropString" method in Dialect to handle "if exists"
correctly
2013-02-13 23:08:44 -05:00
Brett Meyer b5de4cda15 HHH-7999 Oracle test failures due to lack of support for identity
columns
2013-02-13 22:30:38 -05:00
Brett Meyer 98a49b80b2 HHH-8002 TransactionTimeoutTest#testTransactionTimeoutSuccess failing on
Oracle
2013-02-13 22:27:08 -05:00
Brett Meyer cc8395e280 HHH-7999 Create HQLScrollFetchTest for dialects that do not support
identity columns
2013-02-13 17:40:36 -05:00
Guillaume Smet d6b3f373ea HHH-7821 - Clear the entire BatchFetchQueue on flush.
Provide a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.
2013-02-13 16:12:28 -05:00
Guillaume Smet 2040e44c03 HHH-7821 - Clears the batch collection fetching queue on flush.
Provides a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.
2013-02-13 16:12:19 -05:00
Guillaume Smet e722f6391f HHH-7970 - Fix broken logic in JPAOverriddenAnnotationReader.getCacheable(): if element is null, you have to consider the @Cacheable annotation
per gripe from Andreas Joseph Krogh
2013-02-13 12:11:39 -05:00
Steve Ebersole 5a5d19273d HHH-7992 - Add a base Session delegator implementation 2013-02-12 16:17:21 -06:00
Sanne Grinovero ec11902a92 HHH-7992 - Add a base Session delegator implementation 2013-02-12 16:11:54 -06:00
Steve Ebersole c56bb23ef5 HHH-5951 - Strategy for deciding JtaPlatform when an explicit one not specified 2013-02-11 15:39:24 -06:00
Strong Liu ec6494020b HHH-7969 @SecondaryTable#indexes 2013-02-06 02:51:05 +08:00
Strong Liu 13bf94b0d3 HHH-7969 Deprecated hibernate's Index annotation 2013-02-06 02:31:31 +08:00
Strong Liu 1d9b7a06a5 HHH-7969 initial @Table#indexes support 2013-02-06 00:09:08 +08:00
Steve Ebersole a3083aaa7b HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-03 18:03:55 -06:00
Steve Ebersole 9ab924041d HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-03 14:31:43 -06:00
Steve Ebersole 6599f710bb HHH-7965 - Redesign DialectResolver contract 2013-02-03 14:23:59 -06:00
Steve Ebersole 5c453fee8d HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : entity graph support - phase 1 2013-02-03 14:23:59 -06:00
Brett Meyer 76c14b1697 HHH-7829 NullPointerException when manually flushing One-To-One
relationship with orphan removal
2013-02-01 12:59:39 -05:00
Strong Liu c1317346ac HHH-7930 Hibernate will crash with (custom) enum types when running with a logback.xml in debug mode 2013-01-30 17:12:32 +08:00
Brett Meyer c52864d188 HHH-7580 Corrected a few failures after the cherry-pick into master 2013-01-29 15:11:11 -05:00
Steve Ebersole 7976e2396a HHH-7580 - Complete 2-phase SessionFactory building design
Conflicts:
	hibernate-core/src/main/java/org/hibernate/SessionFactory.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/MetadataSources.java
	hibernate-core/src/main/java/org/hibernate/metamodel/SessionFactoryBuilder.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/SessionFactoryBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/JaxbHelper.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataImpl.java
	hibernate-core/src/main/java/org/hibernate/service/spi/ServiceContributor.java
	hibernate-core/src/test/java/org/hibernate/cfg/beanvalidation/ApplySchemaConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/binding/BasicCollectionBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/AssertSourcesTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/entity/BaseAnnotationBindingTestCase.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/xml/OrmXmlParserTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/internal/MetadataImplTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/AbstractBasicBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/AbstractUnsavedValueTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/JoinedSubclassBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/basiccollections/AbstractBasicCollectionBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/onetomany/AbstractUnidirectionalOneToManyBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/relational/AbstractGeneratedIdColumnTests.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/internal/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/service/schema/internal/ExistingDatabaseMetaDataImplTest.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderUsingMetamodelImpl.java
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/NodeEnvironment.java
	hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
2013-01-29 13:58:58 -05:00
Lukasz Antoniak 3bb0f246fc HHH-465 - Support for NULLS FIRST/LAST
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
	hibernate-core/src/main/java/org/hibernate/criterion/Order.java
2013-01-28 14:07:53 -05:00
Steve Ebersole 10defc52cd HHH-7928 - Regression caused by HHH-6361 2013-01-24 13:05:34 -06:00
Himavanth d492b303ce HHH-7933 boolean should be treated as bit in SQLServer 2013-01-24 13:20:22 -05:00
Steve Ebersole cb1b9a05af HHH-7928 - Regression caused by HHH-6361 2013-01-24 12:00:20 -06:00
Brett Meyer 11e6fd5daf HHH-3788 FirebirdDialect: current_date() function 2013-01-23 16:52:27 -05:00
Brett Meyer a0d97430fb HHH-995 Order.ignoreCase() only works for VARCHAR types, not CHAR types 2013-01-23 15:58:19 -05:00
Brett Meyer f77e4d12d0 HHH-3869 Improve toString on SessionStatistics 2013-01-23 15:26:02 -05:00
Brett Meyer f28198054f HHH-2805 The class Order does not contain getters 2013-01-23 15:02:04 -05:00
Brett Meyer 99d9af748b HHH-7520 BlobProxy.invoke Javadoc is incorrect 2013-01-22 19:05:08 -05:00
Kamyar Sajjadi ecf9b7c258 HHH-7520 - now the implementation and the javadoc should be the same 2013-01-22 19:02:56 -05:00