Commit Graph

1659 Commits

Author SHA1 Message Date
Brett Meyer 7b30566ab6 HHH-8464 normalize quoting on join column 2013-09-05 12:46:54 -04:00
Brett Meyer ad48774d09 HHH-4699 test case 2013-08-22 15:36:22 -04:00
Kristian Marinkovic 334f8b0fa3 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:36:18 -04:00
Brett Meyer e66b5ab79d HHH-8068 formatting and cleanup 2013-08-21 15:40:16 -04:00
ammachado 5cf46b4eb6 HHH-8068 Suggestion for improvement. 2013-08-21 15:40:16 -04:00
Brett Meyer 9eaa2d0ab9 HHH-7915 test case and cleanup 2013-08-21 15:40:16 -04:00
chris-manning ad48fabc16 HHH-7915 Include referenced columns when creating foreign keys from the included table 2013-08-21 15:40:02 -04:00
Anton Marsden 2396e6b99e HHH-5920: improve the performance of PersistentClass
Conflicts:
	hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
2013-08-19 15:53:56 -04:00
Brett Meyer 131c108e4b HHH-8447 HQL delete with multiple subqueries failing (incorrect alias
used)
2013-08-16 13:02:41 -04:00
Brett Meyer 0fbbcd782b HHH-8441 Hibernate is trying to add values to an Immutable List 2013-08-15 15:40:00 -04:00
Steve Ebersole 860c1fdab7 HHH-8207 - Locale conversion is broken
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocaleTypeDescriptor.java
2013-08-15 13:08:47 -04:00
Steve Ebersole 700ec50bea HHH-8207 - Locale conversion is broken
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/type/AttributeConverterTest.java
2013-08-15 13:07:05 -04:00
Steve Ebersole f7653aa7e3 HHH-5465 - HQL left join fetch of an element collection following a left join fetch of a one-to-one relationship causes NullPointerException 2013-08-15 12:58:59 -04:00
Christian Beikov 33268fe0dd 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-08-15 12:58:56 -04:00
Brett Meyer 0fc57f6cc5 HHH-8383 ExceptionInInitializerError when changing System properties
while Environment class is initialized
2013-08-13 14:59:56 -04:00
Brett Meyer 8d75b032d5 HHH-8183 re-activating test now that QA allows Synonym creation 2013-08-13 10:31:32 -04:00
Brett Meyer 010a94bb97 HHH-8428 comment & cleanup 2013-08-06 11:53:36 -04:00
Karl von Randow 70a1e23a38 HHH-8428 Protect SessionFactoryRegistry.getNamedSessionFactory(String) from NPE 2013-08-06 11:53:31 -04:00
HGC 1948fa97dc HHH-8397: MultiLineImportFileTest failing on some platforms (Fix) 2013-08-05 22:23:46 -04:00
Brett Meyer 2d85d84acc HHH-8420 multiple test-only fixes from matrix failures
Conflicts:
	hibernate-core/src/test/java/org/hibernate/loader/EncapsulatedCompositeAttributeResultSetProcessorTest.java
	hibernate-core/src/test/java/org/hibernate/loader/EntityWithNonLazyCollectionResultSetProcessorTest.java
	hibernate-testing/src/main/java/org/hibernate/testing/env/ConnectionProviderBuilder.java
2013-08-05 16:52:55 -04:00
Brett Meyer 2fa9a6cd48 HHH-8390 generate FK after UK 2013-08-01 14:43:02 -04:00
Brett Meyer 2cd2c3955f HHH-8371 corrected failing test 2013-07-24 10:20:43 -04:00
Brett Meyer 4d9e182fed HHH-8371 Consider explicit column name's "_" in alias creation 2013-07-24 10:20:24 -04:00
Brett Meyer 5d1ebeda01 HHH-8362 InformixUniqueDelegate
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
2013-07-23 23:06:02 -04:00
Brett Meyer d596ea160c HHH-3078 copyright and refactored package 2013-07-11 19:27:32 -04:00
lgathy 4dc9dc6ada HHH-3078 Fixed bug with multiple classloaders and proxy class 2013-07-11 19:27:30 -04:00
Brett Meyer 5085ac9e60 HHH-8193 copyright dates 2013-07-10 13:51:18 -04:00
Lukasz Antoniak 99aef7c0ce 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

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:51:13 -04:00
Guenther Demetz 7f7abb7970 Bugfix proposal HHH-4294 2013-07-10 13:15:08 -04:00
Guenther Demetz b9fac8af11 Testcase HHH-4294 2013-07-10 13:15:04 -04:00
Brett Meyer 08e3b16a95 HHH-4261 comment and checkstyle 2013-07-10 11:42:56 -04:00
amkad 0aa4d6cfb5 Changed test to reproduce HHH-4261 2013-07-10 11:42:54 -04:00
amkad 3a07c28c08 Fixed @Any and @ManyToAny support in overridden JPA annotation reader HHH-4261 2013-07-10 11:42:52 -04:00
Brett Meyer 95d113f8d2 HHH-8318 @SkipForDialect added 2013-07-09 13:06:26 -04:00
JohnOhara 750903fc1d HHH-8106 Fixed bug with Enhancement Task 2013-07-03 10:27:37 -04:00
Brett Meyer ded1303b30 HHH-8210 JdbcCoordinatorImpl logs excessive warnings with some
connection pools
2013-06-27 22:49:09 -04:00
Brett Meyer 77fd4d6a89 HHH-8319 checkstyle 2013-06-21 10:52:58 -04:00
justinsubert 5abe02f92d HHH-8319
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/MySQL5Dialect.java
2013-06-21 10:52:54 -04:00
Steve Ebersole ac56d4eaae HHH-8318 - Problem determining qualifier to use for column names from HQL query parser in certain circumstances 2013-06-20 23:34:48 -04:00
Brett Meyer 8a63228c3b HHH-8318 updated test case 2013-06-20 23:34:47 -04:00
Brett Meyer 1b076074b0 HHH-8318 test case 2013-06-20 23:34:47 -04:00
Strong Liu 363a3b2b58 HHH-8312 - named parameters binding are not correct when used within subquery 2013-06-15 16:43:06 +08:00
Lukasz Antoniak 0ee13cfa08 HHH-8301 - SQLServer2005LimitHandler skips column alias generation
(cherry picked from commit 6a71cbb991)
2013-06-11 10:16:59 -07:00
Brett Meyer b02364a737 HHH-8255 made a few hibernate-core imports optional in the manifest
Conflicts:
	hibernate-core/hibernate-core.gradle
2013-06-07 13:11:17 -04:00
Brett Meyer 4a419ed611 HHH-8275 union-subclass generates bad alter table for unique constraint 2013-06-03 17:29:25 -04:00
Brett Meyer 7fad06da4a HHH-8269 DenormalizedTable FK constraint names can be too long 2013-05-25 20:29:25 -04:00
Brett Meyer ad2639f01b HHH-8083 @OrderColumn not updated on @OneToMany cascade
Conflicts:
	hibernate-core/src/main/java/org/hibernate/action/internal/CollectionUpdateAction.java
2013-05-22 13:06:18 -04:00
Brett Meyer 6f6e3c62b2 HHH-6813 Corrected EntityType#getRHSUniqueKeyPropertyName() and added
regression test.
2013-05-20 11:19:06 -04:00
Brett Meyer 335ddeaefc HHH-8254 throw HibernateException when transaction is rolledback by a
reaper thread
Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/transaction/TransactionJoiningTest.java
2013-05-17 13:37:00 -04:00
Brett Meyer e361ad49fe HHH-6813 @Id @OneToOne cause NullPointerException during query 2013-05-16 18:51:12 -04:00
george-007 c1eff0f8b9 Update DefaultInitializeCollectionEventListener.java 2013-05-16 11:54:32 -04:00
Brett Meyer 920ba3641f HHH-2664 full join not working 2013-05-15 00:35:23 -04:00
Brett Meyer b48f83b055 HHH-6813 @Id @OneToOne cause NullPointerException during query 2013-05-10 13:09:35 -04:00
Brett Meyer 66c15d39fd HHH-8226 2013-05-07 16:06:34 -04:00
Brett Meyer 17c6204091 HHH-8217 Make generated constraint names short and non-random
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
	hibernate-core/src/main/java/org/hibernate/mapping/UniqueKey.java
2013-05-07 15:18:21 -04:00
Brett Meyer 8e3fd81046 HHH-7995 Added support for TypeContributors in OSGi. Integrated with
envers
2013-04-30 12:50:02 -04:00
Steve Ebersole aecd5a444b 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 10:54:16 -04:00
Brett Meyer d0098f3caa HHH-8162 Make unique constraint handling on schema update configurable
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/join/JoinOrderingTest.java
2013-04-24 17:31:58 -04:00
Brett Meyer a30347552c HHH-7995 Auto-discovery of Hibernate extension points in OSGi 2013-04-22 15:19:23 -04:00
Steve Ebersole cf8113d54a HHH-7880 - SessionFactory.openStatelessSession() does not respect tenant identifier from CurrentTenantIdentifierResolver 2013-04-15 14:46:49 -05:00
Brett Meyer b455b2ddc9 HHH-8183 Added setting to enable synonyms
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
2013-04-15 13:25:26 -04:00
Baptiste Mathus e2afe7f55d Adding SYNONYM in the list of searched types. 2013-04-15 13:25:26 -04:00
Steve Ebersole 812d3f6bf0 HHH-7974 - Session.getTenantIdentifier() not callable without active transaction
(cherry picked from commit d9aa9d3cd2)
2013-04-15 11:29:33 -05:00
Nikolay Shestakov 06e6c04e39 HHH-7908 Logging level checking
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/BasicExtractor.java
2013-04-12 09:47:50 -04:00
Lukasz Antoniak 0958313ebc HHH-7478 - Fix and test 2013-04-11 18:16:31 -04:00
Nikolay Shestakov 8730320ad6 using ConcurrentHashMap for decrease synchronization 2013-04-11 17:59:59 -04:00
Jeremy Whiting afeabdc7b0 HHH-8180 Checks for logging level. Logging level check moved to variable
outside for loop.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
2013-04-11 17:54:29 -04:00
Lukasz Antoniak ed9d7f2fa2 HHH-7357 - Constraint violation exception while inserting NULL to not nullable column 2013-04-11 16:37:41 -04:00
Lukasz Antoniak b838344eeb HHH-7605 - Event cache descriptive error messages 2013-04-11 16:19:46 -04:00
Lukasz Antoniak cbd1d1e0c2 HHH-8103 - Oracle LOBs with SequenceIdentityGenerator 2013-04-11 15:33:14 -04:00
Brett Meyer 486cac2174 HHH-8178 Natural IDs generate one UniqueKey for all columns 2013-04-11 14:19:51 -04:00
Brett Meyer e63dc96b13 HHH-8175 Test fixes for postgresplus92 2013-04-11 14:19:47 -04:00
Lukasz Antoniak 8d82be8d30 HHH-2403 - Test cleanup
(cherry picked from commit 35bd192556)
2013-04-11 09:15:00 +02:00
Brett Meyer cde3d876d8 HHH-8084 LobMergeTest fails on oracle 2013-04-10 15:13:23 -04:00
Brett Meyer 838e71a0ee HHH-8092 Added comment about unique constraints in schema update. 2013-04-05 12:16:27 -04:00
Brett Meyer 8d4b4857b7 HHH-7993 Support jar scanning in OSGi 2013-04-04 15:01:37 -04:00
Brett Meyer e750fe7755 HHH-8136 Correct "to_char" function in HSQL 2013-04-03 11:16:31 -04:00
Brad Koehn 2758b8b494 HHH-7714 Add support for EntityMode.MAP to JPA Criteria API 2013-03-29 09:14:47 -05:00
Strong Liu b2fe7423a6 HHH-7869 code format 2013-03-26 16:37:27 +08:00
Strong Liu ba2dc24c42 HHH-7869 simple improvement, using generic 2013-03-26 16:37:10 +08:00
Strong Liu 8850c1fa91 HHH-7869 bad performance problem with org.hibernate.internal.util.StringHelper#firstIndexOfChar 2013-03-26 16:37:03 +08:00
Brett Meyer 941579da74 HHH-6496 Added LOG 2013-03-25 16:30:00 -04:00
Kamyar Sajjadi 18b0325e51 HHH-6496 - Changed line 200 returning real object instead of proxy 2013-03-25 16:22:00 -04:00
Lukasz Antoniak 62cea68007 HHH-7984 - Oracle callable statement closing
Conflicts:
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
	hibernate-core/src/main/java/org/hibernate/loader/entity/DynamicBatchingEntityLoaderBuilder.java
2013-03-25 13:48:55 -04:00
Brett Meyer f83d29be90 HHH-1904 Hash the natural id unique key names 2013-03-21 15:57:43 -04:00
Brett Meyer 84e21fb18d HHH-8085 QueryCacheTest.testGetByCompositeId fails on db2-97 -- DB2 SQL
Error: SQLCODE=-613
2013-03-21 09:52:25 -04:00
Brett Meyer 9f58f29502 HHH-8092 Configuration#generateSchemaUpdateScript does not create unique
constraints
2013-03-21 09:34:12 -04:00
Brett Meyer 4f0344dbbe HHH-1904 Identifier too long
Conflicts:
	hibernate-core/src/main/java/org/hibernate/mapping/Table.java
2013-03-20 16:33:19 -04:00
Brett Meyer d9673b8a70 HHH-8082 HQLScrollFetchTest.testScroll hangs on DB2-97 2013-03-19 18:27:47 -04:00
timpeeters 4657d306fc 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 09:58:03 -04:00
Brett Meyer 4d20fb5334 HHH-8073 Corrected column alias creation 2013-03-14 17:41:01 -04:00
Brett Meyer a7b4e9f8fd HHH-8061 Added a supportsExpectedLobUsagePattern check 2013-03-14 15:52:10 -04:00
Brett Meyer 48e7c211cd HHH-4412 Corrected multiple test issues found in matrix CI 2013-03-14 14:12:57 -04:00
Brett Meyer a9a8ecb221 HHH-7910 Corrected thread checking logic 2013-03-14 11:57:50 -04:00
Strong Liu 073d673895 HHH-7978 - Document new feature from HHH-5869 2013-03-13 14:40:28 +08:00
Brett Meyer 809a4d15e7 HHH-5732 Corrected test failing on SQL Server 2013-03-11 17:21:52 -04:00
Brett Meyer 2d1596086e HHH-4412 Corrected multiple test issues found in matrix CI 2013-03-11 15:41:22 -04:00
Brett Meyer 03d48893cf HHH-7910 Transaction timeout can cause non-threadsafe session access by
reaper thread

Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/transaction/TransactionJoiningTest.java
2013-03-08 13:10:07 -05:00
Brett Meyer 9684a0afa5 HHH-7890 Quoting identifiers breaks @UniqueConstraint 2013-03-07 11:55:02 -05:00
Brett Meyer ad6c4d06b0 HHH-5732 @OrderColumn not updated if @OneToMany has mappedby defined 2013-03-06 18:02:14 -05:00