Commit Graph

2362 Commits

Author SHA1 Message Date
Strong Liu 34c3cec657 HHH-7950 bind custom tuplizer on composite attribute 2013-01-28 22:36:59 +08:00
Strong Liu 2922922133 fixing test code only 2013-01-27 23:41:47 +08:00
Strong Liu 396918ccfc fixing test code only 2013-01-27 02:33:31 +08:00
Strong Liu 6b94af8c55 HHH-7945 xsd element with mixed set to true may return unexpected \n 2013-01-27 01:55:59 +08:00
Strong Liu 2fd0d4d241 HHH-7945 xsd element with mixed set to true may return unexpected \n 2013-01-27 01:26:27 +08: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
Strong Liu 046d30ac4d HHH-7963 DynamicParameterizedType is not binded 2013-01-22 02:24:35 +08:00
Strong Liu d2243f4e14 HHH-7963 DynamicParameterizedType is not binded 2013-01-22 00:23:12 +08:00
Strong Liu 68ebf7e2bc HHH-7963 DynamicParameterizedType is not binded 2013-01-21 22:49:32 +08:00
Strong Liu 9225eb9f6b test code only fix 2013-01-21 21:14:40 +08:00
Strong Liu e8903540f9 HHH-7916 @NotFound.IGNORE 2013-01-21 21:05:13 +08: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
Gail Badner 7fc1b6efab HHH-7919 : Miscellaneous bugfixes 2013-01-17 02:42:12 -08:00
Strong Liu 57c78b11e5 HHH-7929 bind batch size to the plural attribute 2013-01-17 16:25:40 +08:00
Strong Liu 200c304c89 HHH-7929 bind batch size to the plural attribute 2013-01-17 16:25:23 +08:00
Strong Liu bdf13987a2 HHH-7929 bind batch size to the plural attribute 2013-01-17 15:42:04 +08:00
Strong Liu 948b14f866 HHH-7759 named queries not read by hbm source 2013-01-17 14:52:09 +08:00
Strong Liu f2ad705fc0 test code only fix 2013-01-17 13:54:58 +08:00
Gail Badner f651b73f23 HHH-7919 : Miscellaneous bugfixes 2013-01-16 20:14:14 -08:00
Gail Badner 1b436ef975 HHH-7736 : Change EntityBinding.getJpaCallbackClasses() to return an unmodifiable list 2013-01-16 18:49:12 -08: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 54050ca880 HHH-2448 Removed non-needed (and failing) test 2013-01-16 09:41:09 -05:00
Strong Liu c4f20791a6 HHH-7736 join subclass support 2013-01-16 20:16:48 +08:00
Brett Meyer 4187717c56 HHH-2448 Generate identical column aliases among cluster 2013-01-15 15:06:24 -05: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
Brett Meyer c5850fac6c HHH-2448 Updated test for metamodel 2013-01-14 19:55:46 -05:00
Brett Meyer 333789c2e4 HHH-2448 Generate identical column aliases among cluster 2013-01-14 19:39:00 -05: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
Strong Liu 8525e7eb23 HHH-7832 map entity mode support 2013-01-14 23:22:28 +08:00
Strong Liu a408d60636 HHH-7832 map entity mode support 2013-01-14 22:44:28 +08:00
Strong Liu bf222cab44 HHH-7736 join subclass support 2013-01-14 22:23:45 +08:00
Strong Liu 0bed7eaad9 HHH-7736 join subclass support and set mutable property to the plural attribute binding 2013-01-14 02:19:40 +08:00
Steve Ebersole 5de1677ce7 HHH-7914 - Improve new stored procedure call support 2013-01-11 17:48:38 -06:00
Strong Liu 9b7462c39c HHH-7736 join subclass support 2013-01-12 07:35:38 +08:00
Strong Liu 0671761c14 HHH-7736 join subclass support 2013-01-12 07:09:58 +08:00
Strong Liu ecf0114a63 HHH-7916 @NotFound.IGNORE 2013-01-12 04:29:17 +08:00
Gail Badner 29916adccb HHH-7919 : Miscellaneous embeddable bugfixes 2013-01-11 11:03:02 -08:00
Gail Badner 413ca60475 HHH-7917 : Add support for ordered sets 2013-01-10 14:42:12 -08:00
Gail Badner bf5fabd64a HHH-7909: Non-basic map keys and index backrefs 2013-01-10 10:42:12 -08:00
Strong Liu 029badbba6 HHH-7916 @NotFound.IGNORE 2013-01-11 02:06:04 +08:00
Strong Liu ee50c8b2a4 fixing simple BV test 2013-01-11 01:20:20 +08:00
Steve Ebersole c8b20660ed HHH-7912 - Define edge-case behavior for Session.evict 2013-01-08 20:56:38 -06:00
Gail Badner d7246f1da2 HHH-7909 : Add support for non-basic map keys 2013-01-08 11:43:37 -08:00
Strong Liu 1f82999520 HHH-7907 Bind filter 2013-01-08 20:45:56 +08:00
Brett Meyer fbe24bc2cb HHH-7911 NPE in TwoPhaseLoad#initializeEntity 2013-01-08 00:20:34 -05:00
Gail Badner 1159905084 HHH-7909 : Refactor to prepare for supporting non-basic map keys 2013-01-07 16:32:05 -08:00
Brett Meyer e1c9c1e9a7 HHH-6643 Overrode getNotExpression in DB2Dialect 2013-01-07 12:27:58 -05:00
Brett Meyer 6aabd0a0e4 HHH-7797 Deprecating mistakenly removed Dialect methods 2013-01-07 12:18:41 -05:00
Strong Liu fc1c6b6d41 HHH-7907 Bind filter 2013-01-07 00:19:47 +08:00
Strong Liu 81089bab2b HHH-7907 Bind filter 2013-01-06 23:54:00 +08:00
Strong Liu 0f954d3082 HHH-7907 Bind filter 2013-01-06 22:57:52 +08:00
Strong Liu fdbf788b65 HHH-7907 Bind filter 2013-01-06 22:54:06 +08:00
Strong Liu 87e19a2c3e HHH-7907 Bind filter 2013-01-06 22:48:44 +08:00
Strong Liu 4a567e04cb only create unique constraint for non-pk column 2013-01-06 14:32:25 +08:00
Strong Liu 18187f58ed HHH-7906 auto import unqualified entity name 2013-01-06 01:32:55 +08:00
Strong Liu 796cbc5924 HHH-7906 auto import unqualified entity name 2013-01-06 01:02:52 +08:00
Strong Liu b353410cb8 HHH-7906 auto import unqualified entity name 2013-01-06 01:00:12 +08:00
Strong Liu 524c94b384 HHH-7950 - natural id column should not be force not null 2013-01-06 00:40:46 +08:00
Strong Liu 925d52c995 fixing simple failing test 2013-01-06 00:23:11 +08:00
Strong Liu b22b688ef9 enable hibernate.format_sql property for testing 2013-01-05 22:39:34 +08:00
Strong Liu ff34a00485 HHH-7904 - uniform how to use NamingStrategy 2013-01-05 22:38:27 +08:00
Brett Meyer 7b9b9b39c0 HHH-2448 Generate identical column aliases among cluster 2013-01-04 14:50:50 -05:00
Brett Meyer cb4a5ee91b HHH-6643 Corrected intermittent test failure 2013-01-04 13:35:56 -05:00
Gail Badner f5e83567c5 HHH-7523 : Add support for key-many-to-one in composite IDs 2013-01-03 20:12:38 -08:00
Nikolay Shestakov d803b9b3a7 HHH-3458 Register postgres random() function as "rand" in PostgresSQLDialect 2013-01-03 17:36:32 -05:00
Brett Meyer 34f34cecbe HHH-7900 Reverting accidental partial push
This reverts commit 48816a2c8a.
2013-01-03 16:57:58 -05:00
Brett Meyer cd76f86f02 HHH-6643 Criteria doesn't support a chaining of 2 not restrictions (sql
= not not criterion)
2013-01-03 15:59:26 -05:00
Brett Meyer 510f876ff0 HHH-7866 Cleanup and added a few more checks 2013-01-03 15:08:22 -05:00
Sanne Grinovero 5cf1b469dd HHH-7866 Avoid redundant log level checking in StandardQueryCache 2013-01-03 15:00:57 -05:00
Brett Meyer 48816a2c8a HHH-7900 Began skeleton code for annotated M2M maps 2013-01-03 14:11:40 -05:00
Strong Liu 9f4f817a73 simple change, mostly are removing those unnesserary unboxing code. 2012-12-31 23:20:05 +08:00
Strong Liu 781133164b code format and fixing typo 2012-12-31 22:00:51 +08:00
Nikolay Shestakov 1c0b551055 using ConcurrentHashMap for decrease synchronization 2012-12-29 00:13:50 +06:00
Strong Liu 1cd75bbdd4 HHH-7894 failing test due to EntityNotFoundDelegate is not set to the SFbuilder 2012-12-28 17:20:57 +08:00
Strong Liu 2d43576045 HHH-7888 - Bind @OrderBy with empty value 2012-12-28 03:39:51 +08:00
Strong Liu 288823d2dd HHH-7893 - Refactoring Binder code 2012-12-27 13:36:09 +08:00
Gail Badner 0ddb9b914a HHH-6391 : Add support for joined attributes 2012-12-26 20:19:58 -08:00
Lukasz Antoniak b11c23fd45 HHH-7561 - Fix and test 2012-12-26 01:46:42 +08:00
Strong Liu 6c6df69535 refactor, remove redundant type cast 2012-12-25 19:25:47 +08:00
Strong Liu ada2a5327e simple improvement and code format 2012-12-24 03:10:38 +08:00
Brett Meyer e4e8f5dc61 HHH-7436 Finished basic M2M annotation source element handling 2012-12-21 18:49:26 -05:00
Strong Liu 9831670567 HHH-7888 - Bind @OrderBy with empty value 2012-12-21 17:56:44 +08:00
Strong Liu ad6f5ae53f HHH-7887 - use JandexHelper.getEnumValue to get a enum value 2012-12-21 15:02:32 +08:00
Lukasz Antoniak ceb96094f5 HHH-6627 HHH-7752 - Test cases 2012-12-20 11:16:08 -05:00
Brett Meyer 44994c4c36 Post master->metamodel merge issues 2012-12-20 01:09:15 -05:00
Brett Meyer 160727eab4 HHH-7797 Updated for 5.0 metamodel 2012-12-20 01:08:53 -05:00
Brett Meyer c33fdae563 Merge remote-tracking branch 'origin/master' into metamodel
Conflicts:
	hibernate-core/src/main/java/org/hibernate/LockOptions.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCacheEntry.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredCollectionCacheEntry.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/StructuredMapCacheEntry.java
	hibernate-core/src/main/java/org/hibernate/cache/spi/entry/UnstructuredCacheEntry.java
	hibernate-core/src/main/java/org/hibernate/cfg/SettingsFactory.java
	hibernate-core/src/main/java/org/hibernate/id/TableGenerator.java
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/relational/Database.java
	hibernate-core/src/main/java/org/hibernate/metamodel/relational/Table.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/HibernateTypeResolver.java
	hibernate-core/src/main/java/org/hibernate/metamodel/spi/relational/Index.java
	hibernate-core/src/main/java/org/hibernate/metamodel/spi/relational/UniqueKey.java
	hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
	hibernate-core/src/main/java/org/hibernate/type/ArrayType.java
	hibernate-core/src/main/java/org/hibernate/type/Type.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/uniqueconstraint/UniqueConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/test/component/basic2/ComponentJoinsTest.java
	hibernate-core/src/test/java/org/hibernate/test/criterion/CriterionTest.java
	hibernate-core/src/test/resources/org/hibernate/test/propertyref/inheritence/union/Person.hbm.xml
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/timestamp/TimestampsRegionImplTestCase.java
2012-12-20 00:09:45 -05:00
Gail Badner 0d09b5e35f HHH-7877 : Add support for multiple entity names used with the same Java class 2012-12-19 11:49:15 -08:00
Brett Meyer 12c7ab93c3 HHH-7797 Simplified UniqueKey creation and corrected a couple of
@UniqueConstraint bugs.
2012-12-19 14:48:11 -05:00
Steve Ebersole 9c3998dade HHH-7872 - Improved L2 cache storage of "reference" data 2012-12-19 09:24:36 -06:00
Gail Badner 2bee7d5111 HHH-7877 : Add support for multiple entity names used with the same Java class 2012-12-18 17:24:55 -08:00
Steve Ebersole 2ff69d24c4 HHH-7872 - Improved L2 cache storage of "reference" data 2012-12-18 14:11:59 -06:00
Strong Liu 0c6ab56372 simple improvement, and a little bit refactor 2012-12-18 21:54:20 +08:00
Strong Liu 88715216cb simple improvement, make util methods static 2012-12-18 16:26:19 +08:00
Gail Badner aaf8874b00 HHH-7874 : Lookup referenced attribute bindings by path instead of attribute name 2012-12-17 15:38:57 -08:00
brmeyer 1d5bf1608e HHH-7797 Corrected failing test that was exposed by src changes 2012-12-17 14:10:35 -05:00
brmeyer 41397f22d1 HHH-7797 Use unique indexes on nullable columns for DB2. Correctly
handle @UniqueConstraint table annotations on second passes.
2012-12-17 14:10:34 -05:00
Gail Badner afd3a15a1e HHH-7868 : Derived values as collection elements and indexes are not processed propely 2012-12-14 18:57:38 -08:00
brmeyer 9bec5d12ff HHH-7797 minor refactoring 2012-12-14 12:44:49 -05:00
brmeyer 49c8a8e4f0 HHH-7797 Finished auditing dialects. Cleanup and javadocs. Completed
uniqueness test.
2012-12-14 12:44:48 -05:00
brmeyer 962d1e580d HHH-7797 initial test case 2012-12-14 12:44:47 -05:00
Brett Meyer 7b05f4aed8 HHH-7797 Initial attempt at using UniqueDelegate within metamodel 2012-12-14 12:44:47 -05:00
brmeyer 4204f2c5fe HHH-7797 Finished first take on UniqueDelegate and rolled into .cfg and
.mapping
2012-12-14 12:44:46 -05:00
brmeyer 953aec40ad HHH-7797 UniqueDelegate & DefaultUniqueDelegate 2012-12-14 12:44:45 -05:00
Brett Meyer 3a995f574d HHH-7797 Block "unique" syntax on a column if a constraint can/will be
used
2012-12-14 12:44:45 -05:00
Strong Liu 9a462a7b31 HHH-7380 - union subclass support 2012-12-14 22:58:37 +08:00
Gail Badner cb4e92a98d HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods 2012-12-12 16:09:02 -08:00
Gail Badner 32e8765615 HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods 2012-12-12 16:09:02 -08:00
Gail Badner 2883cb85c3 HHH-7860 : Log a warning when embed-xml attribute is used in mappings 2012-12-12 16:06:03 -08:00
Brett Meyer dc3283f50a HHH-7856 Deprecate TableHiLoGenerator and TableGenerator 2012-12-12 16:16:31 -05:00
Scott Marlow b4e78a99e5 HHH-7747 check if the code attribute is null when building the StackMapTable 2012-12-11 16:36:26 -05:00
Dustin Schultz 58978a486f HHH-7747 - Fixes CNFE regression for runtime field level class
enhancing. Also removes the usage of ClassPool.getDefault() and
creates a new ClassPool on each usage.

HHH-7747 - Add the entity class to the ClassPool to support modular
classloading like OSGI. Remove unused import in FieldTransformer.

HHH-7747 - Enhanced test to ensure that class enhancement sees all
classes of an entity. Added test to ensure that StackMapTables are
non-null for Javassist added methods.
2012-12-11 15:27:50 -05:00
Scott Marlow 8463057b85 HHH-7850 BulkAccessorFactory Java 7 verify error resolved by JASSIST-163 BulkAccessorFactory.java.diff2 patch from Shigeru Chiba. 2012-12-11 10:34:36 -05:00
Strong Liu 1e1d373c08 HHH-7852 list does not have index type bound; causes NPE 2012-12-11 22:18:32 +08:00
Strong Liu 9b314b5a39 HHH-7852 list does not have index type bound; causes NPE 2012-12-11 21:16:38 +08:00
Strong Liu d1ba07080c HHH-7851 - basic collection is not indexable yet (annotaiton side) 2012-12-11 17:16:18 +08:00
brmeyer 598c6d3d25 HHH-7849 Cleaner fix. Added additional regression test. 2012-12-10 14:16:20 -05:00
brmeyer c75b045adc HHH-7849 Formatting 2012-12-10 14:15:53 -05:00
mgrenonville 02825e9fd6 HHH-7849 Unable to join on an embedded field 2012-12-10 13:35:12 -05:00
Shawn Clowater afc49f435f Changed the error handling for LazyInitializationException to go through the throwLazyInitializationException method so that the collection role is reported. 2012-12-07 12:22:59 -05:00
Barney 18d10d6fde HHH-7826 - Generate 'unique' constraints in stable order 2012-12-07 11:40:06 -05:00
brmeyer 79cc807aae HHH-7839 Documentation bug at
SimpleNaturalIdLoadAccess.getReference(Object naturalIdValue)
2012-12-07 11:28:16 -05:00
brmeyer 263a84154e HHH-7840 org.hibernate.id.IncrementGenerator very slow 2012-12-07 11:16:48 -05:00
Strong Liu 1b2469325d HHH-7380 - union subclass support 2012-12-07 15:59:05 +08:00
brmeyer addadfccd4 HHH-7803 Automatically index @Target classes 2012-12-05 20:18:50 -05:00
Gail Badner f87596ac26 HHH-7846 : Add messages and throw NotYetImplementedException to help categorize test failures 2012-12-05 16:50:09 -08:00
brmeyer 1ca4be92da HHH-7701 Entity's access type is overriden if an attribute's class has
@AccessType
2012-12-04 16:36:33 -05:00
brmeyer 4af03102e4 HHH-7762 Discriminators broken on abstract superclass with no
@DiscriminatorValue
2012-12-04 11:47:21 -05:00
brmeyer 51e7504a50 HHH-7436 Add support for many-to-many associations to new metamodel 2012-12-03 18:32:24 -05:00
Gail Badner 8b706fb3d6 HHH-7843 : Add support for one-to-one to new metamodel 2012-11-30 16:12:14 -08:00
Gail Badner 910ba3b814 HHH-7843 : Add support for one-to-one to new metamodel 2012-11-30 14:40:44 -08:00
Steve Ebersole 21ade0c798 HHH-1168 - Problem combining locking and paging on Oracle 2012-11-30 12:09:15 -06:00
brmeyer a54f750152 HHH-7837 Support Hibernate's @Cascade annotation in metamodel 2012-11-29 16:28:20 -05:00
brmeyer 727e51c0e5 HHH-7436 Initial many-to-many annotation support 2012-11-29 16:28:19 -05:00
Steve Ebersole 6e71a0907e HHH-1168 - Problem combining locking and paging on Oracle 2012-11-29 12:33:54 -06:00
Brett Meyer a36af1471e HHH-6551 HBM XML does not process subclasses within <subclass> tags 2012-11-28 16:12:17 -05:00
Strong Liu 5707798b4b Revert "HHH-7612 - Fix and test"
This reverts commit 14d1c626a5.
2012-11-28 23:35:08 +08:00
Strong Liu c35fc39a71 HHH-7832 - map entity mode support, not finished yet 2012-11-28 20:59:06 +08:00
Strong Liu 01bab54f46 HHH-7832 - map entity mode support, not finished yet 2012-11-28 20:11:53 +08:00
Strong Liu 7c48f03874 HHH-7831 - no-proxy attribute should be lazy instead of throwing exception 2012-11-28 18:17:45 +08:00
Strong Liu 9b3e6a3714 HHH-7380 - union subclass support 2012-11-28 18:12:57 +08:00
Steve Ebersole caf2ee420c HHH-7825 - org.hibernate.type.descriptor.java.DataHelper is incompatible with FireBird JDBC 2012-11-26 17:49:55 -06:00
Steve Ebersole dd280b8c27 HHH-1168 - Problem combining locking and paging on Oracle 2012-11-26 13:19:08 -06:00
Strong Liu 73f9df1bb5 HHH-7736 - simple improvement and test fixing 2012-11-26 16:44:49 +08:00
Lukasz Antoniak 46a34a4cf4 HHH-7612 - Fix and test 2012-11-24 19:07:53 +01:00
Lukasz Antoniak 14d1c626a5 HHH-7612 - Fix and test 2012-11-24 18:08:15 +01:00
Brett Meyer 0118819133 HHH-7819 Correct test issues found in CI hibernate-core-master-matrix
job
2012-11-21 14:08:13 -05:00
Brett Meyer 8df655aa6b HHH-7819 Correct test issues found in CI hibernate-core-master-matrix
job
2012-11-21 12:53:13 -05:00
Brett Meyer b77d5aece2 HHH-6396 Remove org.hibernate.annotations.Entity 2012-11-20 23:01:24 -05:00
Steve Ebersole 5d2f21a01e HHH-7816 - DDL opertations will incorrectly commit current transaction on Oracle XA 2012-11-20 15:57:33 -06:00
Gail Badner d779125ea5 HHH-7803 Refactored the attribute type discovery and moved into ReflectHelper 2012-11-20 11:56:53 -08:00
Steve Ebersole 4b2871cfba HHH-1168 - Problem combining locking and paging on Oracle 2012-11-20 13:23:10 -06:00
Brett Meyer 037f081793 HHH-7702 Add support for collections of (aggregated) composite elements 2012-11-19 19:22:33 -05:00
Brett Meyer 1c992b1faf HHH-7803 Refactored the attribute type discovery and moved into
ReflectHelper
2012-11-19 18:00:47 -05:00
Brett Meyer 8acfa1c37f HHH-7702 Add support for collections of (aggregated) composite elements 2012-11-19 16:44:27 -05:00
Brett Meyer b0db6e345e HHH-7798 Corrected now-passing tests 2012-11-19 14:28:49 -05:00
Brett Meyer 84656aa572 HHH-7798 Implement sources for array attributes 2012-11-19 13:49:42 -05:00
Brett Meyer 95512c749b HHH-7798 Moved determineDeclaredType to AttributeBuilder 2012-11-19 12:34:54 -05:00
Gail Badner 58f67d59bd HHH-7808 : Some exceptions returned by LocalBindingContext.makeMappingException() are not thrown 2012-11-16 18:02:50 -08:00
Gail Badner f75c7eff59 HHH-7436 : Add support for many-to-many associations to new metamodel
HHH-7436 : Add support for many-to-many associations to new metamodel

HHH-7436 : Add support for many-to-many associations to new metamodel
2012-11-16 14:54:03 -08:00
Strong Liu 09e5bfe4d5 fix test failures after merge 2012-11-16 14:00:41 +08:00
Brett Meyer bc71c7a762 Post-merge: handled failing tests 2012-11-15 15:59:11 -05:00
Brett Meyer 18e44d1739 Merge branch master into metamodel 2012-11-15 15:01:13 -05:00
Strong Liu e998269402 HHH-7736 partial joined subclass support 2012-11-15 19:54:51 +08:00
brmeyer 4359b9971b HHH-7798 Implement sources for array attributes 2012-11-14 21:15:01 -05:00
brmeyer 140c41af96 HHH-7702 Add support for collections of (aggregated) composite elements 2012-11-14 21:07:28 -05:00
brmeyer 4c4f52489e HHH-7798 Implement sources for array attributes 2012-11-14 15:56:56 -05:00
brmeyer 233c602bd9 HHH-7702 Add support for collections of (aggregated) composite elements 2012-11-14 14:44:15 -05:00
brmeyer 36120a0a84 HHH-7702 Add support for collections of (aggregated) composite elements 2012-11-14 14:24:14 -05:00
brmeyer 32746ff07e HHH-7785 Reverting a few more Dialect supportsNotNullUnique changes 2012-11-14 11:01:51 -05:00
brmeyer e19513c4ea HHH-7798 Partially implemented array attribute binding. 2012-11-13 18:20:31 -05:00
brmeyer 59d8fdbd28 HHH-7798 Initial structure for array attributes 2012-11-13 18:20:29 -05:00
brmeyer a1ba4dbdb7 HHH-7702 Add support for collections of (aggregated) composite elements 2012-11-13 18:20:28 -05:00
brmeyer a4112b9206 HHH-7702 Add support for collections of (aggregated) composite elements 2012-11-13 18:20:27 -05:00
Steve Ebersole 8b53e4630a HHH-7776 - Consolidate to/from string handling for types in StringRepresentableType 2012-11-13 16:36:49 -06:00
Steve Ebersole 1b68eb1411 HHH-7791 - Define population precedence for BasicTypeRegsitry 2012-11-13 13:29:37 -06:00
Steve Ebersole 2daa74faa0 HHH-7787 - Expose BasicTypeRegistry as part of MetadataBuilder or MetadataSources 2012-11-13 12:30:22 -06:00
brmeyer 65093aabf0 HHH-7785 Reverting supportsNotNullUnique change in HSQL 2012-11-13 11:32:25 -05:00
Steve Ebersole 1f824b0496 HHH-7795 - Clean up JdbcTypeJavaClassMappings 2012-11-13 10:27:04 -06:00
Steve Ebersole 101b0fa212 HHH-7794 - Introduce JdbcTypeCodeNameMap 2012-11-13 10:27:04 -06:00
Strong Liu af5208c1cf HHH-7459 correct code format 2012-11-13 11:23:11 +08:00
Steve Ebersole 2158bec47c HHH-7643 - java.io.NotSerializableException org.hibernate.type.EnumType 2012-11-12 14:21:01 -06:00
Steve Ebersole 07fc1627cd HHH-7780 - many envers tests are failing 2012-11-12 13:51:12 -06:00
Steve Ebersole 3353926fa4 HHH-7776 - Consolidate to/from string handling for types in StringRepresentableType 2012-11-12 13:19:38 -06:00
Steve Ebersole 5ef8a667ff HHH-7777 - Deprecate XmlRepresentableType 2012-11-12 12:13:52 -06:00
Steve Ebersole cca8cb14dc HHH-7776 - Consolidate to/from string handling for types in StringRepresentableType 2012-11-12 11:53:46 -06:00
Steve Ebersole ec942edb48 HHH-7782 - Deprecate PersistentElementHolder, PersistentIndexedElementHolder, PersistentListElementHolder and PersistentMapElementHolder 2012-11-12 09:30:47 -06:00
Steve Ebersole bcd15dc0eb HHH-7777 - Deprecate XmlRepresentableType 2012-11-12 08:55:55 -06:00
Strong Liu 3489b71dca HHH-7773 - Backout HHH-7544 (Pull Request 379) 2012-11-11 23:26:35 +08:00
brmeyer 1a3f997276 HHH-7759 named queries not read by hbm source 2012-11-08 16:10:42 -05:00
Steve Ebersole 25036b088a HHH-7769 - Define short-names for built-in MultiTableBulkIdStrategy impls 2012-11-08 15:03:16 -06:00
brmeyer 8ef1721d7c HHH-7759 named queries not read by hbm source 2012-11-08 14:36:09 -05:00
Steve Ebersole dffb86c52d HHH-7768 - Names of invalid named queries incorrectly concatenated 2012-11-08 13:09:48 -06:00
Steve Ebersole 209763faa8 HHH-7767 - JoinWalker creates ".." substring in association path 2012-11-08 11:56:11 -06:00
Alex Kalashnikov 9f462834da HHH-7767 JoinWalker creates ".." substring in association path 2012-11-08 21:27:42 +04:00
Steve Ebersole 785e2d869e HHH-7377 - NullPointerException in conjunction with natural IDs after Session.clear() 2012-11-08 09:59:51 -06:00
Steve Ebersole 08e63ac4a8 HHH-7757 - NOT IN row-value syntax ignores NOT 2012-11-08 09:59:50 -06:00
Gail Badner fc66ca54c3 HHH-7702 : Add support for collections of (aggregated) composite elements 2012-11-08 00:03:00 -08:00
Gail Badner 84f65d4b41 HHH-7702 : Add support for collections of (aggregated) composite elements 2012-11-07 21:40:49 -08:00
brmeyer f1f4414266 HHH-7015 Remove PostgreSQLDialect 2012-11-07 20:42:04 -05:00
brmeyer 210fbd3fc8 HHH-3280 Remove OracleDialect and Oracle9Dialect 2012-11-07 20:13:33 -05:00
brmeyer f0514cbcd8 HHH-7666 Replace unit tests' use of configuration() 2012-11-07 19:33:00 -05:00
brmeyer 30ac6cf21a HHH-7678 Allow @Embeddable classes to be left out of mapping. 2012-11-07 19:20:50 -05:00
brmeyer 4a92016f0c HHH-6356 Add PluralAttributeBinding.isInsertable() and isUpdatable() 2012-11-06 16:38:00 -05:00
brmeyer af66aec4a1 HHH-7761 @IdClass not working on mapped superclasses 2012-11-06 14:26:46 -05:00
Steve Ebersole 4294e0faee HHH-7645 - Enum property defined within orm.xml using enum-type string does not work 2012-11-06 11:21:38 -06:00
brmeyer 49468d964d HHH-7760 Support multiple @Column annotations on an @Id 2012-11-06 11:30:33 -05:00
Steve Ebersole 432dab3465 HHH-7748 - EnumType crashes because of unsupported JDBC API in Oracle 2012-11-06 08:26:11 -06:00
brmeyer 8f93b41da7 HHH-7756 Disconnect between annotation and hbm entity names 2012-11-05 17:31:11 -05:00
brmeyer 3db62f5e76 HHH-7755 Support Map/Set/List/Bag in component attribute source 2012-11-05 15:31:28 -05:00
Steve Ebersole 06b0faaf57 HHH-7746 - Investigate alternative batch loading algorithms 2012-11-02 13:32:15 -05:00
brmeyer 174e9b8ab2 HHH-7725 unclosed Statement 2012-10-31 17:15:58 -04:00
brmeyer 3847ebb478 HHH-5267 NPE when updating a detached entity with a one-to-one
association changed to null that is mapped with delete-orphan
2012-10-31 13:54:10 -04:00
Steve Ebersole 1b5088a911 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable 2012-10-31 12:41:48 -05:00
Steve Ebersole 0ab36bed8c HHH-7725 - Make handling multi-table bulk HQL operations more pluggable 2012-10-31 11:22:33 -05:00
John Verhaeg 4c22d9347f HHH-7742: Modified o.h.metamodel.internal.source.hbm.Helper.interpretCascadeStyles() to split the string on both commas and spaces. Might be more to the original intention to split on a pattern of a comma followed by any amount of spaces. 2012-10-30 17:30:43 -05:00
brmeyer 4dfbe673c1 HHH-7744 Corrected previous fix and updated numerous, affected tests 2012-10-30 17:33:25 -04:00
brmeyer d271ad7e6a HHH-7744 @DiscriminatorColumn's default discriminatorType ignored 2012-10-30 16:51:49 -04:00
brmeyer 367d331fd7 HHH-7743 @TableGenerator attributes handled using incorrect types 2012-10-30 16:50:10 -04:00
Steve Ebersole 9f0bbe10a6 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable 2012-10-30 15:39:47 -05:00
brmeyer 805ff1c2b5 HHH-7741 MetadataSources failing if package-info.java doesn't exist 2012-10-30 16:32:36 -04:00
brmeyer b6e7d2fc41 HHH-7740 Support CompositeCustomType in metamodel 2012-10-30 15:46:12 -04:00
brmeyer 0a639fd712 HHH-7738 Allow @Inheritance on subclasses 2012-10-30 15:28:42 -04:00
brmeyer 70221d8ac2 HHH-7739 Correct "appliesTo" value handeling on @Table/@Index processing 2012-10-30 15:24:31 -04:00
Steve Ebersole c94752d243 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable 2012-10-30 14:02:53 -05:00
Steve Ebersole 3e3b439e02 HHH-1570 - criteria-api: filtering by key-many-to-one causes invalid sql 2012-10-30 12:26:32 -05:00
brmeyer 4516dd45d6 HHH-7728 added null checks 2012-10-30 12:22:04 -04:00
Thorsten Schäfer c297d93261 HHH-7728 Adapt hashcode to equals method 2012-10-30 12:22:03 -04:00
Thorsten Schäfer 776470b85a HHH-7728 Include schema and catalog in equals 2012-10-30 12:22:02 -04:00
Thorsten Schäfer e1ad7c51df HHH-7728 Add equals method in the table class 2012-10-30 12:22:01 -04:00
Strong Liu 1a5bdd9adb HHH-7736 - join subclass support 2012-10-30 18:22:54 +08:00
Steve Ebersole df809231c5 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable 2012-10-29 17:48:25 -05:00
Erik-Berndt Scheper c22e7fd214 HHH-6361 - Fixed ManyToManyAssociationClassCompositeIdTest broken by
CollectionType changes
2012-10-29 18:11:23 -04:00
brmeyer f9049a1fd2 HHH-6361 formatting 2012-10-29 18:11:21 -04:00
Erik-Berndt Scheper 7bb43baf0b HHH-6361: Patch ensuring that collection events have the correct stored
snapshot after merging a detached entity into the persistencecontext
2012-10-29 18:11:20 -04:00
brmeyer 5c562411e6 HHH-6361 Cleaned up test case 2012-10-29 18:11:19 -04:00
Erik-Berndt Scheper d0aa9f5d9d HHH-6361: Testcase demonstrating that collection events may contain wrong stored snapshot after merging a detached entity into the persistencecontext 2012-10-29 18:11:18 -04:00
Steve Ebersole 3e69b7bd53 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable 2012-10-29 16:34:03 -05:00
Steve Ebersole 3305af5fe8 HHH-1775 - collection batch fetching 2012-10-29 16:34:03 -05:00
brmeyer 0c5ad566b6 HHH-7733 NativeSQLQueriesTest failing on Postgres 2012-10-29 14:24:43 -04:00
brmeyer 718dd237f5 HHH-7734: SerializableTypeTest#testNewSerializableType failing for
Oracle 11G R1
2012-10-29 14:15:02 -04:00
brmeyer cdc8d4331c HHH-7732 QueryTest#testMemberOfSyntax failing on Oracle 2012-10-29 13:46:47 -04:00
brmeyer 5293c78d52 HHH-7730 SchemaExportManagedConnectionTest#testGenerateDdlToFile
failing on Oracle & Sybase
2012-10-29 12:38:36 -04:00
brmeyer eae079d283 HHH-5836 Mapping collection of entities with same name and notnull
constraints from two different entities results in duplicate property
mapping of Backref
2012-10-29 11:37:33 -04:00
brmeyer 4e434f6197 HHH-7721 SQLFunctionRegistry findSQLFunction does not honor case
sensitivity
2012-10-26 14:47:19 -04:00
Steve Ebersole c46c04631d Merge branch 'master' of github.com:hibernate/hibernate-orm 2012-10-26 12:58:18 -05:00
Steve Ebersole fb253b0297 HHH-1775 - collection batch fetching 2012-10-26 12:56:08 -05:00
Guenther Demetz 7cecc68fb1 HHH-1775 2012-10-26 10:40:26 -05:00
brmeyer 226d2459ec HHH-7724 JpaLargeBlobTest failing on multiple DBs 2012-10-26 11:26:44 -04:00
Esen Sagynov 3d82bb1d64 HHH-7717 Quoted "value" column name as "`value`" since it's a reserved
word in
CUBRID.
2012-10-26 11:17:17 -04:00
Esen Sagynov d611f59832 HHH-7717 Added a quoted "`data`" column name as this is a reserved word
in
CUBRID.
2012-10-26 11:17:04 -04:00
Esen Sagynov 339b4363b1 HHH-7717 Quoted table names in tests otherwise fail in CUBRID dialect as
these
names are reserved.
2012-10-26 11:16:46 -04:00
Esen Sagynov f63352b0f7 HHH-7717 Wrapped "SYS_USER" column names into "`SYS_USER`" as they can
be
reserved in some dialects which would cause a test failure.
2012-10-26 11:16:15 -04:00
Esen Sagynov eb4b4ba0d2 HHH-7717 Wrapped "date" column names into "`date`" as they can be
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:57 -04:00
Esen Sagynov d41b800bb0 HHH-7717 Wrapped additional "type" column names into "`type`" as they
can
be
reserved in some dialects which would cause a test failure.
2012-10-26 11:15:44 -04:00
Esen Sagynov 76bb63c74c HHH-7717 Wrapped "time" column names into "`time`" as they can be
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:28 -04:00
Esen Sagynov 36f519d02e HHH-7717 Wrapped "value" column names into "`value`" as they can be
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:13 -04:00
Esen Sagynov 61cb6f59f6 HHH-7717 Added import to Tooth test for previously committed @Column. 2012-10-26 11:09:36 -04:00
Esen Sagynov 014bc42a86 HHH-7717 Wrapped column names which may be reserved in some dialects.
Also added
column declarations for properties which lacked column attribute.
2012-10-26 11:08:41 -04:00
brmeyer 89fdf465aa HHH-7666 Replace unit tests' use of configuration() 2012-10-25 15:21:20 -04:00
brmeyer 38b5367f54 HHH-7718 Support "import" in HBM mappings 2012-10-25 15:11:47 -04:00
Esen Sagynov e4fbe2fc99 HHH-7716 Added a fallback data type for cases when VARCHAR length is
over
4000
chars.

In such cases the column type will be STRING which is equivalent to
VARCHAR(1,073,741,823).
2012-10-25 11:18:11 -04:00
Esen Sagynov a0d02a0660 HHH-7716 FIxed a bug which didn't allow BOOLEAN type to be saved to
CUBRID DB.
BIT(8) data type solves this issue.
2012-10-25 11:17:44 -04:00
Esen Sagynov 220365600c HHH-7716 Fixed a bug in CUBRIDLimitHandler. Now correctly processes
LIMIT
clause
in SQL.
2012-10-25 11:17:30 -04:00
Esen Sagynov e7af2f4b76 HHH-7716 Skip these tests for CUBRID dialect as temp tables aren't
supported yet.

Raises: "HibernateException: cannot doAfterTransactionCompletion
multi-table deletes using dialect not supporting temp tables"
2012-10-25 11:17:13 -04:00
Esen Sagynov 9be3666141 HHH-7716 Skip this JoinedSubClassTest for CUBRID dialect as temp tables
are not
supported yet.

Raises "HibernateException: cannot doAfterTransactionCompletion
multi-table deletes using dialect not supporting temp tables".
2012-10-25 11:16:54 -04:00
Esen Sagynov b9145ab132 HHH-7716 Skip testParameterMixing test for CUBRID dialect. 2012-10-25 11:16:37 -04:00
Esen Sagynov d4ab63ccc0 HHH-7716 Renamed smallint data type to short. Sinonyms in CUBRID but
internally
saved as short.
2012-10-25 11:16:20 -04:00
Esen Sagynov 9534ffc94c HHH-7716 Registered reserved words for CUBRID dialect. 2012-10-25 11:16:01 -04:00
Esen Sagynov f647ecf7ae HHH-7716 Added import for RowSelection used in buildLimitHandler. 2012-10-25 11:15:47 -04:00
Esen Sagynov f52d0a9d63 HHH-7716 Added imports for CUBRID limit handler. 2012-10-25 11:15:31 -04:00
Esen Sagynov f0ebd2f378 HHH-7716 Updated CUBRIDDialect.
Added supported SQL functions and data types. Removed limit related
methods in favor of CUBRIDLimitHandler. Improved the dialect by
correctly setting values (true/false) for certain dialect features.
2012-10-25 11:15:10 -04:00
brmeyer 61eaf4ce4e HHH-7359 accidentally committed TRACE log levels 2012-10-24 23:10:38 -04:00
brmeyer 30ea167c41 HHH-7359 Added a new method to MessageHelper to intelligently handle
property-ref issues in logging.  Rolled it out to as many MessageHelper
users as possible.
2012-10-24 22:51:05 -04:00
brmeyer 9968ce3adb HHH-7359 Corrected trace logging of HibernateProxy objects 2012-10-24 16:05:33 -04:00
brmeyer deaff9705e HHH-7513 Corrected trace logging for one-to-one cascading 2012-10-24 13:39:36 -04:00
brmeyer d627089242 HHH-7513 Corrected trace logging for collections using property-refs 2012-10-24 13:39:04 -04:00
Strong Liu 9fbfcdcabf HHH-7712 remove deprecated code 2012-10-24 15:22:56 +08:00
brmeyer b115f56f57 HHH-7479 formatting 2012-10-24 00:27:37 -04:00
mutazkabashi 1172fd94dc HHH-7479 getForUpdateString() of HSQLDialect returns empty string. 2012-10-24 00:26:52 -04:00
Dmitry Geraskov 6d718a24b0 HHH-7711 Added test for SchemaExport 2012-10-23 18:38:21 -04:00
Dmitry Geraskov e7e28dd978 HHH-7711 Generate ddl to file even if scriptToConsole and
exportToDatabase are
set to false
2012-10-23 18:37:33 -04:00
brmeyer 5501336c28 HHH-7695: @NotNull ignored on @Embeddable static classes
https://hibernate.onjira.com/browse/HHH-7695
2012-10-23 11:25:22 -04:00
Strong Liu cc1ce680a4 HHH-7709 - change org.hibernate.type.ForeignKeyDirection to enum 2012-10-23 16:45:30 +08:00
brmeyer 5e158e8861 HHH-7693 Formatting and duplicate code 2012-10-22 13:20:46 -04:00
Bryan Turner 1333725bcf HHH-7692 Use Postgres82Dialect for 9 and 9.1. 2012-10-22 13:14:21 -04:00
Bryan Turner 189a8d3386 HHH-7693 Use SQLServer2008Dialect for 2012.
- Previously, SQL Server version 11 (SQL Server 2012) was an unknown
  version, resulting in the SQLServerDialect
- Added version 11 to the switch statement so that SQLServer2008Dialect
  is now returned by default, as SQL Server 2012 is much more similar
  to SQL Server 2008 than SQL Server 2000
- Added test cases to verify dialects for several SQL Server versions
2012-10-22 13:07:19 -04:00
Strong Liu 46a0cbe7fa HHH-6109 format code 2012-10-22 17:53:00 +08:00
Strong Liu 1b62f92c07 HHH-6109 bind sql result mapping and named query 2012-10-22 17:52:19 +08:00
Strong Liu 58e68ee58e HHH-7706 reorg the imports to see how many @FailureExpectedWithMetamodel left 2012-10-22 17:11:11 +08:00
Strong Liu 064c355cd0 HHH-7706 some minor issues in the metamodel branch 2012-10-22 17:06:14 +08:00
Strong Liu d2a76dbe1a HHH-7459 test fixed 2012-10-21 01:19:53 +08:00
Strong Liu 210a7f2707 HHH-7459 inverse attribute resolution w/ mappedBy enabled ( the Annotation case ), since from Annotation perspective, we don't have the inversed key, so, have to do the mappedBy attribute look up 2012-10-21 01:07:16 +08:00
Strong Liu 98603cce86 HHH-7459 inverse attribute resolution w/ mappedBy enabled ( the Annotation case ), since from Annotation perspective, we don't have the inversed key, so, have to do the mappedBy attribute look up 2012-10-21 01:04:37 +08:00
Strong Liu 845c757e07 HHH-7459 lazyness is not processed correctly 2012-10-21 01:01:10 +08:00
Strong Liu 5cd3f85ac5 HHH-7459 remove unused class 2012-10-21 00:56:18 +08:00
Strong Liu 2fdf563999 HHH-7459 remove FailureExpectedWithNewMetamodel from fixed tests 2012-10-21 00:55:27 +08:00
brmeyer ec3f649ad5 HHH-7698: In efficient LOB creations backed by streams
https://hibernate.onjira.com/browse/HHH-7698
2012-10-19 17:10:16 -04:00
brmeyer 22b0203ea7 HHH-7703: @TypeDefs processed, but not used
https://hibernate.onjira.com/browse/HHH-7703
2012-10-19 13:40:37 -04:00
brmeyer 567df233cc HHH-7703: @TypeDefs processed, but not used
https://hibernate.onjira.com/browse/HHH-7703
2012-10-19 12:17:35 -04:00
brmeyer eaa3f7ef6d HHH-7703 @TypeDefs processed, but not used 2012-10-18 19:17:22 -04:00
Sanne Grinovero 4fe494d13d HHH-7699 DriverManagerConnectionProviderImpl is not exact in counting checked-out connections 2012-10-18 19:42:57 +01:00
Sanne Grinovero e4300d279c HHH-7699 More aggressive in checking log levels before creating log messages 2012-10-18 19:42:57 +01:00
Sanne Grinovero e27afb8ded HHH-7699 Proper code formatting of log statements 2012-10-18 19:42:57 +01:00
Galder Zamarreño a074d3244d HHH-7640 Improve single node Infinispan 2LC performance
* Use an Infinispan cache to maintain pending puts, which avoids
the need to control it's memory consumption in the critical path
of putFromLoad.
* This cache is shared by all regions, and it's configured with
aggressive expiration settings to avoid piling up pending put
operations.
* Added a 2LC stress test that tests behaivour and performance
of 2LC under multiple situations, such as entity inserts, updates,
find via PK, find via query and deletes.
* Some other minor performance enhancements, such as avoiding
classloader aware cache wrapper if using 2LC locally.
* Remove cache adapter to reduce construction of useless objects.
* Cache flagged caches in order to avoid recomputing decorated
caches all the time, which reduces memory consumption.
* Skip locking for timestamp updates and separate timestamp region
implementations for local vs clustered scenarios.
2012-10-18 15:57:15 +02:00
brmeyer d17f5d1662 HHH-7664 5.0.0 unit test clean-up 2012-10-18 09:57:13 -04:00
brmeyer b55e173ec4 HHH-7702 PluralAttributeElementBinding.Nature.AGGREGATION -> COMPONENT 2012-10-17 22:08:39 -04:00
Steve Ebersole 2b4097aa49 HHH-7698 - In efficient LOB creations backed by streams 2012-10-17 12:26:35 -05:00
brmeyer 9ed8ac16aa HHH-7696 Support multiple @AttributeOverride annotations 2012-10-17 13:10:37 -04:00
brmeyer 7f1dbc2ef0 HHH-7678 Attribute's type is an @Embeddable static class -- incorrectly
bound to Basic
2012-10-16 13:49:11 -04:00
brmeyer 08a756a23f HHH-7664 5.0.0 unit test clean-up 2012-10-15 17:28:31 -04:00
Strong Liu f6787672ec HHH-7619 formula attribute is not working on annotation side yet 2012-10-15 11:42:45 +08:00
Strong Liu 4446594568 HHH-7459 simple improvement 2012-10-14 00:16:42 +08:00
brmeyer 5fb7f4b343 HHH-7679 Source implementations should not determine default
discriminator match value
2012-10-12 16:22:51 -04:00
brmeyer 0b4dfcb435 HHH-7666 Replace unit tests' use of configuration() 2012-10-12 14:51:49 -04:00
brmeyer 9462c522cc HHH-7666 Replace unit tests' use of configuration() 2012-10-12 14:51:48 -04:00
brmeyer 8ecb9fdfdb HHH-7666 Replace unit tests' use of configuration() 2012-10-12 14:51:47 -04:00
Gail Badner b7cc064058 HHH-7523 : Misc changes for composite IDs; mostly class/enum name changes 2012-10-11 19:58:49 -07:00
Gail Badner ceec7423dc HHH-7523 : Support for composite IDs 2012-10-11 19:58:49 -07:00
brmeyer 25a98fada3 HHH-7674 DB locks not cleared on
LazyLoadingTest#testLazyCollectionLoadingWithClearedSession
2012-10-10 22:01:32 -04:00
Strong Liu e543f060aa HHH-7459 continue on the @ManyToOne support, now the fk column name is working 2012-10-11 03:52:00 +08:00
Steve Ebersole c9fd71fe57 HHH-7683 - Optimize performance of AbstractLazyInitializer.prepareForPossibleSpecialSpecjInitialization() 2012-10-10 13:21:53 -05:00
Gail Badner 2877cfdc68 HHH-7680 : Annotated tests with @FailureExpectedWithNewMetamodel that fail because AbstractTableSpecification does column name lookups that are case-sensitive 2012-10-09 19:37:34 -07:00
Gail Badner bbde363d89 HHH-7679 : Source implementations should not determine default discriminator match value 2012-10-09 19:34:40 -07:00
Gail Badner d54fecefee HHH-7663 - Annotated failing tests with @FailureExpectedWithNewMetamodel 2012-10-09 18:04:19 -07:00
brmeyer 1350cba2b7 HHH-7655 @Temporal should not be required on Date/Calendar fields 2012-10-09 14:50:39 -04:00
Strong Liu 1017d94196 HHH-7459 rollback a change that causes lots of tests fail 2012-10-10 00:51:09 +08:00
brmeyer 11dcd9ab46 HHH-6655 trim function on DB2 is broken 2012-10-09 11:29:05 -04:00
brmeyer 58fa4c2eac HHH-4459 Query with Composite Primary Key parameter crashes when query
cache is on
2012-10-08 21:51:56 -04:00
brmeyer f3a8760d22 HHH-7666 Replace unit tests' use of configuration() 2012-10-03 17:07:44 -04:00
Steve Ebersole 199ee7860e HHH-5209 - org.hibernate.hql.ast.QuerySyntaxException when running a JPQL query with a MEMBER OF on an @ElementCollection 2012-10-03 08:19:41 -05:00
brmeyer b88b32382f HHH-7664 5.0.0 unit test clean-up 2012-10-02 11:04:21 -04:00
brmeyer c73162270a HHH-7664 5.0.0 unit test clean-up 2012-10-02 10:44:20 -04:00
brmeyer 8e4f487003 HHH-7661 Support natural sorting 2012-10-02 09:31:09 -04:00
Steve Ebersole c3f8acf6e7 HHH-7616 - Integrate hibernate-tools JDBCBinder into hibernate-orm 2012-10-01 09:56:39 -05:00
brmeyer 691463578b HHH-7651 Default discriminator not created on insert 2012-09-28 14:54:36 -04:00
brmeyer e12ce42b2c HHH-7656 Binder causing unmodifiable collection exception 2012-09-28 12:58:29 -04:00
brmeyer 9a4055b0cd HHH-7655 @Temporal should not be required on Date/Calendar fields 2012-09-28 12:17:44 -04:00
brmeyer 2a3526af24 HHH-7655 @Temporal should not be required on Date/Calendar fields 2012-09-28 12:04:37 -04:00
brmeyer e1a669add0 HHH-7655 @Temporal should not be required on Date/Calendar fields 2012-09-28 12:04:36 -04:00
Steve Ebersole 5dd5e251ba HHH-7616 - Integrate hibernate-tools JDBCBinder into hibernate-orm 2012-09-28 10:54:55 -05:00
brmeyer 9914b17010 HHH-7650 JandexHelper cannot handle Class default values 2012-09-28 00:25:27 -04:00
brmeyer 1e8e1718cb HHH-7652 @Columns not supported correctly in MappedAttribute 2012-09-28 00:24:08 -04:00
brmeyer 04b4383e39 HHH-7650 JandexHelper cannot handle Class default values 2012-09-27 17:43:08 -04:00
Brett Meyer 4152ff660a Revert "HHH-4098 VARBINARY should be BLOB in DB2400Dialect"
This reverts commit 590020535c.
2012-09-27 11:32:00 -04:00
brmeyer 590020535c HHH-4098 VARBINARY should be BLOB in DB2400Dialect 2012-09-26 21:33:52 -04:00
brmeyer 8dbaefced4 HHH-6972 Support PostgreSQL and Oracle LOBs 2012-09-26 17:33:54 -04:00
Oleh Faizulin 068c973cde HHH-7644 Correct memory leak 2012-09-26 15:48:52 -04:00
brmeyer 3e5184e6d7 HHH-6043 PostLoad method invoked before collection initialised 2012-09-26 00:19:05 -04:00
brmeyer 121f495ff8 HHH-4635 Oracle ORA-24816 inserting and updating data for entities
containg LOB attributes
2012-09-24 12:19:22 -04:00
Sanne Grinovero 29ad8e9cb9 HHH-7633 Cache System#identity for IdentityMap reuse 2012-09-21 14:46:25 +02:00
Steve Ebersole f85e9247e9 HHH-7631 - Improve performance of UpdateTimestampsCache 2012-09-21 07:02:16 -05:00
Steve Ebersole a8a3f9b112 HHH-7626 - Add javadoc to annotations 2012-09-20 10:04:27 -05:00
John Verhaeg 78060d8eac HHH-7628: Modified ConfiguredClass to also process @AccessType annotations 2012-09-20 08:21:56 -05:00
John Verhaeg 07405e0f00 Merge branch 'metamodel' of github.com:hibernate/hibernate-orm into metamodel 2012-09-20 08:21:15 -05:00
Strong Liu 221649d732 HHH-7627 mirror bugs in annotation binding side 2012-09-20 13:48:42 +02:00
Steve Ebersole d0f88347af HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder : reordered EMF builder processing to better allow late ValidatorFactory and DataSource (HHH-7621) passing 2012-09-20 05:40:15 -05:00
Strong Liu 415e68647f HHH-7549 ManyToOne fk naming 2012-09-20 11:28:46 +02:00
Strong Liu e2f68ef4a1 HHH-7624 only root level fetch-profile element get processed 2012-09-20 10:55:42 +02:00
Shawn Clowater 35b9a9d785 HHH-7603 Changed AbstractPersistentCollection so that it would behave in a similar manner as 4.1.6 when using the default lazy load behavior for collections. With the changes for HHH-7603 the AbstractPersistentCollection was throwing a NPE instead of a LIE in a very particular case.
Added test that simulates a use case from Hibernate Search 4.1.1 as far as I can tell.
2012-09-20 01:51:58 -04:00
Ivan Sopov 8462677f53 fix for HHH-7487 org.hibernate.type.EnumType incorrectly logs binded values, trace logging was done as it is done in BasicBinder with the String.format 2012-09-20 01:40:22 -04:00
brmeyer 500e0222b5 HHH-6972 Support PostgreSQL and Oracle LOBs 2012-09-20 01:24:02 -04:00
Sergiu Dumitriu 54fdb87d30 HHH-7541: When using HSQLDB, inserting any CLOB value larger than 16Mb always fails with an exception
Fixed.
2012-09-19 10:04:23 -04:00
John Verhaeg 386a7c2f0d HHH-7622: Added check for invalid extensions of an entity class when building the entity hierarchies 2012-09-19 08:13:18 -05:00
John Verhaeg 4d0f01614a HHH-7542: Modified previous fix to look only for type-level @Immutable annotation 2012-09-19 08:05:05 -05:00
John Verhaeg c9b1418988 HHH-7619: Modified ConfiguredClass to only look for type-level annotation for access type 2012-09-19 07:52:36 -05:00
brmeyer 7d5ece822c HHH-7309 Natural-id not cached in shared cache after insert 2012-09-19 08:34:55 -04:00
Guenther Demetz a176931349 HHH-7309 bug-fix 2012-09-19 08:25:38 -04:00
Guenther Demetz 7c218bbe11 HHH-7309 testcase 2012-09-19 08:25:37 -04:00
brmeyer 6660d2412a HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-19 05:24:51 -04:00
brmeyer 8c58af3b19 HHH-6972 Support PostgreSQL and Oracle LOBs 2012-09-19 04:19:09 -04:00
John Verhaeg f48503891b HHH-7615: Changed ToOneAttributeSourceImpl.getJoinColumns to call JoinColumnResolutionContext.resolveRelationalValuesForAttribute when attributeName is null (indicating to use the primary key of the referenced table), and likewise modified resolveRelationalValuesForAttribute methods in each JoineColumnResolutionContext impl within Binder extract the PK columns when the attribute name is null 2012-09-18 04:38:30 -05:00
brmeyer cb60b0259c HHH-6682 add support for oracle "bitand" function to Oracle Dialect 2012-09-18 01:33:41 -04:00
brmeyer 9f720b2d73 HHH-4635 Oracle ORA-24816 inserting and updating data for entities
containg LOB attributes
2012-09-18 01:20:42 -04:00
Strong Liu dcc4ab49e7 HHH-7607 simplify Binder code 2012-09-17 12:43:42 +02:00
brmeyer 6a5bd555de HHH-6682 add support for oracle "bitand" function to Oracle Dialect 2012-09-17 06:00:19 -04:00
brmeyer 9f7f572490 HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking 2012-09-17 03:54:36 -04:00
John Verhaeg 57e4f3a9ea HHH-7602: Modified CustomRunner, BeforeClassCallbackHandler, and FailureExpectedHandler to handle exceptions in class methods. Marked tests appropriately with @FailureExpectedInNewMetamodel where necessary. 2012-09-14 17:58:26 -05:00
John Verhaeg 3ae06719fd HHH-7601: Added minOccurs/maxOccurs to column elements that were missing them, as defined by the DTD. 2012-09-14 17:46:34 -05:00
John Verhaeg 58a238e5b7 HHH-7542: Modified EntityClass to allow for multiple class-level @Immutable annotations in the same hierarchy 2012-09-14 15:50:39 -05:00
John Verhaeg 4882bebdba HHH-7600: Modified FilterDefinition constructor to allow for numm parameter types 2012-09-14 13:20:34 -05:00