Commit Graph

4397 Commits

Author SHA1 Message Date
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
Steve Ebersole 88c6dad9b0 HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : define XSD (working) 2013-02-08 11:13:18 -06:00
Steve Ebersole 854c94bcc7 HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-06 16:42:23 -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
Brett Meyer 470c7432c4 Updated master version to 4.3.0-SNAPSHOT 2013-01-30 13:57:30 -05:00
Lukasz Antoniak d702dfbc8c HHH-7948 - Fix and test 2013-01-30 15:49:10 +01: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
Strong Liu d54a60448a HHH-7580 compile error
Conflicts:
	hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/InfinispanRegionFactory.java
	hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/JndiInfinispanRegionFactory.java
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/cluster/ClusterAwareRegionFactory.java
2013-01-29 13:58:58 -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 c05238bad3 HHH-7948 - Fix and test 2013-01-29 19:03:06 +01: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
Strong Liu c1cf5cd6e6 HHH-7947 remove not maintained 2LC from doc 2013-01-28 13:30:38 +08:00
Scott Marlow fcfecb82b7 HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException (spaces to tabs) 2013-01-24 23:17: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
Kamyar Sajjadi 80128705fb Changed the URL to maven.apache.org insted of maven.org 2013-01-24 13:16:25 -05:00
Steve Ebersole cb1b9a05af HHH-7928 - Regression caused by HHH-6361 2013-01-24 12:00:20 -06:00
Scott Marlow 6263bef63e HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException (message improvement) 2013-01-24 10:49:20 -05:00
Lukasz Antoniak 2f71f071ec HHH-7934 - Test case 2013-01-24 08:27:48 +01:00
Lukasz Antoniak 69230d1ebd HHH-7934 - Fix and test 2013-01-24 07:52:49 +01: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
Brett Meyer f77e4d12d0 HHH-3869 Improve toString on SessionStatistics 2013-01-23 15:26:02 -05:00
Brett Meyer f28198054f HHH-2805 The class Order does not contain getters 2013-01-23 15:02:04 -05:00