Commit Graph

1810 Commits

Author SHA1 Message Date
Brett Meyer 3d7494d8de HHH-2988 test case
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/quote/QuoteTest.java
2014-01-20 20:04:58 -05:00
davidmuzik 10bf926de8 HHH-2988 Update UnionSubclassEntityPersister column quoting 2014-01-20 20:03:06 -05:00
Brett Meyer c574fe0b17 HHH-8863 correct StatisticalLoggingSessionEventListener partial flush
timing
2014-01-14 14:36:54 -05:00
Brett Meyer de91d9b2ca HHH-5289 remove unnecessary security checks in property accessors
Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/event/internal/jpa/CallbackProcessorImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/event/internal/jpa/LegacyCallbackProcessor.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/metamodel/MetadataContext.java
2014-01-10 16:05:22 -05:00
Brett Meyer 4a57b45958 HHH-2188 Query metadata gives NPE for polymorphic queries
Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
2014-01-10 14:14:17 -05:00
Brett Meyer 24c951a3d1 HHH-8638 global quoting breaks UC on FK 2014-01-10 13:11:15 -05:00
Brett Meyer d437f0d9b4 HHH-8831 changed exception type, formatting 2014-01-09 13:18:46 -05:00
Christian Beikov 3159f04681 HHH-8831 improved exception message
When having @JoinColumn in a @CollectionTable that do not point to valid columns, the message can be really confusing. These new lines will actually enrich the exception which is thrown that the problem appeared on a specific property of a specific class.

Please include this, since it is not always clear what the actual problem is with a mapping when an exception occurs.
2014-01-09 13:18:44 -05:00
Lukasz Antoniak 1f2e4f2d0a HHH-8699 - Multiselect with boolean predicate
Conflicts:
	hibernate-core/src/main/antlr/hql-sql.g
	hibernate-core/src/main/antlr/sql-gen.g
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/criteria/QueryBuilderTest.java
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/metamodel/Customer.java
2014-01-08 18:00:51 -05:00
Brett Meyer 3c673e573c HHH-3051 corrected CustomLoader returnTypes (different approach)
Conflicts:
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
	hibernate-core/src/main/java/org/hibernate/loader/custom/CustomLoader.java
2014-01-06 14:12:45 -05:00
Brett Meyer 7200540651 HHH-3051 corrected Loader returnTypes
Conflicts:
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
2014-01-02 15:14:59 -05:00
Brett Meyer 7b19ea2c88 HHH-2298 WARN if using build-in conn pool 2013-12-17 14:29:08 -05:00
Brett Meyer 04c08cb9fd HHH-8790 add "escape" keyword to Template 2013-12-17 10:09:36 -05:00
Steve Ebersole e99f889bfd HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined
with InheritanceType#JOINED

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2013-12-16 12:36:38 -05:00
Steve Ebersole d847a171eb HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined
with InheritanceType#JOINED

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
2013-12-16 12:34:55 -05:00
Steve Ebersole b01abeadef HHH-6911 - Write DiscriminatorValue to DiscriminatorColumn when combined
with InheritanceType#JOINED

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
2013-12-16 12:33:51 -05:00
Brett Meyer cac31981f0 HHH-7630 allow joined subclass ordering to explicitly reference natural 2013-12-11 14:01:49 -05:00
Brett Meyer a317dfd526 HHH-8765 corrected hbm2ddl for turkish locale
Conflicts:
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/TableMetadata.java
2013-12-10 21:17:37 -05:00
Brett Meyer 4207017198 HHH-3604 whoops 2013-12-09 18:45:52 -05:00
Brett Meyer 97c7a18193 HHH-3604 add MySQL engine to table generators
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
2013-12-09 18:10:26 -05:00
Brett Meyer 7bb9fc1e82 Revert "HHH-8783 use JPA @JoinColumn(@ForeignKey(name=...)) for constraint name"
This reverts commit cd83193875.
2013-12-09 17:42:34 -05:00
Brett Meyer cd83193875 HHH-8783 use JPA @JoinColumn(@ForeignKey(name=...)) for constraint name
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
2013-12-09 15:16:37 -05:00
Brett Meyer 0257bb497e HHH-8779 corrected bundle symbolic name 2013-12-09 11:01:39 -05:00
Brett Meyer 7ac0ad0537 HHH-4638 add Firebird to StandardDialectResolver
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDialectResolver.java
2013-12-04 15:38:39 -05:00
Brett Meyer 2e14dc0ea9 HHH-5065 improved exception message on Configuration#getRootClassMapping 2013-11-27 21:20:50 -05:00
Brett Meyer a9afc4040d HHH-8749 Error flushing with a many-to-many Map defined with
unique="true" and cascading orphan delete
2013-11-27 18:06:27 -05:00
Brett Meyer e38cb21ef2 HHH-8748 replace Javassist's ProxyObject with Proxy
Conflicts:
	hibernate-core/src/main/java/org/hibernate/bytecode/internal/javassist/ProxyFactoryFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/proxy/pojo/javassist/JavassistLazyInitializer.java
2013-11-26 13:59:03 -05:00
Brett Meyer b0d95ce9ca HHH-8341 JtaTransaction logs excessive HHH000426 warning
Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/spi/AbstractEntityManagerImpl.java
2013-11-25 13:41:47 -05:00
Brett Meyer 2290f3e088 HHH-8689 regression test 2013-11-21 11:36:17 -05:00
Steve Ebersole 5ac6e5b0f6 HHH-8709 - SynchronizationCallbackCoordinator is calling
Thread.currentThread way too often

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/transaction/synchronization/internal/SynchronizationCallbackCoordinatorNonTrackingImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2013-11-19 17:57:22 -05:00
Brett Meyer 40a58173ad HHH-8721 CoreMessageLogger conflicts 2013-11-19 17:28:35 -05:00
Brett Meyer 328564e038 HHH-8686 FumTest hangs on mysql55 2013-11-18 18:34:42 -05:00
Sanne Grinovero f96eabc08e HHH-8703 Remove need to support EntityKey de-serialization without having access to a SessionFactory
(cherry picked from commit 9a3b1417c6)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
2013-11-18 09:41:50 -06:00
Steve Ebersole cfefabcd39 HHH-8703 - Remove NonFlushedChanges api
(cherry picked from commit d6fa2b2864)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/engine/spi/NonFlushedChanges.java
	hibernate-core/src/main/java/org/hibernate/internal/NonFlushedChangesImpl.java
	hibernate-core/src/test/java/org/hibernate/test/nonflushedchanges/CreateTest.java
	hibernate-core/src/test/java/org/hibernate/test/nonflushedchanges/MergeTest.java
	hibernate-core/src/test/java/org/hibernate/test/nonflushedchanges/SaveOrUpdateTest.java
2013-11-18 09:40:23 -06:00
Steve Ebersole 531e5d428a HHH-8704 - ManyToOneType#scheduleBatchLoadIfNeeded creates EntityKey instances even if absolutely not necessary
(cherry picked from commit 7f82763843)
2013-11-16 14:09:52 -06:00
Sanne Grinovero bf26311474 HHH-8682 org.hibernate.engine.spi.EntityKey consumes a lot of memory
(cherry picked from commit 2235c43eaae36cc02f51276b69bd258d4ee17174)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
	hibernate-core/src/main/java/org/hibernate/engine/spi/EntityKey.java
	hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
2013-11-16 13:54:08 -06:00
Steve Ebersole 8ad5ddeebf HHH-8680 Relax synchronized block in TableGenerator#generate 2013-11-16 13:49:48 -06:00
Steve Ebersole 47114c35b2 HHH-8698 ColumnNameCache wraps and unwraps int to Integer multiple times 2013-11-16 13:49:29 -06:00
Sanne Grinovero 71d5a746e3 HHH-8679 Relax synchronized block in Loader#wrapResultSetIfEnabled
(cherry picked from commit 8a0cf23f1f8a09dcec0c500f1504c33975f15ba4)
2013-11-16 13:47:50 -06:00
Sanne Grinovero 687b7718d9 HHH-8698 ColumnNameCache wraps and unwraps int to Integer multiple times
(cherry picked from commit a0c0ea5361007c21563f5c5ca69489943eb62037)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/engine/jdbc/ColumnNameCache.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/ResultSetWrapperProxy.java
2013-11-16 13:47:32 -06:00
Sanne Grinovero 1fd8f420e4 HHH-8680 Relax synchronized block in TableGenerator#generate
(cherry picked from commit adbd987fff7bb3a00a5b407741fd8a4270763f19)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/id/enhanced/NoopOptimizer.java
2013-11-16 13:43:14 -06:00
Sanne Grinovero 184c257f1d HHH-8681 NonNullableTransientDependencies should initialize identityMap lazily
(cherry picked from commit 46ed0bd7108c233e4e39e5ed884719be13a37704)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/engine/internal/NonNullableTransientDependencies.java
2013-11-16 13:38:04 -06:00
Sanne Grinovero c668d29257 Whitespace and style fixes (only)
(cherry picked from commit 0ba7c607780f5b48fc8958cabd1105e235c3dd61)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
	hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
2013-11-16 13:35:49 -06:00
Steve Ebersole 4605941df1 HHH-8654 - Ability to get notified of interesting Session events
(cherry picked from commit 449c558365)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
2013-11-15 15:03:26 -06:00
Steve Ebersole 50870c742f HHH-8654 - Ability to get notified of interesting Session events
(cherry picked from commit 1e74abf511)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/cfg/SettingsFactory.java
	hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/spi/SessionImplementor.java
	hibernate-core/src/main/java/org/hibernate/internal/AbstractSessionImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
	hibernate-core/src/test/resources/log4j.properties
2013-11-15 14:55:19 -06:00
Steve Ebersole 2d911d215b HHH-8654 - Ability to get noitified of interesting Session events
(cherry picked from commit f073b979d4)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java
	hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
	hibernate-core/src/main/java/org/hibernate/cache/internal/StandardQueryCache.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/UpdateTimestampsCache.java
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
	hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
	hibernate-core/src/main/java/org/hibernate/cfg/SettingsFactory.java
	hibernate-core/src/main/java/org/hibernate/engine/internal/TwoPhaseLoad.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/AbstractBatchImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/ResultSetReturnImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/StatementPreparerImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/loading/internal/CollectionLoadContext.java
	hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
	hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/spi/SessionImplementor.java
	hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
	hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java
	hibernate-core/src/main/java/org/hibernate/internal/AbstractSessionImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
	hibernate-core/src/test/resources/hibernate.properties
	hibernate-core/src/test/resources/log4j.properties
2013-11-15 14:09:15 -06:00
Strong Liu fb6d83b828 HHH-8671 WithClauseTest.testWithClause fails on all QA databases 2013-11-06 10:56:10 +08:00
Brett Meyer 93c558046d HHH-6004 improved HashMap performance in StructuredCacheEntry
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCacheEntry.java
2013-10-31 08:42:24 -04:00
Brett Meyer 350171c8ba HHH-7927 Enabling globally_quoted_identifiers breaks schema validation
if TableGenerator is used
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/quote/QuoteGlobalTest.java
2013-10-31 07:04:52 -04:00
Brett Meyer c38533c4ae HHH-6167 correct Ejb3Column.checkPropertyConsistency error message 2013-10-31 05:22:16 -04:00
Steve Ebersole 4b543dc552 HHH-8647 - hibernate.cache.use_reference_entries + queries
Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/ejb3configuration/PersisterClassProviderTest.java
2013-10-29 06:13:25 -04:00
Brett Meyer e203259041 HHH-8617 correcting test failure 2013-10-23 13:17:13 -04:00
Brett Meyer 60075ce1d5 HHH-8617 Revert "HHH-8517 strip time from Date descriptors"
This reverts commit 24a36b9cbb.
2013-10-23 12:54:52 -04:00
Brett Meyer e356b77df0 HHH-8579 corrected test case 2013-10-22 22:29:55 -04:00
Brett Meyer a97d8318d7 HHH-8579 force english locale for query alias generation 2013-10-22 17:05:18 -04:00
Ståle W. Pedersen 32a5633b35 HHH-8354 - New dirty-checking options based on bytecode enhancement
Conflicts:
	hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/Enhancer.java
	hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/EnhancerConstants.java
	hibernate-core/src/test/java/org/hibernate/test/cfg/persister/GoofyPersisterClassProvider.java
	hibernate-core/src/test/java/org/hibernate/test/legacy/CustomPersister.java
	hibernate-gradle-plugin/src/main/groovy/org/hibernate/tooling/gradle/EnhancerTask.groovy
	hibernate-maven-plugin/src/main/java/org/hibernate/bytecode/enhance/plugins/HibernateEnhancementMojo.java
2013-10-17 18:21:29 -04:00
Brett Meyer 851bdbbcc3 HHH-8573 refactored test case 2013-10-16 17:22:35 -04:00
Vasily Kochnev c926fdba03 HHH-8573: Persister is taken according to the actual type of the replaced object 2013-10-16 17:22:31 -04:00
Vasily Kochnev 1cc69b382c HHH-8573: Test case illustrating creation of a superclass instance when
subclass instance needed
2013-10-16 17:22:30 -04:00
Brett Meyer 1b441f7720 HHH-8612 correct FumTest's use of Date in a composite PK 2013-10-16 14:35:57 -04:00
Brett Meyer a1dfe69917 HHH-8605 supportsTuplesInSubqueries false in sqlserver/sybase 2013-10-14 10:29:18 -04:00
Brett Meyer 527bca144f HHH-6484 remove orphaned one-to-one when association replaced while
managed

Conflicts:
	hibernate-core/src/main/java/org/hibernate/action/internal/EntityDeleteAction.java
	hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
	hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
	hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/bidirectional/DeleteOneToOneOrphansTest.java
	hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/composite/DeleteOneToOneOrphansTest.java
	hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/reversed/bidirectional/DeleteOneToOneOrphansTest.java
	hibernate-core/src/test/java/org/hibernate/test/orphan/one2one/fk/reversed/unidirectional/DeleteOneToOneOrphansTest.java
2013-10-11 15:30:01 -04:00
Brett Meyer c7dbdf9fd5 HHH-7130 cleanup 2013-10-09 11:38:58 -04:00
Zbyněk Roubalík aec877adb7 HHH-7130 Query cache eviction logging 2013-10-09 11:38:56 -04:00
Brett Meyer e588d2cd6d HHH-8328 Typo in Query.list Javadoc
Conflicts:
	hibernate-core/src/main/java/org/hibernate/Query.java
2013-10-08 14:19:37 -04:00
Brett Meyer 1ec00e6199 HHH-7513 check for natural id resolution in NaturalIdCacheKey
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cache/spi/NaturalIdCacheKey.java
2013-10-07 17:52:32 -04:00
Brett Meyer a6b5b7f9b9 HHH-7513 test cleanup 2013-10-07 17:51:33 -04:00
Guenther Demetz a7f70a41fd HHH-7513 testcase 2013-10-07 17:51:30 -04:00
Brett Meyer a8393f6490 HHH-6255 correctly handling quoting fk names
Conflicts:
	hibernate-core/src/main/java/org/hibernate/mapping/ForeignKey.java
2013-10-07 15:16:45 -04:00
Brett Meyer bc99f16b8e HHH-8580 clearing a map collection caused NPE 2013-10-04 11:50:20 -04:00
Brett Meyer b25b2cbc43 HHH-4118 warn if hibernate.hbm2ddl.auto has unrecognized value 2013-10-02 15:46:32 -04:00
Brett Meyer 13ea5a5d32 HHH-5744 check ResultSet#hasNext in GUIDGenerator 2013-10-02 13:46:03 -04:00
Brett Meyer 5d9162dc3d HHH-5818 exception message typo 2013-10-02 12:58:03 -04:00
Brett Meyer e3419f6d72 HHH-8578 correct DeleteExecutor's use of where-clause 2013-09-30 16:45:39 -04:00
Brett Meyer d42f66dfd1 HHH-8537 @UniqueConstraint naming non-existent column leads to NPE
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/uniqueconstraint/UniqueConstraintTest.java
2013-09-27 16:28:55 -04:00
Brett Meyer 1a3be54c85 HHH-7984 Handle Oracle statements on release 2013-09-25 22:31:55 -04:00
Brett Meyer ac55afbd65 HHH-8551 Cannot use with-clause on the RHS of a join
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/JoinSequence.java
	hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlSqlWalker.java
2013-09-25 16:26:47 -04:00
Brett Meyer 8b406db4a9 HHH-8503 whoops 2013-09-24 22:31:36 -04:00
Brett Meyer 61e3940057 HHH-8503 invoke determineDialect instead of constructDialect when
hibernate.dialect is blank
2013-09-24 22:05:48 -04:00
Brett Meyer d8b58cef67 HHH-8476 Bulk delete doesn't cascade delete on join table 2013-09-24 17:43:52 -04:00
Brett Meyer 24a36b9cbb HHH-8517 strip time from Date descriptors
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarTimeTypeDescriptor.java
2013-09-19 15:22:14 -04:00
Brett Meyer 1d53ebb120 HHH-8522 CompositeIdTypeBindingTest.testCompositeTypeBinding fails on
sybase157
2013-09-19 12:43:38 -04:00
Lukasz Antoniak 9e3e86388b HHH-8432 - Expanding parameters in IN clause 2013-09-18 17:20:43 -04:00
Brett Meyer 0f1e971e62 HHH-8516 EnumeratedTypeTest.testTrimmedEnum fails on oracle 2013-09-18 11:11:53 -04:00
Brett Meyer 5da80756fe HHH-8363 SessionFactoryServiceRegistryImpl should not call
parent#destroy, test failures, formatting

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/internal/StandardServiceRegistryImpl.java
	hibernate-core/src/test/java/org/hibernate/test/service/ClassLoaderServiceImplTest.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/spi/AuditConfiguration.java
2013-09-17 18:50:59 -04:00
Tomaz Cerar 2ce3aa1f09 HHH-8363 Some more mem leak fixes
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/spi/AuditConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/event/spi/EnversIntegrator.java
2013-09-17 18:46:59 -04:00
Brett Meyer a89e88fa18 HHH-8363 destroy the parent ServiceRegistry and stop its provided
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/internal/BootstrapServiceRegistryImpl.java
	hibernate-core/src/test/java/org/hibernate/test/service/ClassLoaderServiceImplTest.java
2013-09-17 18:40:20 -04:00
Brett Meyer db6841e5b4 HHH-8363 cleanup and formatting
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
2013-09-17 18:34:44 -04:00
Tomaz Cerar b09466f1db HHH-8363 ClassLoaderServiceImpl should be defined as Stoppable
- also fix problem with JpaIntegrator holding references to beanmanager

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/spi/ClassLoaderService.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/event/spi/JpaIntegrator.java
2013-09-17 18:33:01 -04:00
Brett Meyer d8cb021e3d HHH-1835 added stddev to MySQLDialect
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
2013-09-17 16:30:28 -04:00
Brett Meyer 67ddd01002 HHH-8504 add MySQL5Dialect to StandardDatabaseInfoDialectResolver
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDatabaseInfoDialectResolver.java
2013-09-17 16:23:12 -04:00
Arlo Louis O'Keeffe 121346c86c HHH-8500 Interbase does not have a boolean type 2013-09-12 13:17:27 -04:00
Brett Meyer 845c367d50 HHH-8496 TableCatalog and TableSchema arguments mistaken in DB update-script. 2013-09-12 10:44:05 -04:00
Brett Meyer 82aef14e07 HHH-8491 formatting and improved readability 2013-09-11 15:47:28 -04:00
Christian Beikov 97854f154a HHH-8491 Improved implementation for locale string parsing
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocaleTypeDescriptor.java
2013-09-11 15:47:24 -04:00
minman 795886245d HHH-8472 @Lob annotation applies to both key and value of Map
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/SimpleValueBinder.java
2013-09-11 14:44:09 -04:00
java4dev@ 9bdf729968 HHH-8297 Typo in error message: "contains phyical column name" 2013-09-11 14:39:47 -04:00
Brett Meyer ca4aeb53f0 HHH-8153 Criteria on Enum mapping defined in hbm.xml fails. 2013-09-09 14:59:27 -04:00
Brett Meyer fe51ad9e29 HHH-8468 cleanup and simplification 2013-09-05 13:46:58 -04:00
s.vasilyev e22bd63648 HHH-8468 - @JoinColumn(table = "...") doesn't use NamingStrategy 2013-09-05 13:46:56 -04:00
s.vasilyev 5e1102b117 HHH-8468 test case 2013-09-05 13:46:54 -04:00
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