Commit Graph

4832 Commits

Author SHA1 Message Date
Gail Badner 044bf39e22 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-14 17:01:49 -07:00
Gail Badner 231fb1b195 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-13 23:24:31 -07:00
Gail Badner ed7144c025 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-13 22:56:35 -07:00
Gail Badner d5e13ca5e4 HHH-9154 : HQL Parsing: unexpected token ':' (test case) 2014-05-13 15:06:59 -07:00
Gail Badner b046b644b8 HHH-9154 : HQL Parsing: unexpected token ':' (test case) 2014-05-13 14:36:18 -07:00
Brett Meyer 80f2b1f564 HHH-9174 cache SqlExceptionHelper reference 2014-05-09 12:33:34 -04:00
Brett Meyer 56239da312 HHH-9170 StatelessSession is accidentally 2LC enabled in some cases 2014-05-09 11:55:41 -04:00
Brett Meyer 92bf2b7d57 HHH-9174 Increase performance
of SqlExceptionHelper#handleAndClearWarnings
2014-05-09 11:51:06 -04:00
Gail Badner 5d8a45ca0c HHH-9171 : Orphan removal broken for new element added by merge that is removed by later merge (test case) 2014-05-07 16:14:51 -07:00
Gail Badner 6d0a7b61f2 HHH-9150 : Envers test table is too long causing Oracle failure 2014-04-30 19:17:45 -07:00
Brett Meyer be7592526f Revert "HHH-3730 Compare both ids in isModified instead of an object and an id"
This reverts commit 1a10937ae9.
2014-04-21 09:45:20 -04:00
Julien Fourment 1b41e52397 HHH-9093 - Fixed typo in error message when no implicit selection could
be found

Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/CriteriaQueryImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/QueryStructure.java
2014-04-21 08:57:01 -04:00
Guillaume Smet 1a10937ae9 HHH-3730 Compare both ids in isModified instead of an object and an id 2014-04-21 08:49:56 -04:00
msulima 3ad914d73f HHH-9136 - DatabaseMetadata: NPE hides exception in finally block
- Protection against NPE in finally block
- Little formatting fixes
2014-04-21 08:45:27 -04:00
Gail Badner d7173eeb3a HHH-8908 : Column of Embedded missing in Audit Table 2014-04-17 16:09:54 -07:00
Brett Meyer 0638c964ee 4.2.12.Final post release 2014-04-08 16:25:50 -04:00
Brett Meyer 0db253a609 4.2.12.Final release 2014-04-08 15:51:17 -04:00
Brett Meyer eaa01e66da HHH-9100 corrected grammar 2014-04-08 14:15:59 -04:00
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