Commit Graph

1535 Commits

Author SHA1 Message Date
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
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
Brett Meyer 99d9af748b HHH-7520 BlobProxy.invoke Javadoc is incorrect 2013-01-22 19:05:08 -05:00
Kamyar Sajjadi ecf9b7c258 HHH-7520 - now the implementation and the javadoc should be the same 2013-01-22 19:02:56 -05:00
Brett Meyer c12766a82b HHH-7304 Minor cleanup 2013-01-17 14:23:43 -05:00
Guenther Demetz 213ce0d060 HHH-7304 bugfix proposal 2013-01-17 14:09:31 -05:00
Guenther Demetz 160547ecd1 HHH-7304 testcase 2013-01-17 14:00:37 -05:00
Guenther Demetz 48cd9d3f7d HHH-7304 new testcase entity class 2013-01-17 14:00:18 -05:00
Brett Meyer 5c5998aea9 HHH-2951 test case 2013-01-16 18:41:16 -05:00
Nikolay Shestakov 70454c9168 HHH-2951 Restrictions.eq when passed null, should create a NullRestriction 2013-01-16 18:41:08 -05:00
Steve Ebersole 991342f2c2 HHH-7928 - Regression caused by HHH-6361 2013-01-16 14:54:11 -06:00
Brett Meyer f7ca23e071 HHH-1917 updated comment 2013-01-15 13:37:33 -05:00
Brett Meyer 5a50ac90d5 HHH-1917 Bulk Delete on the owning side of a ManyToMany relation needs
to delete corresponding rows from the JoinTable
2013-01-15 13:37:31 -05:00
Lukasz Antoniak 03520b928f HHH-7781 - Fix and test 2013-01-15 16:57:34 +01:00
Nikolay Shestakov 803acc3cad HHH-2721 PostgreSQLDialect: function md5() always returns a string value 2013-01-14 19:06:42 -05:00
Brett Meyer d18d04909f HHH-1917 test case 2013-01-14 18:50:18 -05:00
Steve Ebersole e7b188c924 HHH-5869 - Add suport for nationalized character mappings 2013-01-14 17:20:45 -06:00
Steve Ebersole 6062eb67ea HHH-7914 - Improve new stored procedure call support 2013-01-14 15:05:49 -06:00
Brett Meyer 9ce5c32dd7 HHH-7902 Replace JDBC proxies with a set of contracts/helpers
HHH-7902 Merged JdbcResourceRegistry into JdbcCoordinator.  Parts of
LogicalConnection moved into JdbcCoordinator as well.

HHH-7902 Replaced Statement#close and ResultSet#close calls with
JdbcCoordinator#release

HHH-7902 Enforced the use of StatementPreparer, instead of Connection

HHH-7902 ResultSetExtractor.  Replaced all instances of execute,
executeQuery, executeUpdate, etc.

HHH-7902 Refactored AbstractReturningDelegate to give access to
jdbcCoordinator

HHH-7902 Corrected test failures

HHH-7902 Removed resource registry use from JdbcIsolation workers

HHH-7902 Corrected a few bugs in JdbcCoordinator and ResultSetExtractor.

HHH-7902 ResultSetExtractor -> ResultSetReturn.  Reworked proxy tests to
test the new APIs.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
	hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java
	hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/proxies/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java
2013-01-14 14:25:06 -05:00
Steve Ebersole 5de1677ce7 HHH-7914 - Improve new stored procedure call support 2013-01-11 17:48:38 -06:00
Steve Ebersole c8b20660ed HHH-7912 - Define edge-case behavior for Session.evict 2013-01-08 20:56:38 -06:00
Brett Meyer fbe24bc2cb HHH-7911 NPE in TwoPhaseLoad#initializeEntity 2013-01-08 00:20:34 -05:00
Brett Meyer e1c9c1e9a7 HHH-6643 Overrode getNotExpression in DB2Dialect 2013-01-07 12:27:58 -05:00