Commit Graph

1200 Commits

Author SHA1 Message Date
Steve Ebersole 91847d7027 HHH-6998 - Expand CustomEntityDirtinessStrategy to define findDirty 2012-01-27 14:51:01 -06:00
Gail Badner ebee6b731e HHH-6957 : Throw TransientPropertyValueException if there are unresolved entity insert actions after persist/save/merge listeners execute 2012-01-27 00:15:38 -08:00
Gail Badner bb4738b1e4 HHH-5299 : Multi-Level cascading of unsaved instances with bidirectional associations fails with TransientObjectException 2012-01-26 19:33:37 -08:00
Steve Ebersole 253cb0a9d3 HHH-6580 - Discriminator value used as ID when inserting entity to PosgtreSQL 2012-01-26 14:37:00 -06:00
Steve Ebersole fa6a2f6159 HHH-6580 - Discriminator value used as ID when inserting entity to PosgtreSQL 2012-01-25 22:07:50 -06:00
Steve Ebersole 917eef5ad1 HHH-6580 - Discriminator value used as ID when inserting entity to PosgtreSQL 2012-01-25 15:56:25 -06:00
Paweł Stawicki f69813fad0 HHH-6580 Discriminator value used as ID when inserting entity to PostgreSQL 2012-01-25 15:56:25 -06:00
Steve Ebersole 72e382b045 HHH-3910 - custom dirty flag tracking 2012-01-25 12:38:57 -06:00
Steve Ebersole 23a62802c8 HHH-4358 - Having to use @ForceDiscriminator kind of breaks JPA compatibility 2012-01-24 13:42:57 -06:00
Steve Ebersole 6258df4752 HHH-3910 - custom dirty flag tracking 2012-01-23 22:50:35 -06:00
Scott Marlow aef0e25405 HHH-6984 only increment statistics if statistics are enabled 2012-01-23 17:34:21 -05:00
Steve Ebersole 537481adbd HHH-6923 - Remove org.hibernate.service.instrumentation.spi.InstrumentationService 2012-01-23 14:49:23 -06:00
Steve Ebersole d50a66bc20 HHH-6970 - Expand notion of "natural id mutability" to ternary value 2012-01-23 12:11:46 -06:00
Steve Ebersole b0ba04d09b HHH-6974 - Add caching to new "load access" api for natural id loading 2012-01-21 08:39:37 -06:00
Steve Ebersole bbac2fd220 HHH-6974 - Add caching to new "load access" api for natural id loading 2012-01-20 21:25:38 -06:00
Steve Ebersole 33d399f186 HHH-6974 - Add caching to new "load access" api for natural id loading 2012-01-20 21:16:59 -06:00
Steve Ebersole 622d9b37b9 HHH-6994 - Have EntityEntry fire notification to PersistenceContext on loadedState being updated 2012-01-20 20:45:17 -06:00
Steve Ebersole e0a09dbd79 HHH-6970 - Expand notion of "natural id mutability" to ternary value 2012-01-20 10:51:17 -06:00
Steve Ebersole 73dec965a0 HHH-6970 - Expand notion of "natural id mutability" to ternary value 2012-01-20 10:51:17 -06:00
Steve Ebersole 57e9b48587 HHH-6970 - Expand notion of "natural id mutability" to ternary value 2012-01-20 10:51:17 -06:00
Gail Badner 0c80b409a1 HHH-5472 : test fixes for dialects that don't support identities 2012-01-19 15:49:11 -08:00
Steve Ebersole 9ff70a8acf HHH-6985 - Change up tests for PostgreSQL LockMode issues 2012-01-19 10:42:20 -06:00
Gail Badner 66a9f21e89 HHH-5472 : Delay saving an entity if it does not cascade the save to non-nullable transient entities 2012-01-18 18:10:47 -08:00
Gail Badner ea7afb2683 HHH-5472 : Added tests for delaying entity save due to non-nullable transient entities 2012-01-18 18:10:47 -08:00
Gail Badner e11e9631c7 HHH-5472 : Delay saving an entity if it does not cascade the save to non-nullable transient entities 2012-01-18 18:10:47 -08:00
Steve Ebersole e52d184b51 HHH-2879 - add an actual api for loading an entity by natural candidate key (mapped natural-id) 2012-01-16 10:33:05 -06:00
Steve Ebersole 3071fa892f HHH-2879 - create a SimpleNaturalIdLoadAccess for easier access for simple (single attribute) natural ids 2012-01-13 15:23:02 -06:00
Steve Ebersole e75b8a77b1 HHH-6967 - HHH-6906 - Clean up javadoc warnings 2012-01-13 11:17:34 -06:00
Steve Ebersole fb3566b467 HHH-2879 - initial clean implementation with no caching 2012-01-12 16:15:49 -06:00
edalquist e01ea2ecf8 HHH-2879 Apply hibernate code templates and formatting 2012-01-12 16:15:35 -06:00
edalquist f74c5a7fa5 HHH-2879 Apply hibernate code templates and formatting 2012-01-12 16:15:19 -06:00
edalquist 8de0f76df1 HHH-2879 Cache naturalId -> entityId sql on init 2012-01-12 16:15:03 -06:00
edalquist eecee618c6 HHH-2879 Add ResolveNaturalId event, listener and entity persister api
HHH-2879 Adds ResolveNaturalIdEvent with listener and default impl
HHH-2879 Adds API to EntityPersister to get an entity's ID based on its natural-id
HHH-2879 Add unit test for initial verification of loading an entity by natural-id
2012-01-12 16:14:28 -06:00
edalquist 8796fe5ed6 HHH-2879 Remove use of generics due to proxy issues 2012-01-12 16:13:45 -06:00
edalquist 2d03ca322d HHH-2879 Make IdentifierLoadAccess the primary API
HHH-2879 Update all load and get APIs to use byId and IdentifierLoadAccess
2012-01-12 16:13:22 -06:00
edalquist 60b6c7f5eb HHH-2879 Add LoadAccess interfaces to Session API
HHH-2879 Add naive implementation of IdentifierLoadAccess
HHH-2879 Add placeholder implementation of NaturalIdLoadAccess
2012-01-12 16:11:50 -06:00
Strong Liu bd552fe909 code format and correct javadoc 2012-01-11 17:46:18 +08:00
Steve Ebersole a41efe37d5 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-09 17:53:24 -06:00
Steve Ebersole e69104cd23 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-09 17:06:22 -06:00
Steve Ebersole 8d6a07f611 HHH-6887 - Improve SQLStateConverter to take sql state type from the database metadata into account 2012-01-06 16:50:43 -06:00
Steve Ebersole 86f3f3c347 HHH-6940 - Ability (easier) to run bits of code in a timeout protected way 2012-01-05 16:38:19 -06:00
Steve Ebersole f8b5190a19 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-05 16:03:11 -06:00
Steve Ebersole 343269b00d HHH-5124 - Removing an entity and persisting it again fails 2012-01-05 16:03:11 -06:00
Steve Ebersole 76ac264c6a HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-03 20:43:50 -06:00
Steve Ebersole ab94a18c33 HHH-6931 - Provide local database hook 2012-01-03 20:43:15 -06:00
Steve Ebersole ccc087b975 HHH-5275 - Criteria.setLockMode does not work correctly 2012-01-01 18:52:17 -06:00
Steve Ebersole 69f0d092a8 HHH-6854 - testSubsequentPooledLoOptimizerUsage doesn't actually test the PooledLo optimizer 2011-12-30 21:37:50 -06:00
Steve Ebersole d60c168944 HHH-6840 - Add to_char function to HSQLDialect 2011-12-30 21:25:02 -06:00
Steve Ebersole b2f24c6987 HHH-6855 - SequenceStyleGenerator should force use of TableStructure when the optimizer is PooledLo 2011-12-30 21:05:03 -06:00
Steve Ebersole 5071a82458 HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-30 18:48:33 -06:00
Steve Ebersole 2eac7c33ec HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-30 18:47:44 -06:00
Steve Ebersole 8d9f772a90 HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-29 11:03:38 -06:00
Steve Ebersole 00d7baedfa HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-29 10:01:41 -06:00
Steve Ebersole 244623cce9 HHH-6822 - Split notions of (1) "naming" a SessionFactory and (2) specifying a JNDI name to which to bind it 2011-12-29 10:01:41 -06:00
Steve Ebersole 2ddaeedd1e HHH-5275 - Criteria.setLockMode does not work correctly 2011-12-28 12:04:31 -06:00
Steve Ebersole 1e591f09ac HHH-6920 - HQL insert queries and identifier handling 2011-12-27 23:19:04 -06:00
Strong Liu d4e8e9973f HHH-6921 com.fasterxml:classmate dependency should not be exported to published pom 2011-12-28 13:11:18 +08:00
Steve Ebersole d327449d54 HHH-2763 - Allow initialization during flush 2011-12-27 13:53:50 -06:00
Scott Marlow e18d087592 HHH-6897 serialization of the EntityManager should be possible 2011-12-20 12:23:07 -05:00
Steve Ebersole e5f4585521 HHH-5937 - @Enumerated(EnumType.STRING) not taken into account in an @Embeddable included in another @Embeddable 2011-12-14 13:13:33 -06:00
Gail Badner af3767b82a HHH-6872 : Test failures with hibernate.jdbc.batch_versioned_data=true 2011-12-02 02:19:58 -08:00
Hardy Ferentschik 0af7d0645d HHH-6866 Reverting to the char(1) mapping for Types.CHAR 2011-12-01 15:01:27 +01:00
Hardy Ferentschik b0573072e6 HHH-6866 Changing the column type definitions for Types.CHAR and Types.BINARY to align with the DB2 type specs 2011-12-01 15:01:27 +01:00
Hardy Ferentschik c4b4eddeda HHH-6866 Javadoc changes 2011-12-01 15:01:27 +01:00
Hardy Ferentschik 65b3e768fa HHH-6866 Removing commented out code and formatting. No functional changes. 2011-12-01 15:01:27 +01:00
Strong Liu 2e0e130cbe HHH-6867 skip org.hibernate.test.criteria.CriteriaQueryTest#testMultiplePropertiesSubquery on DB2 since DB2 doesn't support this tuple sql syntax 2011-12-01 19:45:15 +08:00
Strong Liu 3c3a74e010 HHH-6867 skip org.hibernate.test.criteria.CriteriaQueryTest#testMultiplePropertiesSubquery on DB2 since DB2 doesn't support this tuple sql syntax 2011-12-01 17:34:42 +08:00
Strong Liu f9e947035e HHH-6867 test data overflow causes org.hibernate.test.cut.CompositeUserTypeTest.testCustomColumnReadAndWrite fails on DB2 2011-12-01 17:05:07 +08:00
Strong Liu 7fca6f7567 HHH-6870 sysdate function in oracle dialect is a non argu and no parentheses function 2011-12-01 15:48:24 +08:00
Sanne Grinovero 588a9d69e8 HHH-6868 Lazily initialize HashMap in LockOptions 2011-11-30 22:01:22 +00:00
Sanne Grinovero eb23512fc5 HHH-6862 More iteration improvements 2011-11-30 22:01:22 +00:00
Sanne Grinovero a6b761e209 HHH-6862 Some additional small performance improvements 2011-11-30 22:01:04 +00:00
Steve Ebersole eb59e81bb9 HHH-6865 - PessimisticLockException should be thrown when pessimistic read and write locking strategies fail 2011-11-30 12:20:11 -06:00
Strong Liu 3577cbde08 HHH-6856 - RowValueConstructorSyntax with In syntax is not working 2011-12-01 01:03:51 +08:00
Strong Liu a522f049e0 HHH-6780 HHH-6068 2011-11-30 14:57:55 +08:00
Strong Liu 221d5f9ef6 HHH-6862 reduce the reference to IdentityMap 2011-11-30 14:26:38 +08:00
Sanne Grinovero a947a2fc8d HHH-6863 make access to serviceBindingList threadsafe 2011-11-30 11:39:55 +08:00
Sanne Grinovero d158047287 HHH-6863 make serviceBindingMap threadsafe 2011-11-30 11:39:55 +08:00
Sanne Grinovero 7781cb0aa9 HHH-6862 final polish 2011-11-30 11:39:55 +08:00
Sanne Grinovero d12396ee37 HHH-6862 Reuse cached entryArray of IdentityMap in StatefulPersistenceContext as much as possible 2011-11-30 11:39:54 +08:00
Sanne Grinovero ad3afa4b7d HHH-6862 Switch to use Iterable from Iterator in IdentityMap helpers 2011-11-30 11:39:54 +08:00
Sanne Grinovero aa4954be8b HHH-6862 Improve API of IdentityMap helpers to match actual use cases 2011-11-30 11:39:54 +08:00
Sanne Grinovero 67d1c70335 HHH-6862 Use generic Maps for more StatefulPersistenceContext fields 2011-11-30 11:39:54 +08:00
Sanne Grinovero f98e15e15f HHH-6862 Use generic Map for StatefulPersistenceContext.entityEntries 2011-11-30 11:39:54 +08:00
Sanne Grinovero ddb3a8cd18 HHH-6858 reuse reference to PersistenceContext 2011-11-30 11:39:54 +08:00
Sanne Grinovero fb0255a87a HHH-6858 non-intrusive performance improvements 2011-11-30 11:39:53 +08:00
Strong Liu 9e45ec3baf HHH-6852 DB2 doesn't support exists in select 2011-11-30 11:00:04 +08:00
Strong Liu d7f3042e5b HHH-6851 DB2 doesn't support NotNullUnique causes org.hibernate.test.annotations.uniqueconstraint.UniqueConstraintTest.testUniquenessConstraintWithSuperclassProperty fail 2011-11-30 11:00:04 +08:00
Steve Ebersole f690d8e28b HHH-5992 - A query fails to return correct results silently 2011-11-29 11:50:59 -06:00
Steve Ebersole bcc60208e3 HHH-6856 - RowValueConstructorSyntax with In syntax is not working 2011-11-29 10:07:11 -06:00
Strong Liu eca04896c9 HHH-6856 RowValueConstructorSyntax with In syntax is not working 2011-11-29 09:18:17 -06:00
Steve Ebersole 9a7924d9bc HHH-6780 - Wrong Query timeout calculation 2011-11-28 17:39:26 -06:00
Steve Ebersole d00c9c85d8 Merge branch 'HHH-6068' of https://github.com/lukasz-antoniak/hibernate-core into lukasz-antoniak-HHH-6068 2011-11-28 16:17:45 -06:00
Steve Ebersole 78f86319df HHH-6842 - Skip org.hibernate.test.annotations.manytoonewithformula.ManyToOneWithFormulaTest#testManyToOneFromNonPkToNonPk for DB2 2011-11-28 14:44:16 -06:00
Hardy Ferentschik 6e433d5f85 HHH-6849 Fixing assert in SQLServer2005DialectTestCase#testGetLimitString since order of column has changes. Also got rif of additional unnecessary whitespace 2011-11-26 00:55:57 +08:00
Hardy Ferentschik 06952b533e HHH-6849 Append _ROW_NUMBER()_ instead of prepending it 2011-11-26 00:55:57 +08:00
Hardy Ferentschik 20141cae87 HHH-6849 Formatting and adding actual assertions to testOffset(). This is not addressing the SQLServer issue yet. 2011-11-26 00:55:57 +08:00
Strong Liu 8114e9c5ae HHH-6850 no Types.BINARY mapping in DB2 dialect 2011-11-26 00:03:00 +08:00
Sanne Grinovero d382e70b65 formatting: use tabs 2011-11-24 11:23:02 +00:00
Sanne Grinovero f5702548bb HHH-6845 Avoid repeated invocations of ReflectHelper.overridesEquals in proxy initializers 2011-11-24 11:23:02 +00:00
Sanne Grinovero b4e65a0c79 HHH-6845 small polish: use final when possible 2011-11-24 11:23:02 +00:00
Scott Marlow 4c6330b535 HHH-5222 upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails 2011-11-23 17:33:44 -05:00
Sanne Grinovero 6c7379c38f HHH-6817 Logging of strings containing the percent character broken 2011-11-23 11:51:35 +01:00
Gail Badner 0fc95e54b3 HHH-5472 : Add test case with circular non-nullable associations 2011-11-23 02:48:02 -08:00
Gail Badner 52969e9561 HHH-5472 : Test case for delaying saving an entity with non-nullable transient entities 2011-11-22 23:31:57 -08:00
Strong Liu 6c6e9669c1 HHH-6827 correct CMTTest expectation value 2011-11-21 20:07:51 +08:00
Strong Liu 17bf50226b HHH-6286 UpdateTimestampsCache should try to avoid acquiring lock if possible 2011-11-21 20:03:24 +08:00
Strong Liu f8e347dabd HHH-6827 code format and javadoc, logging 2011-11-21 20:02:09 +08:00
Strong Liu c4776e2a92 HHH-6836 some test failures on Oracle 2011-11-21 19:53:09 +08:00
Strong Liu b2ba384254 HHH-6834 skip test BasicOperationsTest on oracle due to a oracle jdbc driver issue 2011-11-21 15:47:48 +08:00
Strong Liu a250fd6513 HHH-6700 mysql test failures 2011-11-21 14:38:38 +08:00
Strong Liu 581061f442 HHH-6700 mysql test failures
JBPAPP-2613
2011-11-21 14:12:23 +08:00
Strong Liu ff9eb6d1b2 test need to be compiled in UTF-8 2011-11-21 10:16:30 +08:00
Steve Ebersole d4e138eb13 HHH-6833 - Eable SQL logging for tests 2011-11-20 10:27:47 -06:00
Strong Liu 31ab12f86f HHH-5945 Race condition in building query cache 2011-11-19 23:58:14 +08:00
Hardy Ferentschik bcf81aa176 HHH-6819 Moving CommandExtractorService, MultiLineImportFileTest and SingleLineImportFileTest out of the matrix tests. The tests don't need to run against multiple dbs and the multi line tests are not portable as they are atm.
Also splitting properly source files from resources
2011-11-19 18:42:53 +08:00
Hardy Ferentschik 2f3c5d8904 HHH-6830 Using the registered SQLFunctions for the date function to render the right SQL fragment 2011-11-18 17:41:16 +01:00
Hardy Ferentschik 8bf9791254 HHH-6828 Taking case sensitivity into account when accessing the database metadata
Also extending the test and formatting the code.
2011-11-17 17:51:30 +01:00
Strong Liu 93f6ad6e2e HHH-6818 update dependencies management 2011-11-14 17:12:51 +08:00
renj c575f6e5f5 HHH-6807 skip this test for Sybase ASE 2011-11-14 13:08:13 +08:00
renj 937f395834 Skip empty clob test due to HHH-6425 2011-11-14 13:08:13 +08:00
renj 513b1baa62 HHH-6807 skip this test for Sybase ASE 2011-11-14 13:08:12 +08:00
renj ca2bd08997 Skip empty clob test due to HHH-6425 2011-11-14 13:08:12 +08:00
Steve Ebersole fe2246a67b HHH-2403 : system independent newline handling 2011-11-10 14:58:49 -06:00
Steve Ebersole 7207098194 HHH-2403 : system independent newline handling 2011-11-10 14:55:14 -06:00
Lukasz Antoniak 92ae782653 HHH-2403 - ImportSqlCommandExtractor set from outside SchemaExport 2011-11-10 12:08:51 -06:00
Lukasz Antoniak 72b2af3b0a HHH-2403 - Documentation, formatting 2011-11-10 12:08:50 -06:00
Lukasz Antoniak 00e32f5e7f HHH-2403 - New configuration parameter, documentation 2011-11-10 12:08:50 -06:00
Lukasz Antoniak c6d616a8bf HHH-2403 - Improved import.sql 2011-11-10 12:08:50 -06:00
John Verhaeg 25e8a43d81 HHH-6815: Overrode SQLServerDialect.getSqlTypeDescriptorOverride(int) to return a SmallIntTypeDescriptor instead when the datatype being updated is a TINYINT 2011-11-09 12:52:51 -06:00
Steve Ebersole 8bb51c7acb HHH-5937 - @Enumerated(EnumType.STRING) not taken into account in an @Embeddable included in another @Embeddable 2011-11-09 10:05:17 -06:00
Gail Badner 9d2574947b HHH-6700 : Fix ID length for UUIDBinaryTest#testUsage so it works on H2 2011-11-09 02:27:06 -08:00
Strong Liu 5f494d4fca HHH-6700 mysql test failures 2011-11-09 13:48:59 +08:00
Gail Badner 05b815c5f5 HHH-3218 : ManyToOne Persisting Cascade in Embeddable -- added test case 2011-11-08 15:22:40 -08:00
Gail Badner 9c0aa69b5b HHH-5146 : org.hibernate.util.IdentitySet.iterator() return Map.Entry instances instead of actual elements 2011-11-07 22:37:34 -08:00
John Verhaeg 8fcbf71a11 HHH-6809: Changed Loader.hasMaxRows() to return false if maxRows is zero, and removed bad expectation from FooBarTest.testFindByCriteria() 2011-11-07 10:52:38 -06:00
Strong Liu ee020c8215 HHH-6789 StringIndexOutOfBoundsException at TemplatedViolatedConstraintNameExtracter.extractUsingTemplate 2011-11-04 06:14:30 +08:00
Strong Liu f1813aec49 HHH-6714 Parentheses dissapear in HQL query where they should stay 2011-11-04 03:26:42 +08:00
Strong Liu 77107cc35a HHH-6714 Parentheses dissapear in HQL query where they should stay 2011-11-04 03:24:53 +08:00
Steve Ebersole 3c3482bd59 HHH-6796 - Services retrieved after SessionFactoryServiceRegistry has started are not configured (Configurable) 2011-11-03 12:10:30 -05:00
Strong Liu 4739c5dc0c HHH-6779 rollback hibernate.properties 2011-11-03 19:05:22 +08:00
Strong Liu 3793238078 HHH-6779 ByteType mapped to tinyint, but on sybase/ms sql server, tinyint is unsigned int 2011-11-03 19:04:37 +08:00
Strong Liu 368ef6713b HHH-6773 test fails on sybase 2011-11-03 16:43:18 +08:00
Emmanuel Bernard c04442281b HHH-6796 Make the service configuration logic being executed by the owning service registry 2011-11-02 21:32:50 +01:00
Strong Liu 944ae2c488 HHH-6795 unsupported Boolean type null value on Sybase causes hangs forever when doing bind parameter 2011-11-02 22:30:46 +08:00
Strong Liu 16f0fa5373 HHH-6795 unsupported Boolean type null value on Sybase causes hangs forever when doing bind parameter 2011-11-02 22:27:58 +08:00
Strong Liu e210537059 HHH-6792 connection leaks due to service registry is not destroyed 2011-11-02 22:27:58 +08:00
Strong Liu 70bd57bcff HHH-6792 connection leaks due to service registry is not destroyed 2011-11-02 17:37:05 +08:00
Strong Liu 192682d31b Merge branch 'sybase' 2011-11-02 14:16:19 +08:00
Strong Liu bec88716d6 HHH-6791 tiny improvement, in favor of java auto-box instead of create new instance 2011-11-02 14:16:02 +08:00
Strong Liu 2d084cb8d9 HHH-6787 upgrade to JBoss Logging tools 1.0.0.CR3 2011-11-01 10:30:00 +00:00
Strong Liu 388ceaf186 HHH-6773 test fails on sybase 2011-11-01 16:55:41 +08:00
Strong Liu 9509f1d8bf HHH-6773 test fails on sybase 2011-11-01 15:17:33 +08:00
Strong Liu e5dc668011 HHH-6773 test fails on sybase 2011-11-01 15:00:19 +08:00
Strong Liu d370865c9f HHH-6786 DB2 v97 doesn't support define a boolean type column 2011-11-01 14:18:18 +08:00
Strong Liu bdde0f44ad HHH-6773 test fails on sybase 2011-10-27 19:40:58 +08:00
Sanne Grinovero 129c0f1348 HHH-6732 more logging trace statements are missing guards against unneeded string creation 2011-10-26 23:24:15 +01:00
Sanne Grinovero 94f66c3944 HHH-6739 JtaIsolationDelegate.doTheWorkInNewTransaction fails to propagate or otherwise report caught exceptions 2011-10-26 23:24:14 +01:00
John Verhaeg d4b47e78ba HHH-6775: Changed AbstractTransactSQLDialect.getNullColumnString() to return empty string, which matches some of the other dialects and allows the DB to auto-determine a column's nullability in certain situations 2011-10-26 14:14:30 -05:00
Lukasz Antoniak c74610bd80 HHH-6766 - Test cleanup 2011-10-26 23:15:13 +08:00
Lukasz Antoniak fed759f8e5 HHH-6766 - Criteria API multicolumn subqueries 2011-10-26 23:15:13 +08:00
Strong Liu c26030a27e HHH-2304 Wrong type detection for sql type char(x) columns 2011-10-26 23:12:22 +08:00
Strong Liu 27e9957f9e HHH-6773 test fails on sybase 2011-10-26 22:46:50 +08:00
Strong Liu 082431a48d HHH-6773 test fails on sybase 2011-10-26 18:58:57 +08:00
Strong Liu f5a5784766 HHH-6773 test fails on sybase 2011-10-26 18:53:21 +08:00
Strong Liu f262811c8f HHH-6773 test fails on sybase 2011-10-26 18:40:44 +08:00
Strong Liu 7b9e2130b2 HHH-6773 test fails on sybase 2011-10-26 18:20:30 +08:00
Gail Badner 2bbb3074d4 HHH-6723 : Remove extra join from eager @OneToOne 2011-10-25 22:09:25 -07:00
Gail Badner 63ad1467fb HHH-6748 : Test failures due to inconsistent numeric return type from native query 2011-10-25 15:51:02 -07:00
Gail Badner 4c41638202 HHH-6770 : Oracle reserved words used as column names 2011-10-25 15:30:28 -07:00
Gail Badner 070833c107 HH-6771 : Test failure on Oracle due to ORDER BY in subquery 2011-10-25 12:35:27 -07:00
Gail Badner 505869e9d2 HHH-6770 : Oracle reserved words used as column names 2011-10-25 10:17:24 -07:00
John Verhaeg b31c17b332 HHH-6767: Added guard to ensure the DB is not SQL SErver before adding ORDER BY clause to SQL 2011-10-24 16:19:43 -05:00
John Verhaeg 0db90f08d9 HHH-6764: Added additional test for SQL Server that uses getDate() function, and made previous test skip SQL Server dialect 2011-10-24 14:03:14 -05:00
John Verhaeg 71c230bf5b HHH-6762: Skipped currently failing test and added new test that uses copy of test class that contains join formula suitable for SQL Server 2011-10-24 11:11:35 -05:00
Strong Liu bdba5898c9 clean up imports 2011-10-24 16:26:37 +08:00
Gail Badner d579033ca2 HHH-6760 : Test failures on Oracle due to identity IDs 2011-10-21 18:29:46 -07:00
Gail Badner 22fdec8d22 HHH-6188 : java.util.UUID cannot be used for Ids on Oracle 2011-10-21 16:46:31 -07:00
Gail Badner 70b9210864 HHH-6759 : Null properties mapped as boolean cause exception on Oracle 2011-10-21 16:02:33 -07:00
Gail Badner 0d007bce7c HHH-6758 : Test failure due to Oracle restrictions on Blob comparison and missing equals() and hashCode() 2011-10-21 14:21:26 -07:00
John Verhaeg 4eca0b5e97 HHH-6757: Changed test to really test case insensitivity and fixed reversed parameters in assertEquals methods 2011-10-21 15:29:58 -05:00
Gail Badner b1923d5ab5 HHH-6756 : Test failures due to Oracle LONG limitations 2011-10-21 12:30:22 -07:00
John Verhaeg 924770fa09 HHH-6755: Added BINARY datatype mapping to AbstractTransactSQLDialect (the base class for Sybase and SQL Server dialects) 2011-10-21 11:00:35 -05:00
John Verhaeg d12e0c09ae HHH-6749: Modified SQLServer2005Dialect.getLimitString() to add limit criteria that uses the max row value in an exclusive manner 2011-10-20 16:39:34 -05:00
Gail Badner 7c2d88df8b HHH-6751 : Test failure due to inconsistent scale returned for BigDecimal properties 2011-10-20 13:01:16 -07:00
Gail Badner c5733e7837 HHH-6748 : Test failures due to inconsistent numeric return type from native query 2011-10-20 11:30:41 -07:00
renj 4046181781 HHH-6745 Sybase ASE dialect improvement 2011-10-20 13:51:05 +08:00
John Verhaeg 41d8758f92 HHH-6750: Modified test to expect different value for the SQL Server 2008 dialect. May have to expand the expection for other dialects. 2011-10-19 15:50:32 -05:00
John Verhaeg 47b7ca8c0d HHH-6749: Modified test to use dialect.useMaxForLimit() to determine the expected row count 2011-10-19 15:42:44 -05:00
Gail Badner 3b3f921eb5 HHH-6748 : Test failures due to inconsistent return type from COUNT(*) in native query 2011-10-19 13:26:21 -07:00
Andrei Badea 09d40d1785 HHH-3434 - hql insert doesn't work when inserting into a table with composite-id 2011-10-19 11:48:04 +02:00
Johno Crawford af2417cbaa HHH-6121: Hibernate statistics should log at DEBUG level instead of INFO. 2011-10-19 17:25:19 +08:00
Gail Badner 7e1752cfb3 HHH-6744 : Skip MultiPathCircleCascadeTest.testMergeEntityWithNonNullableTransientEntity() when CHECK_NULLABILITY is false and sequence/increment generator is used 2011-10-18 17:05:54 -07:00
Gail Badner 35a8543818 HHH-6744 : Disable failing test due to TransientObjectException with CHECK_NULLABILITY=false 2011-10-18 15:31:08 -07:00
Strong Liu 036b9579d6 HHH-6742 move unit tests back to src/test 2011-10-18 22:17:13 +08:00
Strong Liu 98e68aab4b HHH-6742 move unit tests back to src/test 2011-10-18 21:47:19 +08:00
Emmanuel Bernard 02003c1aec HHH-6735 Guard other FieldInterceptorHelper methods called from core 2011-10-17 17:25:10 +02:00
Emmanuel Bernard 6cd8a238a5 HHH-6735 Mention expensiveness of these operations in JavaDoc 2011-10-17 17:25:10 +02:00
Emmanuel Bernard aef27fec41 HHH-6735 Let Core use InstrumentationService instead of FieldIinterceptionHelper directly 2011-10-17 17:25:10 +02:00
Emmanuel Bernard 2357dcc442 HHH-6735 Introduces an InstrumentationService that caches isInstrumented per class 2011-10-17 17:25:09 +02:00
Strong Liu fcf402c4af HHH-6737 column names in Constraint is not quoted even column name is quoted in mapping 2011-10-17 16:34:35 +08:00
Lukasz Antoniak 0645acf04f HHH-6068 - Test case 2011-10-15 00:29:42 +02:00
Sanne Grinovero 1acc35ca4a HHH-6732 Some logging trace statements are missing guards against unneeded string creation 2011-10-14 17:55:00 +01:00
Sanne Grinovero 9f1b53fd1e whitespace consistency in ActionQueue 2011-10-14 17:19:00 +01:00
Sanne Grinovero e93a83f5c2 HHH-6733 Avoid frequent usage of ReflectHelper in PojoInstantiator 2011-10-14 14:30:28 +01:00
Strong Liu fbc105aef1 skip annotation used wrong, it should be SkipForDialect, but RequiresDialect used 2011-10-14 01:45:53 +08:00
Strong Liu bcae560079 HHH-2304 Wrong type detection for sql type char(x) columns 2011-10-13 21:20:48 +08:00
Lukasz Antoniak 2ac8c0c007 HHH-6068 - Honor JPA default schema and catalog 2011-10-12 19:43:32 +02:00
Strong Liu 92da1097aa HHH-6717 oracle does not have a boolean type 2011-10-12 17:40:09 +08:00
Gail Badner c180d721c0 HHH-4982 : JPA OneToOne(optional=true) not supported with @PrimaryKeyJoinColumn 2011-10-12 01:59:08 -07:00
Shaun Appleton 8325933dff Fix for HHH-4854 2011-10-12 11:22:26 +08:00
Emmanuel Bernard a351c52020 HHH-6724 Move persister binding for class hierarchies to PersisterClassResolver out of {Hbm|Annotation}Binder 2011-10-12 02:13:05 +02:00
John Verhaeg 8473c4a47b HHH-6722: Removed extraneous assertion from testCreateAndDropOnlyType method that causes failures on dialects that don't support drop table if exists 2011-10-11 11:20:13 -05:00
Strong Liu 4cb4a25994 HHH-6715 Integrator classes not being located correctly 2011-10-11 17:20:18 +08:00
Guilherme Silveira 82b167e5f1 removing useless variables
removing useless logical conditions
extracted some methods to improve cyclomatic complexity
extracted loop into two pieces to remove extra useless variables and minimize complexity
2011-10-11 11:25:33 +08:00
Strong Liu f951e15fea HHH-6717 oracle does not have a boolean type 2011-10-09 16:19:52 +08:00
Strong Liu 884f6a2455 HHH-4881 - restrict polymorphic query results 2011-10-09 14:36:25 +08:00
James Gilbertson fb1b483721 HHH-4881: Added test cases for parameterized discriminator type 2011-10-09 14:36:24 +08:00
James Gilbertson 308847f526 HHH-4881: Use Loadable.getDiscriminatorValue() for nullSafeSet 2011-10-09 14:36:24 +08:00
James Gilbertson 11ef3e0765 HHH-4881: Keep track of the actual value used for the discriminator 2011-10-09 14:36:24 +08:00
Strong Liu 81ad5c0eff correct typo in javadoc
update log trace level
2011-10-09 12:39:19 +08:00
Strong Liu 7b1c172b84 HHH-6716 envers should set the TCCL to the envers classloader before constructing a dom4j instance. This will allow applications to use their own version of dom4j 2011-10-08 15:03:14 +08:00
Gail Badner b307a801a7 Immutable natural key lookup not recognized using query cache 2011-10-03 14:05:21 -07:00
Strong Liu 8f520e1126 HHH-6704 POSTGRESQL test failures 2011-10-01 02:33:46 +08:00
Strong Liu 56ce194a29 HHH-6702 mysql 51 test failures 2011-10-01 02:30:09 +08:00
Strong Liu 3c07e5d6ba HHH-6702 mysql 51 test failures 2011-10-01 02:27:03 +08:00
Strong Liu 3d3b5b85f5 HHH-6703 id element has 'column' attribute, then the pk column is nullable in ddl created by schema export 2011-10-01 01:21:14 +08:00
Strong Liu 30a0c3843a PostgreSQL does support 'drop table if exists' syntax (hibernate jira down) 2011-09-30 17:49:46 +08:00
Strong Liu 9d7114ec55 HHH-6702 mysql test failures 2011-09-30 17:23:36 +08:00
Strong Liu e4480f905c HHH-6702 mysql test failures 2011-09-30 17:21:05 +08:00
Emmanuel Bernard cbec206e2f HHH-6691 Clarify exception thrown upon impossible unwrap operation 2011-09-29 15:36:58 +02:00
Steve Ebersole e14e47968f HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 12:45:07 -05:00
Steve Ebersole f4fa176255 HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 11:49:17 -05:00
Strong Liu 50bbfa1002 HHH-5326 Added stats for UpdateTimestamp region 2011-09-27 13:04:30 +08:00
Alex Snaps 772bf93fcf Added stats for UpdateTimestamp region 2011-09-27 11:51:28 +08:00
Gail Badner 3e3250e2a9 HHH-6669 : Manual SchemaExport broken due to temp code comments 2011-09-23 11:13:52 -07:00
Strong Liu 24e3d1ce72 HHH-6456 don't know why this fix lost 2011-09-23 16:08:05 +08:00
Gail Badner d56ebfb443 HHH-6625 : EntityPrinter.toString() fails for non-POJO entities (happens when logging) 2011-09-22 12:53:40 -07:00
Emmanuel Bernard e20a0e6a9f HHH-6668 Resource should not have heading / (hibernate.cfg.xml schema) 2011-09-20 18:51:14 +02:00
CodingFabian 2a15694fa1 ColumnName cache now uses a map which supports multithreaded access.
The implementation now uses ConcurrentHashMap which provides faster multithreaded gets and safe writes.
2011-09-15 23:36:38 +08:00
Strong Liu 999526c3c3 minor change, correct javadoc and typo 2011-09-15 23:25:29 +08:00
Strong Liu 50db873e2c correct unmappable non-utf-8 characters 2011-09-15 22:45:08 +08:00
Steve Ebersole d652de654c HHH-6653 - Clean up JAXB generated classes 2011-09-13 20:08:42 -05:00
Steve Ebersole 9f214d8018 HHH-6640 - Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle 2011-09-13 18:46:28 -05:00
John Verhaeg f4c36a10f8 HHH-6439: Added getAddUniqueConstraintString method to Dialect and updated UniqueKey classes to use it 2011-09-09 10:30:01 -05:00
John Verhaeg 88b6b4c67b HHH-6581: Changed default access type determination to look for an explicit access annotation at the top of the hierarchy before falling back to the current strategy of examining identifiers 2011-09-09 09:42:00 -05:00
Steve Ebersole db7cdb95a8 HHH-6641 - Document services 2011-09-08 16:41:40 -05:00
Emmanuel Bernard 7c39b19ab2 HHH-6091 Move DefaultIdentifierGeneratorFactory; use MutableIdentifierGeneratorFactory for public contracts 2011-09-07 12:25:10 +02:00
Emmanuel Bernard 88a7edbdd7 HHH-6091 Make IdentifierGeneratorFactory a service
Create a MutableIdentifierGeneratorFactory to host the register contract
Make MutableIdentifierGeneratorFactory a default StandardServiceInitiator
2011-09-07 12:25:10 +02:00
Lukasz Antoniak 7d593e32e2 HHH-6533 - Fix and test 2011-09-05 20:15:29 +02:00