Commit Graph

1558 Commits

Author SHA1 Message Date
Steve Ebersole 2e18376fba HHH-7990 - Bootstrapping Hibernate fails if javax.validation API is on classpath but no provider
(cherry picked from commit 898bab28ca)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2013-02-22 12:39:19 -06:00
Brett Meyer 3fa669831f HHH-8021 test case 2013-02-21 11:10:13 -05:00
Steve Ebersole 4e126dcffc HHH-6736 - Support for SELECT ... FOR UPDATE SKIP LOCKED / read past locking 2013-02-20 09:31:14 -06:00
Aleksander Blomskøld e0cfc6bf2e HHH-6736 Added support for SELECT ... FOR UPDATE SKIP LOCKED 2013-02-20 08:49:30 -06:00
Lukasz Antoniak 59bb86978e HHH-7608 - Fix and test 2013-02-19 17:33:54 -05:00
Lukasz Antoniak dcccc6c4b0 HHH-4150 - Fix and test 2013-02-19 17:28:35 -05:00
Lukasz Antoniak f4b45eb5a9 HHH-2045 - HQL empty IN list 2013-02-19 16:18:50 -05:00
Kamyar Sajjadi a44cc3097a HHH-7952 Typo in Javadoc For TableGenerator/TableHiLoGenerator 2013-02-19 15:59:41 -05:00
Brett Meyer 89619201a3 HHH-7889 Created SQL ClobTypeDescriptor#STREAM_BINDING_EXTRACTING for Sybase remapping. Reverting back to Lob extraction ignoring useStreamForLobBinding 2013-02-19 14:59:55 -05:00
Brett Meyer abb9c2b0b7 HHH-8018 Reverted back to BLOB_BINDING for extraction until investigated 2013-02-18 14:32:14 -05:00
Brett Meyer e406ddad55 HHH-8017 Correct SybaseDialect's getNullColumnString 2013-02-18 11:47:09 -05:00
Lukasz Antoniak cf49796cf3 HHH-8007 - Fix and test 2013-02-15 09:59:07 -05:00
Brett Meyer 212c50f5d7 HHH-8005 Sybase 15 - nullable column are not nullable (when created by
SchemaExport)
2013-02-14 18:42:42 -05:00
Brett Meyer 3797e2150a HHH-6841 Applied @SkipForDialects to a couple of tests 2013-02-14 18:12:08 -05:00
Brett Meyer 07539904ba HHH-4084 Corrected test compiling error 2013-02-14 17:37:45 -05:00
Nikolay Shestakov 0e2fd9f970 fix review remark 2013-02-14 17:22:00 -05:00
Nikolay Shestakov 2725a7d49e HHH-4084 @UniqueConstraint(columnNames="") causes StringIndexOutOfBoundsException 2013-02-14 17:21:48 -05:00
Brett Meyer bbfd960bc8 HHH-7889 Cleanup inconsistencies in Blob, Clob, and NClob type
descriptors
2013-02-14 16:53:37 -05:00
Vincent Cornet 98e3b2ab97 HHH-7889
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/ClobTypeDescriptor.java
2013-02-14 15:55:01 -05:00
Brett Meyer 9069d7aed9 HHH-8006 MergeCollectionEventTest & BadMergeHandlingTest fail on MySQL 2013-02-14 12:28:02 -05:00
Brett Meyer 54bb0cb284 HHH-7992 Updated to reflect Session SPI change 2013-02-14 10:48:35 -05:00
Brett Meyer 4d68ddf7b0 HHH-7991 Correct all instances of
Thread.currentThread().getContextClassLoader()
2013-02-14 10:44:36 -05:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05:00
Brett Meyer 18f0bd2f4a HHH-8003 Create "sqlDropString" method in Dialect to handle "if exists"
correctly
2013-02-13 23:08:44 -05:00
Brett Meyer b5de4cda15 HHH-7999 Oracle test failures due to lack of support for identity
columns
2013-02-13 22:30:38 -05:00
Brett Meyer 98a49b80b2 HHH-8002 TransactionTimeoutTest#testTransactionTimeoutSuccess failing on
Oracle
2013-02-13 22:27:08 -05:00
Brett Meyer cc8395e280 HHH-7999 Create HQLScrollFetchTest for dialects that do not support
identity columns
2013-02-13 17:40:36 -05:00
Guillaume Smet d6b3f373ea HHH-7821 - Clear the entire BatchFetchQueue on flush.
Provide a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.
2013-02-13 16:12:28 -05:00
Guillaume Smet 2040e44c03 HHH-7821 - Clears the batch collection fetching queue on flush.
Provides a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.
2013-02-13 16:12:19 -05:00
Guillaume Smet e722f6391f HHH-7970 - Fix broken logic in JPAOverriddenAnnotationReader.getCacheable(): if element is null, you have to consider the @Cacheable annotation
per gripe from Andreas Joseph Krogh
2013-02-13 12:11:39 -05:00
Steve Ebersole 5a5d19273d HHH-7992 - Add a base Session delegator implementation 2013-02-12 16:17:21 -06:00
Sanne Grinovero ec11902a92 HHH-7992 - Add a base Session delegator implementation 2013-02-12 16:11:54 -06:00
Steve Ebersole c56bb23ef5 HHH-5951 - Strategy for deciding JtaPlatform when an explicit one not specified 2013-02-11 15:39:24 -06:00
Strong Liu ec6494020b HHH-7969 @SecondaryTable#indexes 2013-02-06 02:51:05 +08:00
Strong Liu 13bf94b0d3 HHH-7969 Deprecated hibernate's Index annotation 2013-02-06 02:31:31 +08:00
Strong Liu 1d9b7a06a5 HHH-7969 initial @Table#indexes support 2013-02-06 00:09:08 +08:00
Steve Ebersole a3083aaa7b HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-03 18:03:55 -06:00
Steve Ebersole 9ab924041d HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-03 14:31:43 -06:00
Steve Ebersole 6599f710bb HHH-7965 - Redesign DialectResolver contract 2013-02-03 14:23:59 -06:00
Steve Ebersole 5c453fee8d HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : entity graph support - phase 1 2013-02-03 14:23:59 -06:00
Brett Meyer 76c14b1697 HHH-7829 NullPointerException when manually flushing One-To-One
relationship with orphan removal
2013-02-01 12:59:39 -05:00
Strong Liu c1317346ac HHH-7930 Hibernate will crash with (custom) enum types when running with a logback.xml in debug mode 2013-01-30 17:12:32 +08:00
Brett Meyer c52864d188 HHH-7580 Corrected a few failures after the cherry-pick into master 2013-01-29 15:11:11 -05:00
Steve Ebersole 7976e2396a HHH-7580 - Complete 2-phase SessionFactory building design
Conflicts:
	hibernate-core/src/main/java/org/hibernate/SessionFactory.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/MetadataSources.java
	hibernate-core/src/main/java/org/hibernate/metamodel/SessionFactoryBuilder.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/SessionFactoryBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/JaxbHelper.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataImpl.java
	hibernate-core/src/main/java/org/hibernate/service/spi/ServiceContributor.java
	hibernate-core/src/test/java/org/hibernate/cfg/beanvalidation/ApplySchemaConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/binding/BasicCollectionBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/AssertSourcesTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/entity/BaseAnnotationBindingTestCase.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/xml/OrmXmlParserTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/internal/MetadataImplTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/AbstractBasicBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/AbstractUnsavedValueTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/JoinedSubclassBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/basiccollections/AbstractBasicCollectionBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/onetomany/AbstractUnidirectionalOneToManyBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/relational/AbstractGeneratedIdColumnTests.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/internal/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/service/schema/internal/ExistingDatabaseMetaDataImplTest.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderUsingMetamodelImpl.java
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/NodeEnvironment.java
	hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
2013-01-29 13:58:58 -05:00
Lukasz Antoniak 3bb0f246fc HHH-465 - Support for NULLS FIRST/LAST
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
	hibernate-core/src/main/java/org/hibernate/criterion/Order.java
2013-01-28 14:07:53 -05:00
Steve Ebersole 10defc52cd HHH-7928 - Regression caused by HHH-6361 2013-01-24 13:05:34 -06:00
Himavanth d492b303ce HHH-7933 boolean should be treated as bit in SQLServer 2013-01-24 13:20:22 -05:00
Steve Ebersole cb1b9a05af HHH-7928 - Regression caused by HHH-6361 2013-01-24 12:00:20 -06:00
Brett Meyer 11e6fd5daf HHH-3788 FirebirdDialect: current_date() function 2013-01-23 16:52:27 -05:00
Brett Meyer a0d97430fb HHH-995 Order.ignoreCase() only works for VARCHAR types, not CHAR types 2013-01-23 15:58:19 -05:00