Commit Graph

4814 Commits

Author SHA1 Message Date
Steve Ebersole cfc0327637 HHH-9100 - Improve CAST function support
(cherry picked from commit 137c2daf81)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/internal/ast/SqlGenerator.java
2014-04-08 13:03:40 -04:00
Steve Ebersole 6cef805a32 HHH-9100 - Improve CAST function support
(cherry picked from commit 6ffbf8f3f3)

Conflicts:
	hibernate-core/src/main/antlr/hql.g
	hibernate-core/src/main/java/org/hibernate/dialect/function/CastFunction.java
	hibernate-core/src/main/java/org/hibernate/hql/internal/ast/HqlSqlWalker.java
	hibernate-core/src/main/java/org/hibernate/hql/internal/ast/SqlGenerator.java
2014-04-08 13:02:03 -04:00
Steve Ebersole ca8bcf58c5 HHH-4700 - ClassCastException with parameter in
CaseNode.getFirstThenNode() (cherry picked from commit
efa5dc2f6c)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/Case2Node.java
	hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/CaseNode.java
2014-04-08 11:51:53 -04:00
Steve Ebersole 8f416e146d HHH-6747 - ClassCastException when rendering SimpleCaseExpression
Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/expression/SimpleCaseExpression.java
2014-04-08 11:47:32 -04:00
Brett Meyer f1ddacda47 HHH-9107 throw WrongClassException if attempting to load incorrect
subclass from 2lc
2014-04-08 11:19:05 -04:00
Brett Meyer 5359d82b71 HHH-9104 removing test's o.h.metamodel.* (stale and fails on jdk8) 2014-04-07 14:17:21 -04:00
Brett Meyer f0e08a10e4 HHH-9104 corrected BasicHibernateAnnotationsTest.testFilterOnCollection
test data cleanup
2014-04-07 14:06:17 -04:00
Brett Meyer 1d10adf728 HHH-9103 Dialect resolver should use a newer Oracle dialect for
Oracle12c
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDialectResolver.java
2014-04-07 11:11:46 -04:00
Brett Meyer 1af0615f17 HHH-9092 QueryBuilderTest.testMultiselectWithPredicates failing on most
databases
2014-03-31 10:26:52 -04:00
Steve Ebersole 601a293c0e HHH-8923 - Reconsider closing of ServiceRegistry instances
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/BootstrapServiceRegistryBuilder.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/internal/BootstrapServiceRegistryImpl.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/internal/StandardServiceRegistryImpl.java
	hibernate-core/src/main/java/org/hibernate/service/internal/AbstractServiceRegistryImpl.java
	hibernate-core/src/test/java/org/hibernate/connection/ConnectionCreatorTest.java
2014-03-26 12:46:53 -04:00
Brett Meyer f95dfddd8c HHH-8923 corrected test case 2014-03-26 10:36:23 -04:00
Brett Meyer 2464d2e214 HHH-8923 corrected test case 2014-03-26 09:32:54 -04:00
Steve Ebersole ee44d9be7f HHH-8923 - Reconsider closing of ServiceRegistry instances
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/internal/BootstrapServiceRegistryImpl.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/internal/StandardServiceRegistryImpl.java
	hibernate-core/src/main/java/org/hibernate/service/internal/AbstractServiceRegistryImpl.java
	hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
2014-03-26 09:32:40 -04:00
Brett Meyer 3127bb8b18 HHH-9078 correct OrderColumn indexes for inverse, extra lazy collections
Conflicts:
	hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
2014-03-24 13:26:48 -04:00
Steve Ebersole ad69571543 HHH-7971 - Enabling ENABLE_LAZY_LOAD_NO_TRANS results in trying to
remove elements in collections (cherry picked from commit
6f342358db)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java
	hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
2014-03-21 17:03:36 -04:00
Alexander-Dukhno 399614d900 HHH-7971 create regression test case for lazy loading with property ENABLE_LAZY_LOAD_NO_TRANS = true
(cherry picked from commit 30205607ef)
2014-03-21 17:02:33 -04:00
Steve Ebersole c6fee189d5 HHH-9071 - Proxy narrowing loses the initialized state of the original
proxy (cherry picked from commit
c5bdec20b9)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
2014-03-21 11:35:29 -04:00
Guillaume Smet 6145c9a66a HHH-9071 When an already initialized proxy is narrowed, initialize the
new proxy (cherry picked from commit
2cf52cc7f1)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
2014-03-21 11:33:49 -04:00
Brett Meyer b03dad0094 4.2.11.Final post release 2014-03-17 17:20:18 -04:00
Brett Meyer 2fa6535b97 4.2.11.Final release 2014-03-17 16:29:33 -04:00
Brett Meyer 06e9e6913f HHH-9057 corrected test 2014-03-17 15:29:40 -04:00
Brett Meyer 773f6ddfde HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting 2014-03-17 15:15:52 -04:00
Brett Meyer 548aa7c0de HHH-9056
OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin fails
on oracle and postresql
2014-03-17 15:15:49 -04:00
Brett Meyer f0af00b5a9 HHH-9054 QuoteTest violates unique key constraint on some DBs
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/quote/User.java
2014-03-17 15:15:43 -04:00
Brett Meyer 7c45e7eb15 HHH-9052 ASTParserLoadingTest.testBooleanPredicate fails on most
databases
2014-03-17 15:13:05 -04:00
Libor Ondrusek 9eaca501d9 HHH-9040 Added halt on error support for scripts importing
Conflicts:
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
2014-03-12 17:04:37 -04:00
Brett Meyer 3cdb74b161 HHH-8374 test case 2014-03-12 16:22:44 -04:00
sndyuk cd14a5a473 HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity 2014-03-12 16:22:42 -04:00
Julien Herr 0d4b9690f2 HHH-9039 Typo 2014-03-12 14:37:36 -04:00
bleporini 9cf6f6dfaa HHH-9039 Update collection_mapping.xml typos 2014-03-12 14:37:34 -04:00
Evan Severson e0c7a64e1b HHH-8815 Updated example code for session scoped interceptor 2014-03-12 13:23:06 -04:00
Jorgen Rydenius d8e4c51235 HHH-9037 Simplified debugging by improving the ClassCastException message from JavassistLazyInitializer. 2014-03-12 13:20:54 -04:00
Brett Meyer b755206924 HHH-9034 ASTParserLoadingTest fails with postgresplus92 2014-03-12 12:53:29 -04:00
Brett Meyer 3cd69af333 HHH-8739 corrected test 2014-03-10 14:41:04 -04:00
Steve Ebersole 57b5dccb78 HHH-8739 - Tracking of JTA Synch registration thread 2014-03-10 13:52:31 -04:00
Steve Ebersole 9d1563a817 HHH-8739 - Tracking of JTA Synch registration thread 2014-03-10 13:52:22 -04:00
Brett Meyer 768d02df4a HHH-9028 corrected Session#get for caching w/ polymorphism, improved
tests
2014-03-07 12:17:14 -05:00
Guillaume Smet 04c57c8a73 HHH-9028 Test case: when second level cache is enabled, the session returns the objects even if the class doesn't match 2014-03-07 12:17:12 -05:00
Brett Meyer 673fcaa932 HHH-8440 added mssql2012 to StandardDatabaseInfoDialectResolver
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/internal/StandardDatabaseInfoDialectResolver.java
2014-03-05 12:44:50 -05:00
Brett Meyer c64297bc06 HHH-8440 Support sequences with a new SQLServer2012Dialect 2014-03-05 12:42:57 -05:00
Brett Meyer d0eaa87fac HHH-7072 correcting test failure 2014-03-04 17:19:12 -05:00
Brett Meyer 677ac13458 HHH-7072 force recreation of element collections of components with all
nullable properties
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/collectionelement/embeddables/withcustomenumdef/Location.java
2014-03-04 16:29:25 -05:00
Brett Meyer d22c60cc68 HHH-9017 correct HSQL pooled sequences
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
2014-03-04 09:56:53 -05:00
Brett Meyer b873e56c20 4.2.10.Final post release 2014-02-28 14:25:54 -05:00
Brett Meyer 6e272b79e7 4.2.10.Final release 2014-02-28 14:07:17 -05:00
Brett Meyer 1fe54cf7e6 HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey"
This reverts commit a7910b19a4.
2014-02-28 14:01:21 -05:00
Brett Meyer 2e0f5a7998 HHH-9010: Revert "HHH-8961 corrected test failure"
This reverts commit 0c0519ebb3.
2014-02-28 14:01:04 -05:00
Brett Meyer b371422379 4.2.9.Final post release 2014-02-26 20:40:36 -05:00
Brett Meyer 90b338e567 4.2.9.Final release 2014-02-26 19:59:35 -05:00
Sanne Grinovero 6ba6ce14a9 HHH-9003 Avoid allocating arrays in most methods of ComponentType 2014-02-26 19:01:18 -05:00