Commit Graph

2103 Commits

Author SHA1 Message Date
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