Commit Graph

2950 Commits

Author SHA1 Message Date
drepshas 216848b500 HHH-10054 Modify Create Index SQL to support the Teradata database 2015-09-01 12:41:32 -05:00
Radim Vansa 1d62197b9d HHH-10008 SessionImplementor.getTimestamp() does not return transaction start time;
HHH-9962 Second level query cache returns stale data if query and update statements are executed concurrently
2015-09-01 11:49:03 -05:00
Gunnar Morling 1376b12ca9 HHH-10073 Not propagating XML node names configured in mappings 2015-09-01 11:34:56 -05:00
Gunnar Morling 6f215a9227 HHH-10073 Removing further left-overs from removed dom4j entity mode 2015-09-01 11:34:56 -05:00
Gunnar Morling 47b8ed5121 HHH-10073 Removing methods scheduled for removal in 5.0 2015-09-01 11:34:56 -05:00
Gunnar Morling 1db462f35f HHH-10073 Removing types methods scheduled for removal in 5.0 2015-09-01 11:34:56 -05:00
Steve Ebersole 78fcfe26a7 HHH-10065 - Slow mapping initialization 2015-09-01 10:05:52 -05:00
Steve Ebersole 74d2d33012 HHH-10009 - Unable to parse cfg.xml file with explicit xsi:schemaLocation 2015-09-01 09:22:57 -05:00
Steve Ebersole d85fd04eb0 HHH-10070 - Deprecate use of "collection properties" in HQL 2015-08-31 21:02:09 -05:00
Steve Ebersole 24901af4d9 HHH-10024 - CriteriaQuery: Join on a field named 'size' backed by an enum throws IllegalArgumentException 2015-08-31 20:30:15 -05:00
Steve Ebersole ca1c2efaf9 HHH-9954 - Equality checking should consider arrays 2015-08-31 09:25:53 -05:00
Gail Badner 249eff948d HHH-10060 : Order of subclass joins are no longer determinate 2015-08-26 16:27:31 -07:00
Brett Meyer 6ca0a231a5 HHH-9975 checkstyle 2015-08-26 17:17:15 -04:00
Brett Meyer eaf4c789b3 HHH-9975 CacheImpl.containsQuery(String) does not check if query cache is enabled 2015-08-26 16:37:09 -04:00
Kamil Szymanski 5f5e5f82c4 HHH-9593 Remove superfluous references to enclosing class
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
	hibernate-core/src/main/java/org/hibernate/service/internal/JaxbProcessor.java
2015-08-26 15:55:45 -04:00
Andrea Boriero 98ebeee830 HHH-951 - Fix setMaxResults causes "ORA-00918: column ambiguously defined" exception on Oracle for Criteria 2015-08-20 18:04:20 +01:00
Andrea Boriero 2e7c3acf11 HHH-951 - Add test for Criteria 2015-08-20 18:04:20 +01:00
Piotr Findeisen 0a722bb230 HHH-951 - Fix setMaxResults causes "ORA-00918: column ambiguously defined" exception on Oracle 2015-08-20 18:04:20 +01:00
Steve Ebersole 2c1b7ca537 HHH-9908 - Regression in naming collection join tables 2015-08-19 11:57:24 -05:00
Steve Ebersole 825468ca9b HHH-9908 - Regression in naming collection join tables
(cherry picked from commit 51a8bc7ba3)
2015-08-19 09:46:21 -05:00
Gail Badner ed867b2e60 HHH-7070 : Put operations in transactions and added cleanup code (test case only) 2015-08-18 16:37:43 -07:00
Richard Tingstad 5adf730c42 HHH-7070 Fixed some SybaseASE15Dialect function definitions (dateadd, datediff, datepart, atn2)
(cherry picked from commit 7eebb0f73d)
2015-08-18 15:16:21 -07:00
amaeda cbf255e4f0 HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 6f37a2ee6b)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java

HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 046426b619)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
2015-08-18 14:01:31 -07:00
Martin Simka 37964f12e4 [HHH-9994] Finish mariadb (mysql) database profile - added transaction to EnhancerTest and FlushAndTransactionTest 2015-08-18 16:47:43 +01:00
Andrea Boriero 46232719d1 HHH-10036 - Fix identifier is too long exception for test TableGeneratorQuotingTest 2015-08-18 15:40:38 +01:00
Andrea Boriero 97606e8bf0 HHH-10036 - Fix identifier is too long exception for test EnhancerTest 2015-08-18 15:40:38 +01:00
Andrea Boriero a9daa65c12 HHH-10036 - Fix identifier is too long exception for test MapKeyCustomEnumTypeTest 2015-08-18 15:40:38 +01:00
Steve Ebersole 266ec761f4 HHH-10017 - Bytecode enhancer - consistent handling of persistent attributes (field / property access) 2015-08-05 14:16:29 -05:00
barreiro cff4cb4b7a HHH-9985 - bytecode enhancement - add testcase, and for HHH-10017 as well 2015-08-05 19:33:18 +01:00
barreiro c622d39199 HHH-9985 - remove hack based on exposed state and route all field access to enhanced methods, if present 2015-08-05 19:33:18 +01:00
barreiro ed185b9b48 HHH-10017 - bytecode enhancement - consistent handling of persistent attributes, regardeless of access type 2015-08-05 19:33:18 +01:00
Steve Ebersole 9b9b806aac HHH-10018 - Change default ImplicitNamingStrategy to use the JPA compliant one + ImplicitNamingStrategy short-naming 2015-08-05 10:26:48 -05:00
Steve Ebersole 1556c272d5 HHH-9850 - Primary key generated for nullable column in sequence table 2015-08-05 09:09:24 -05:00
Andrea Boriero 1163d2bd0f HHH-10015 - Oracle Dialect override Dialect#canCreateSchema() to return false 2015-08-05 14:21:25 +01:00
Andrea Boriero a45261ed4c HHH-9990 - Fix test failure 2015-08-05 13:36:44 +01:00
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Andrea Boriero d905246c6a HHH-9990 - Add tests 2015-08-05 11:27:18 +01:00
Janario Oliveira 7ccbd46932 HHH-9534 - Exception with custom EnumType and Map relation 2015-08-04 21:50:59 -05:00
Steve Ebersole 3192e1db92 HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 21:11:18 -05:00
Daniel Gredler 8c8e729b3d Test for HHH-8615 (no fix). 2015-08-04 20:03:09 -05:00
Steve Ebersole d99fb4f5dc HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 19:42:57 -05:00
Steve Ebersole 1d61210826 HHH-9850 - Primary key generated for nullable column in sequence table 2015-08-04 17:00:46 -05:00
Steve Ebersole 54a3bb244a HHH-10014 - Adjust default for hibernate.auto_quote_keyword to false 2015-08-04 16:59:08 -05:00
Steve Ebersole 45dd596c4f HHH-9869 - SizeExpression toString is misleading 2015-08-04 15:58:32 -05:00
Peter ad704a194e HHH-9869 - fix the order in which SizeExpression.toString() emits size and property so that the toString of a SizeExpression is logically correct 2015-08-04 15:57:20 -05:00
Steve Ebersole dd0547efdc HHH-10013 - Adjust default for hibernate.id.new_generator_mappings to true - checkstyle 2015-08-04 15:26:48 -05:00
Steve Ebersole b3a8453064 HHH-10014 - Adjust default for hibernate.auto_quote_keyword to false 2015-08-04 15:13:47 -05:00
Steve Ebersole f8b523f3de HHH-10013 - Adjust default for hibernate.id.new_generator_mappings to true 2015-08-04 15:06:24 -05:00
Steve Ebersole 41836726e1 HHH-9936 - Same Sequence is created and dropped multiple times 2015-08-04 11:49:15 -05:00
Steve Ebersole 4f725332af HHH-9998 - Continue documentation TLC - mapping basic-types 2015-08-02 14:07:26 -05:00
Steve Ebersole 7a67f39e38 HHH-9998 - Continue documentation TLC - mapping compositions & collections 2015-08-01 13:49:56 -05:00
Andrea Boriero 9d22ed62ed HHH-9865 - Fix incorrect column information generated using schemaExport 2015-08-01 00:06:30 +01:00
Steve Ebersole 02002169ef HHH-9882 - many to one declarations in hbm without embed-xml="false" generate warning 2015-07-31 16:32:51 -05:00
Steve Ebersole fa14d4fb70 HHH-9917 - 'value' is not a reserved word on Derby 2015-07-31 15:44:06 -05:00
Steve Ebersole 067e892767 HHH-9936 - Same Sequence is created and dropped multiple times 2015-07-31 15:43:00 -05:00
Steve Ebersole 923ecb8e2c HHH-9961 - Ejb3JoinColumn does not use PhysicalNamingStrategy 2015-07-31 12:52:01 -05:00
Emmanuel Bernard 6318160da8 Minor visibility relaxation in AbstractEntityPersister for OGM 2015-07-29 17:11:45 +02:00
barreiro 417baffa13 HHH-9938 - bytecode enhancer - field access enhancement feature 2015-07-29 09:26:26 -05:00
barreiro 6d77ac39c5 HHH-9937 - bytecode enhancement - expose loaded state in LazyAttributeLoader 2015-07-29 09:12:02 -05:00
Gail Badner 4f72f17623 HHH-9937 : Hibernate#isPropertyInitialized always returns true for new enhancer (test case only) 2015-07-29 09:08:20 -05:00
barreiro 716e954f49 HHH-9985 - bytecode enhancer - fix merge use case for composites 2015-07-29 09:01:13 -05:00
barreiro f759c152e2 HHH-9985 - bytecode enhancer - fix merge use case 2015-07-29 09:01:13 -05:00
Steve Ebersole 463decd245 HHH-9959 - Upgrade Hibernate Validator to 5.2.0.Final 2015-07-29 08:56:59 -05:00
Steve Ebersole ff565fddb0 HHH-9986 - Fix reference manual inconsistencies for 5.0 2015-07-29 08:47:10 -05:00
Steve Ebersole 16c0a1f144 HHH-9976 - JdbcResourceLocalTransactionCoordinatorImpl does not rollback on failure during #commit 2015-07-28 18:16:47 -05:00
Steve Ebersole 3d1a39f80d HHH-9976 - JdbcResourceLocalTransactionCoordinatorImpl does not rollback on failure during #beforeCompletionCallback 2015-07-28 15:54:26 -05:00
Andrea Boriero 98d5e943ea HHH-1872 - Fix Hibernate should handle hbm.auto = update with views 2015-07-28 18:39:46 +01:00
Radim Vansa 4fd7680191 HHH-9977 Consider options for passing Session to caching SPI calls
* Passing SessionImplementor to all the calls executed in transactional context
2015-07-28 17:56:55 +01:00
Steve Ebersole 7990630ae4 HHH-9986 - Fix reference manual inconsistencies for 5.0;
HHH-9987 - HikariCPConnectionProvider TLC
2015-07-27 17:08:21 -05:00
Andrea Boriero 09b3410db3 HHH-9967 - Add test for issue 2015-07-27 16:21:20 +01:00
Andrea Boriero 3658480642 HHH-9967 - Fix failure Create index on Postgres with --defaultSchemaName 2015-07-27 16:20:59 +01:00
Andrea Boriero 930a0f7075 HHH-9918 - Test requires Dialect to support identity key generation 2015-07-27 11:22:56 +01:00
Steve Ebersole c154d7edf7 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-25 10:14:27 -05:00
Gail Badner c00d4609ef HHH-5255 : Merge detached entity failed when the instrumented lazy property is initialized 2015-07-24 19:04:00 -07:00
Andrei Ivanov 3d21604602 Test for HHH-5255
(cherry picked from commit e0347f81e8)
2015-07-24 13:18:14 -07:00
Steve Ebersole 539465915b HHH-9966 - Improve schema tooling support for creating catalogs and schemas 2015-07-24 12:54:02 -05:00
Steve Ebersole 33b00de3c0 HHH-9913 - NPE in org.hibernate.cache.internal.CacheDataDescriptionImpl.decode() 2015-07-24 12:32:31 -05:00
Andrea Boriero d885f249d9 HHH-9966 - Improve schema tooling support for creating catalogs and schemas 2015-07-24 16:20:49 +01:00
Steve Ebersole e98f220b08 HHH-9980 - Implement mark-for-rollback-only handling for JdbcResourceLocalTransactionCoordinatorImpl 2015-07-24 09:58:48 -05:00
Steve Ebersole 7556a22c2f HHH-9980 - Implement mark-for-rollback-only handling for JdbcResourceLocalTransactionCoordinatorImpl 2015-07-24 09:50:02 -05:00
Hynek Svabek f429a8cb28 HHH-9915 - test fail on Oracle (long identifier name) 2015-07-24 15:29:19 +01:00
Hynek Svabek 021c80b5a0 HHH-9953 fix identifier is too long on OracleDB - ComponentNotNullTest 2015-07-24 15:29:19 +01:00
Hynek Svabek 6c0141786b HHH9968 -fix identifier is too long on Oracle DB - irrelevantInstantEntity 2015-07-24 15:29:19 +01:00
Steve Ebersole 5ec711fa1a HHH-9923 - Avoid cast to MetadataBuildingOptionsImpl in AnnotationMetadataSourceProcessorImpl#prepare() 2015-07-24 07:22:34 -05:00
Steve Ebersole f34c69cf11 HHH-9927 - Explicit calls to EntityManager.joinTransaction() with no active JTA transaction should throw a TransactionRequiredException 2015-07-23 14:47:48 -05:00
Steve Ebersole eaf562b129 HHH-9923 - Avoid cast to MetadataBuildingOptionsImpl in AnnotationMetadataSourceProcessorImpl#prepare() 2015-07-23 13:01:54 -05:00
Steve Ebersole 37cc060b45 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-23 12:25:40 -05:00
Steve Ebersole 11c76129bd HHH-9969 - MySQLDialect handling of numeric cast targets is incorrect 2015-07-23 10:28:43 -05:00
Steve Ebersole ff4774ad7e HHH-9974 - Rename org.hibernate.boot.model.relational.Schema to Namespace 2015-07-23 09:37:30 -05:00
Gail Badner 333e40465c HHH-9970 : Remove NoIdentityHQLScrollFetchTest and change HQLScrollFetchTest to work with "increment" ID generator 2015-07-22 18:47:52 -07:00
Steve Ebersole e678a5b8cf HHH-9955 - EnumType mapped via hbm.xml not always resolved properly as far as named/ordinal 2015-07-22 11:57:19 -05:00
Gail Badner 6bb8d03595 HHH-9637 : Join is reused when 2 explicit joins are used for the same ToOne association 2015-07-21 17:06:50 -07:00
Steve Ebersole ce54660cdb HHH-9910 - Schema migration (update) problems with catalog/schema restrictions
yes, in oracle
2015-07-21 18:31:09 -05:00
Steve Ebersole 6af89449f2 HHH-9956 - Enable derby database profile 2015-07-21 12:09:59 -05:00
Steve Ebersole 805600dd34 HHH-9956 - Enable derby database profile 2015-07-21 12:01:39 -05:00
Steve Ebersole b24ba54d38 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-20 12:06:34 -05:00
Emmanuel Bernard 4a2512e099 Minor JavaDoc improvement to clarify that class is no longer used 2015-07-20 18:44:10 +02:00
Steve Ebersole 855956135e HHH-9948 - SequenceStyleGenerator uses potentially incorrect name for table/sequence in DML statements 2015-07-19 09:00:41 -05:00
Steve Ebersole 3584d59c9e HHH-9949 - Recognize legacy http://hibernate.sourceforge.net/hibernate-configuration DTD base identifier 2015-07-19 08:28:34 -05:00
Steve Ebersole cfd5414321 HHH-9948 - SequenceStyleGenerator uses potentially incorrect name for table/sequence in DML statements 2015-07-18 17:44:11 -05:00
Steve Ebersole 7bc37fd2f3 HHH-9948 - SequenceStyleGenerators uses potentially incorrect name for table/sequence in DML statements 2015-07-18 17:22:57 -05:00
Steve Ebersole d7b1afeed7 HHH-9947 - PhysicalNamingStrategy#toPhysicalTableName called rather than #toPhysicalColumnName for some columns 2015-07-18 17:22:26 -05:00
Steve Ebersole 837e9913c1 HHH-9949 - Recognize legacy http://hibernate.sourceforge.net/hibernate-configuration DTD base identifier 2015-07-18 17:18:36 -05:00
Steve Ebersole ee2099ff8a HHH-9945 - Allow Transaction to rollback if marked-for-rollback-only 2015-07-18 13:28:08 -05:00
Steve Ebersole f0f852f14f HHH-9931 - Enable pgsql database profile 2015-07-17 09:33:41 -05:00
Steve Ebersole bebfce7902 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-17 09:33:41 -05:00
Emmanuel Bernard 1ade555321 Clarify that LEGACY is the default value for batch size style 2015-07-17 14:46:31 +02:00
Gunnar Morling e4781feb74 HHH-9244 Using collection owner name in exception message 2015-07-16 10:05:57 +02:00
Gunnar Morling 5e894c993b HHH-9926 Properly applying auto-quoting setting 2015-07-16 07:13:06 +02:00
Andrea Boriero ddac360d7a HHH-9907 - Close loadCtClassFromClass() InputStream 2015-07-13 10:46:18 +01:00
barreiro 57f9836e2a HHH-9907 - bytecode enhancer - fix resource path on windows 2015-07-09 06:05:20 +01:00
Steve Ebersole c44afee6dc HHH-9905 - JPA integration property "javax.persistence.validation.factory" not passed along to TypeSafeActivator 2015-07-08 11:02:02 -05:00
Steve Ebersole 02026dec78 HHH-3949 - Intrumentated to one relations can not be join fetched 2015-07-07 13:48:35 -05:00
Andrea Boriero 0e9a839ca1 HHH-9899 : Fix checkstyle errors 2015-07-07 16:39:40 +01:00
Gunnar Morling 710e1f0288 HHH-9899 Enable integrators to plug in custom MetadataBuilder and Metadata 2015-07-07 10:52:59 +02:00
Steve Ebersole 83f4d4b81d HHH-8558 - Bytecode enhancer: lazy loading support - checkstyle fix 2015-07-06 17:00:31 -05:00
Steve Ebersole ae070f32c9 HHH-9822 - Switch runtime JPA Class transformation to use new bytecode Enhancer 2015-07-06 16:28:28 -05:00
barreiro 9352546006 HHH-8558 - Bytecode enhancer: skip creation of proxy factory 2015-07-06 13:34:32 -05:00
barreiro 8053fa7698 HHH-8558 - Bytecode enhancer: fix classloading issues on testsuite 2015-07-06 13:34:32 -05:00
barreiro d5ed3a87c4 HHH-8559 - Bytecode enhancemer: add test for HHH-3949
Conflicts:
	hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java
2015-07-06 13:34:31 -05:00
barreiro 44a02e5efc HHH-8558 - Bytecode enhancer: testsuite reorganization with added lazy loading tests 2015-07-06 13:34:31 -05:00
barreiro c6fa2b1df1 HHH-8558 - Bytecode enhancer: lazy loading support 2015-07-06 13:34:31 -05:00
Steve Ebersole 750d6fb090 HHH-9857 - Reuse of EntityEntry for bytecode enhanced read-only reference cached entities 2015-07-06 13:24:57 -05:00
John O'Hara 3a515b5d39 HHH-9857 - Reuse of EntityEntry for bytecode enhanced read-only reference cached entities 2015-07-06 13:24:57 -05:00
Andrea Boriero d29b55a31a HHH-9849 - Fix Duplicate column name for mixed case column name on schema update 2015-07-06 17:53:20 +01:00
Andrea Boriero 9024ff55d6 HHH-9849 - Add test for issue 2015-07-06 17:53:20 +01:00
Radim Vansa 2f1b67b03f HHH-9843 Use optimized cache key implementation in Infinispan 2LC
* When multi-tenancy is not used, entity's @Id can be used as key to the cache
* Added Type to CacheDataDescription (in SPI), later used for container key equivalence
* Introduced CacheKeysFactory to SPI
* Pending puts cache is now per region - this is necessary as we need to use custom key equivalence
2015-07-06 11:40:17 -05:00
Steve Ebersole 8e2d1a12ae HHH-9166 handle nested exceptions with TemplatedViolatedConstraintNameExtracte - fixed bad braces 2015-07-06 11:09:03 -05:00
Steve Ebersole 9b5bb9751c HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 15:47:08 -05:00
Steve Ebersole 0d6393a8b1 HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 02:50:12 -05:00
Gail Badner abd0461d34 HHH-8172 : @Embedded object containing a null attribute cannot be used as a query parameter (test case) 2015-07-01 21:32:56 -07:00
Radim Vansa e5f4b616d4 HHH-9840 Checkstyle fixes 2015-07-01 23:19:46 +01:00
Radim Vansa cffe71aeba HHH-9840 Change all kinds of CacheKey contract to a raw Object
* Replaced all CacheKey with Object
* Because of statistics, added unwrap operation to all AccessStrategies
2015-07-01 23:14:13 +01:00
Sanne Grinovero 16ae00a53a HHH-9840 Allow 2nd level cache implementations to customize the various key implementations 2015-07-01 20:42:51 +01:00
Sanne Grinovero 9ac0a343ac HHH-9840 Refactor org.hibernate.cache.spi.CacheKey into an interface 2015-07-01 20:42:51 +01:00
Sanne Grinovero ea82d09101 HHH-9885 The default ClassLoaderService implementation should handle java.lang.LinkageError 2015-07-01 15:06:40 +01:00
Brett Meyer 11ae0f72c8 HHH-9166 handle nested exceptions with TemplatedViolatedConstraintNameExtracter 2015-06-26 15:19:20 -04:00
Gail Badner d0d0963c18 HHH-2851 : ParameterTranslationsImpl fails to correctly determine parameter type 2015-06-17 15:41:19 -07:00
Gail Badner 1ec7688782 HHH-9862 : Multiple TREAT operators does not work properly for joined inheritance (test case) 2015-06-15 12:54:29 -07:00
Andrea Boriero 066e13cbb5 HHH-9866 - Fix Wrong join table column names generation with globally_quoted_identifiers 2015-06-14 15:52:43 +01:00
Andrea Boriero 5049c15c0b HHH-9866 - Add test for issue 2015-06-14 13:35:49 +01:00
Gail Badner 5eb4c0bdc5 HHH-9518 : Add tests for new warnings 2015-06-11 15:47:53 -07:00
Gail Badner f4f04901e2 HHH-9518 : Exception handling around collection session access needs to be improved 2015-06-11 11:58:06 -07:00
Steve Ebersole b272080645 HHH-9859 - ResourceLocalTransactionCoordinatorImpl#isJoined bad impl 2015-06-09 15:25:56 -05:00
Steve Ebersole 0ea03fd9a4 HHH-9856 - EntityManager.find() and getReference() throw incorrect exception for non-entity 2015-06-08 18:04:56 -05:00
Steve Ebersole 2b89553db5 HHH-9855 - Ignore non-entity classes listed as "managed classes" in persistence.xml 2015-06-08 14:24:14 -05:00
Gail Badner d0b429dc32 HHH-9851 : Limit handling is broken for dialects that don't support variable limit/offset 2015-06-05 14:13:29 -07:00
Steve Ebersole 30b260f14f HHH-9848 - Allow disabling auto-quoting of database object names (tables, columns, etc) 2015-06-05 13:43:10 -05:00
Steve Ebersole 5b1da92498 HHH-9838 - Leverage ClassLoaderService during JavassistLazyInitializer#getProxyFactory 2015-06-05 13:04:37 -05:00
Yann Diorcet c543cdbc07 DDL typo fix: Add only one space before unique keyword 2015-06-05 00:29:26 -04:00
Steve Ebersole 9e063ffa25 HHH-9837 - Remove reliance during annotation binding on org.hibernate.internal.util.ClassLoaderHelper
HHH-9841 - Redesign org.hibernate.property.PropertyAccessorFactory
2015-06-04 14:12:17 -05:00
Gail Badner 53a8b18ca8 HHH-9844 : org.hibernate.cache.spi.access.AccessType enum names are not valid values for hibernate.cache.default_cache_concurrency_strategy 2015-06-03 13:59:14 -07:00
Steve Ebersole 7fba0a00e9 HHH-9823 - org.hibernate.cfg.annotations.SimpleValueBinder#fillSimpleValue incorrectly using HCANN classloading directly 2015-05-27 15:33:12 -05:00
Gail Badner 4e2f7aeae4 HHH-9777 : Copy tests from AbstractDereferencedCollectionTest into subclasses 2015-05-27 18:09:10 +01:00
Gail Badner 93f56ecf5d HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (test case changes only)
2015-05-27 18:09:10 +01:00
Gail Badner e07eef3db1 HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (mark test as FailureExpected due to partial fix)
2015-05-27 18:09:10 +01:00
Gail Badner 82cdc82a48 HHH-9777 : Dereferenced collections are not processed properly (test cases) 2015-05-27 18:09:09 +01:00
barreiro 58fd078e50 HHH-9811 - Enforce uniqueness on EntityPersister#resolveAttributeIndexes 2015-05-27 12:07:19 -05:00
barreiro f795dfc2bc HHH-9811 - Change EntityPersister#resolveAttributeIndexes to take String[] 2015-05-27 12:07:19 -05:00
Steve Ebersole 5514aea2b4 HHH-9629 - l2 cache key constructed wrong for entity with inheritance when fetching lazy property 2015-05-27 11:52:40 -05:00
Steve Ebersole a51f300253 HHH-9820 - Handle JDBC drivers that do not properly report metadata regarding case of identifiers 2015-05-27 11:52:40 -05:00
Andrea Boriero d58ef6950c HHH-9287 - Fix Pooled optimizer identifiers clash with INSERT rows calling sequence directly 2015-05-27 16:31:13 +01:00
Andrea Boriero fff9a16a22 HHH-9798 - Fix Unique constraint of @JoinColumn in @JoinTable not generated 2015-05-27 16:00:41 +01:00
Andrea Boriero fdd7fb8080 HHH-9798 - Add test for Unique constraint of @JoinColumn in @JoinTable not generated 2015-05-27 16:00:40 +01:00
Steve Ebersole 905c79c65e HHH-9788 - SchemaUpdate and quoted identifiers causes tables/columns to not be found based on name search 2015-05-26 16:08:27 -05:00
Svein bb2833bafc HHH-8854 Resolve any TypeVariables to Class or ParameterizedType when
creating AttributeConverterDefinition
2015-05-21 11:49:56 -05:00
Svein b5845138e6 HHH-8854 Create AttributeConverterDefinition even if AttributeConverter
is only implemented via superclass or interface
2015-05-21 11:49:56 -05:00
Steve Ebersole acea523607 HHH-9806 - Bytecode-enhancement-based dirty tracking does not work because PersistentAttributeInterceptor is never injected 2015-05-20 11:44:31 -05:00
Steve Ebersole 14fc8859fe HHH-9745 - ClassCastException in hbm2ddl update and validate 2015-05-19 22:04:20 -05:00
Andrea Boriero 6d0549b448 HHH-9772 - Add @Retention( RUNTIME) so ListIndexBase annotation is available to AnnotationBinder 2015-05-19 19:18:20 +01:00
Andrea Boriero 8368f93e0c HHH-9803 - Fix compilation erorr: ackage instead of package 2015-05-19 12:24:24 +01:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Steve Ebersole d5951c6e02 HHH-9803 - Checkstyle fix ups 2015-05-18 21:49:44 -05:00
Steve Ebersole 5f36892a10 HHH-9803 - Checkstyle fix ups 2015-05-18 14:34:48 -05:00
Steve Ebersole 611f8a0e1c HHH-9803 - Checkstyle fix ups 2015-05-18 13:35:27 -05:00
Steve Ebersole bbfacee64d HHH-9803 - Checkstyle fix ups 2015-05-18 01:48:39 -05:00
Steve Ebersole 7308e14fed HHH-9803 - Checkstyle fix ups 2015-05-15 18:07:07 -05:00
Andrea Boriero e4e76ba23b HHH-9765 - Re-introduce ExceptionMapper, ManagedFlushChecker and AfterCompletionAction 2015-05-15 14:50:44 -05:00
Steve Ebersole 2827a59f2d HHH-9788 - Schema generation re-triggered where it should not be 2015-05-15 13:46:58 -05:00
Steve Ebersole 329e85b0b0 HHH-9797 - Inaccurate warnings logged about duplicate joins (HHH000072) 2015-05-14 11:52:56 -05:00
Steve Ebersole b605c3534e HHH-9790 - Remove deprecated methods from Session and SessionFactory 2015-05-13 11:55:02 -05:00
Steve Ebersole b8f43a8c12 HHH-9795 - Create delegating base class for SessionFactory(Implementor) implementations 2015-05-13 11:01:24 -05:00
Steve Ebersole 13736ab5da HHH-9790 - Remove deprecated methods from Session and SessionFactory 2015-05-13 09:03:44 -05:00
Steve Ebersole 48cafb2664 HHH-8804 - Ability to use parametrized type as AttributeConverter type parameter 2015-05-12 23:34:27 -05:00
Svein 99e1250e4e HHH-8804 AttributeConverterDefinition now extracts the raw class from
parameterized type arguments to AttributeConverter
2015-05-12 23:34:27 -05:00
Steve Ebersole 23794bf294 HHH-9792 - Clean up missed Configuration methods 2015-05-12 23:09:58 -05:00
Steve Ebersole 288f490418 HHH-9761 - Make native APIs typed;
HHH-9790 - Remove deprecated methods from Session and SessionFactory
2015-05-12 22:56:37 -05:00
Andrea Boriero dc0f77a236 Fix JdbcCoordinatorImpl impl of TransactionCoordinatorOwner#isActive() 2015-05-12 16:09:02 -05:00
Sanne Grinovero f3247cf3dd HHH-8898 Apply the auto-closeable also to StatelessSession and HibernateIterator 2015-05-12 14:17:26 +01:00
Sanne Grinovero d7bf58e318 HHH-8898 Change the ScrollableResults API to enable auto-closeable when running on Java7 2015-05-12 13:51:27 +01:00
Sanne Grinovero 4d70a29e58 HHH-8898 Change the SessionFactory API to enable auto-closeable when running on Java7 2015-05-12 13:51:27 +01:00
Sanne Grinovero 7c006f7fcd HHH-8898 Change the Session API to enable auto-closeable when running on Java7 2015-05-12 13:51:27 +01:00
Steve Ebersole 1b468d06a3 HHH-9699 - Re-work the hibernate-osgi integration tests using managed Karaf 2015-05-08 15:31:51 -05:00
Steve Ebersole 88a6e4ba27 HHH-9760 - TransactionImpl itself should not be throwing new TransactionExceptions 2015-05-08 13:08:01 -05:00
Steve Ebersole 21abf08452 HHH-9756 - NPE in JtaTransactionCoordinatorImpl#explicitJoin() after previously executed transaction 2015-05-07 14:59:25 -05:00
barreiro 165f037bad HHH-8489 - bytecode enhancement: bi-directional associtation management
Closes #933
2015-05-07 13:10:58 -05:00
Gunnar Morling 7346533259 HHH-9697 Making AbstractDelegatingSessionFactoryBuilder a self-referential generic type so implementations can use co-variant return types in builder methods 2015-05-05 18:02:35 -05:00
Steve Ebersole da1fcbbfb7 HHH-9762 - Complete deprecation of Settings contract 2015-05-05 18:00:37 -05:00
Steve Ebersole 9bfd65e370 HHH-9768 - Maintain explicit list of ANSI SQL keywords 2015-05-01 14:29:17 -05:00
Steve Ebersole dd314f492d HHH-9768 - Maintain explicit list of ANSI SQL keywords 2015-05-01 14:08:33 -05:00
Steve Ebersole 5c88ccec5c HHH-9768 - Maintain explicit list of ANSI SQL keywords 2015-05-01 10:50:29 -05:00
Gail Badner 7569355ad8 HHH-9737 : Back out of change that quoted ANSI keyword in hibernate-core 2015-04-30 17:18:02 -07:00
Gail Badner bc58df9a78 HHH-9758 : Broken SQL generated for dynamic batch fetching entities with a composite ID 2015-04-29 21:48:12 -07:00
Gail Badner 4431f094c8 HHH-9736 : BigIntegerType should use BigIntTypeDescriptor 2015-04-28 16:11:35 -07:00
Gail Badner 720202058c HHH-9736 : BigIntegerType should use BigIntTypeDescriptor 2015-04-28 16:01:36 -07:00
Gail Badner 829709f60e HHH-9753 : Remove ClassicAvgFunction, ClassicCountFunction, ClassicSumFunction 2015-04-28 14:18:41 -07:00
Steve Ebersole 7715fccd04 HHH-9697 - Complete documentation of new approach and APIs for SessionFactory building 2015-04-27 13:26:28 -05:00
Steve Ebersole 148159fadc HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 13:34:42 -05:00
Andrea Boriero b476094d43 HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 10:58:08 -05:00
Karel Maesen 0c0a5e2af0 HHH-6510 Added SQL Server 2008 support.
Converts SQL Server convertor integration tests to proper unit tests.
2015-04-24 05:55:52 -05:00
Karel Maesen 812da6e7cd HHH-6510 : Initial commit.
Source code copied from Hibernate Spatial 1.1.1-SNAPSHOT.
Root package is now org.hibernate.spatial (instead of org.hibernatespatial)
GeometryType replaces GeometryUserType.
SpatialDialects remap SpatialSqlTypeDescriptors.
Hibernate Spatial registers GeometryType in Integrator (temporary fix: see HHH-6507).
2015-04-24 05:55:52 -05:00
Steve Ebersole ae43670290 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used 2015-04-23 15:21:27 -05:00
Steve Ebersole 52589379e1 HHH-9732 - Audit code for spots that would benefit from a case-insensitive keyed Map 2015-04-22 13:17:21 -05:00
Steve Ebersole 3c85127f82 HHH-9716 - Previously working schema creation fails on 5.0 2015-04-22 11:09:51 -05:00
John O'Hara 3e5a8b6603 HHH-9701 - Develop "immutable EntityEntry" impl 2015-04-22 13:24:02 +01:00
Gail Badner 5269bcbeeb HHH-9737 : Miscellaneous bugs in unit tests when using non-default dialects
(cherry picked from commit a6969ceb0a)
2015-04-21 12:28:16 -07:00
Steve Ebersole d2c50f16f2 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-21 13:49:06 -05:00
Steve Ebersole e8af41637f HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-21 11:56:06 -05:00
Gail Badner df8cc6d4be HHH-9250 : BigIntegerSequenceGeneratorTest.testBasics fails on MS SQL Server 2012
(cherry picked from commit 49fed0938e)
2015-04-20 17:47:17 -07:00
Steve Ebersole 4541f7b501 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-20 15:21:37 -05:00
Steve Ebersole bf3669a7de HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-20 12:18:34 -05:00
Steve Ebersole 0993d78e97 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used 2015-04-17 16:36:39 -05:00
Steve Ebersole 06b6135a11 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used - initial work 2015-04-17 16:25:40 -05:00
Brett Meyer 7ca12c7d80 HHH-9722 cleanup, removed StringHelper methods 2015-04-17 15:53:24 -04:00
10urshin 1361925bc7 HHH-9722
Changed all toLowerCase() and toUpperCase() to toLowerCase(Locale.ROOT),
toUpperCase(Locale.ROOT).
2015-04-17 15:53:24 -04:00
Steve Ebersole f77b861137 HHH-9716 - Previously working schema creation fails on 5.0 2015-04-17 11:05:39 -05:00
Steve Ebersole b6ae9edb4e HHH-9716 - Previously working schema creation fails on 5.0 2015-04-17 11:02:13 -05:00
Steve Ebersole 76d732d53a HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-16 14:19:11 -05:00
Steve Ebersole b1bbae2783 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-16 09:02:28 -05:00
Steve Ebersole 2c968538a5 HHH-9728 - Audit Settings to decide what should become a SessionFactoryServiceRegistry service 2015-04-16 00:59:10 -05:00
Steve Ebersole 83f83c57dc HHH-9726 - Rename MetadataBuilderContributor to MetadataBuilderInitializer and pass it the StandardServiceRegistry 2015-04-15 11:44:49 -05:00
Steve Ebersole 650267077d HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-10 11:58:22 -05:00
Steve Ebersole 6e7357beeb HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-09 11:36:04 -05:00
Steve Ebersole 9786409096 HHH-9550 - Allow a dialect to specify the level of catalog/schema support 2015-04-07 14:31:41 -05:00
Steve Ebersole a96385a6e0 HHH-9713 - Creating an index in the database incorrectly tries to qualify the index with table name for some databases 2015-04-06 13:47:48 -05:00
Steve Ebersole b7273d93a2 HHH-9704 - Complete HHH-8805 work on 5.0;
HHH-9709 - @ForeignKey
2015-04-02 17:14:40 -05:00
Steve Ebersole 22ca7125f7 HHH-9704 - Complete HHH-8805 work on 5.0;
HHH-9709 - JPA @ForeignKey not consistently applied from annotation binding
2015-04-02 17:02:59 -05:00
Sanne Grinovero 4c690a8839 HHH-9706 Review concurrency of ClassLoaderService and warn against reuse 2015-04-02 18:32:52 +01:00
Gail Badner 02e2644676 HHH-9370 : Unidirectional one-to-many with key that is property-ref (test case) 2015-04-01 16:13:55 -07:00
Steve Ebersole 256b2608ce HHH-9265 - Extract EntityEntry behind a factory + interface;
HHH-9700 - Make EntityEntryFactory pluggable via EntityPersister
2015-03-31 14:42:40 -05:00
John O'Hara 5c4dacb83e HHH-9265 - Extract EntityEntry behind a factory + interface 2015-03-31 13:07:06 -05:00
Brett Meyer 410a785dfe HHH-9680 updated OSGi quickstarts, added necessary contracts to Envers blueprint, corrected a few uses of ReflectionManager 2015-03-30 15:36:57 -04:00
barreiro 4def797408 [HHH-9690] reorganization of bytecode enhancer code
Enhancer class was split into 3 logical units: EntityEnhancer for regular entities; CompositeEnhancer for emmbeded entities; PersistentAttributesEnhancer to enhance the persistent fields of both types of entities
Added a few helper classes and re-worked the tests a bit as well
2015-03-27 18:24:07 -05:00
Steve Ebersole e9230758b4 HHH-9446 - ClassCastException on loaded entities under GlassFish 4.0 2015-03-27 15:13:53 -05:00
Gunnar Morling d5d066cb3d HHH-8901 Creating forwarding base classes for SessionBuilder(Implementor) and SharedSessionBuilder 2015-03-27 13:47:08 -05:00
Steve Ebersole 08f37c4502 HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) 2015-03-27 13:42:48 -05:00
Steve Ebersole d796acdbc2 HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) 2015-03-27 12:04:24 -05:00
Gunnar Morling 30240beded HHH-9689 Avoid NPE when trying to load non-existent properties resource 2015-03-27 10:12:30 -05:00
Steve Ebersole 1f50efa34c HHH-9524 - Make strategy for interpreting id-generator annotations pluggable 2015-03-26 22:54:01 -05:00
Gail Badner 64c3e4c783 HHH-8879 HHH-8994 : Embeddable with associations used as a Map key 2015-03-26 17:44:37 -07:00
Steve Ebersole 5d365cfa00 HHH-9524 - Make it pluggable how GenerationType.AUTO is mapped 2015-03-26 16:18:40 -05:00
Steve Ebersole 3b9b2eaa91 HHH-9668 - Document new SessionFactory approach and APIs 2015-03-26 12:28:29 -05:00
Steve Ebersole 599c10cd5a HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) 2015-03-26 09:57:49 -05:00
Steve Ebersole a92ddea9ca HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) - Gunnar's feedback 2015-03-26 00:25:52 -05:00
Steve Ebersole 9901f85f77 HHH-465 - order by nulls first / last 2015-03-25 15:37:07 -05:00
Gunnar Morling 52fabe70bc HHH-8191 Remvoing redundant semicolon 2015-03-25 16:24:54 +01:00
Steve Ebersole 117cb9cd2c Merge pull request #862 from magdalenamoeller/HHH-9556
HHH-9556 - enable query hints for SQL Server 2012
2015-03-24 23:54:57 -05:00
Steve Ebersole 4e0f2b3a7b HHH-9300 - DB2Dialect generates invalid order by clause 2015-03-24 23:49:09 -05:00
Steve Ebersole a4b5cf4597 HHH-9668 - Document new SessionFactory approach and APIs 2015-03-24 22:16:22 -05:00
Steve Ebersole 5f6d1d24f7 HHH-8844 - Add support for Java 8 date and time types (JSR-310) 2015-03-24 16:01:15 -05:00
Steve Ebersole 3e73948dae HHH-7375 - TimeZone of Calendar objects should be used in binding to JDBC statements 2015-03-23 21:02:45 -05:00
Steve Ebersole 04a4f54579 HHH-8191 - Update Teradata Dialect for Teradata 14.0 2015-03-23 14:54:24 -05:00
Steve Ebersole f6322b5cdd HHH-9678 - Change built-in SqlTypeDescriptor impls to not auto-register themselves with SqlTypeDescriptorRegistry 2015-03-23 11:20:01 -05:00
Brett Meyer 715544febe HHH-8191 cleanup 2015-03-21 23:15:10 -04:00
Dave Repshas 027840018b HHH-8191 Support Teradata 14.0 2015-03-21 23:06:06 -04:00
Steve Ebersole 27e8aae279 HHH-8697 - AttributeConverter not called when value is null;
HHH-9320 - AttributeConverter result ignored on extraction when ResultSet.wasNull
2015-03-21 15:54:56 -05:00
Steve Ebersole 7a1c155099 HHH-9577 - Make UUID generation the default (AUTO) for UUID type;
HHH-9562 - Dialect specific UUID handling
2015-03-21 14:45:44 -05:00
Andrej Golovnin a381e368eb HHH-9336 Avoid creation of TypedValue objects in
AbstractPersistentCollection#getOrphans(Collection, Collection,
String, SessionImplementor) for some ID types.
2015-03-20 17:17:43 -05:00
Andrej Golovnin 4615ae1018 - HHH-9324: Avoids creation of LimitHandler instances for every query. 2015-03-20 17:11:36 -05:00
Steve Ebersole 38c004431d HHH-9599 - AnnotationException occurs when applying @Nationalized and @Convert annotations to the same field 2015-03-20 16:55:29 -05:00
Steve Ebersole 8a7bc2e7c1 HHH-9605 - Query on an enum collection fails - minor changes 2015-03-20 15:39:02 -05:00
obr 001b841934 HHH-9605: fix querying a collection of enums 2015-03-20 15:39:02 -05:00
obr 2c8ded5ff3 HHH-9605: Test for querying a collection of enums 2015-03-20 15:39:02 -05:00
Steve Ebersole f45b37da8e HHH-9495 - @Convert support for collections 2015-03-20 15:08:49 -05:00
Gail Badner 8284b9ae2c HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs 2015-03-20 12:40:20 -07:00
Steve Ebersole 22730624fc HHH-9042 - Envers fails with @Converter and AttributeConverter 2015-03-20 11:17:48 -05:00
Gail Badner 180e714b7c HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join 2015-03-19 21:58:30 -07:00
Steve Ebersole 93cf72bfa1 HHH-9490 - Migrate from dom4j to jaxb for XML processing 2015-03-19 19:22:35 -05:00
Steve Ebersole bd8acaebca HHH-8866 - HQL Query with enum and @Convert 2015-03-19 19:19:03 -05:00
Steve Ebersole ffce4ffc2c HHH-9490 - Migrate from dom4j to jaxb for XML processing - hibernate-osgi 2015-03-19 14:20:00 -05:00
Steve Ebersole 80bf715f0b HHH-9490 - Migrate from dom4j to jaxb for XML processing - hibernate-osgi 2015-03-19 12:40:29 -05:00
Steve Ebersole 63a0f03c5a HHH-9654 - Adjust envers for 5.0 APIs + JAXB 2015-03-18 20:22:26 -05:00
Gunnar Morling 8468d834ef HHH-9451 Propagating entity entry extra state when using identity id generation strategy
(cherry picked from commit 4bbf4cd1db)
2015-03-13 12:56:33 -07:00
Sanne Grinovero 04e7cfce70 HHH-9659 AnnotationMetadataSourceProcessorImpl uses a Logger.debugf method without matching parameters 2015-03-13 19:09:12 +00:00
Sanne Grinovero 6eb6f38721 HHH-9658 Refactor some of the existing logging tests 2015-03-13 19:09:12 +00:00
Sanne Grinovero c067fc2b42 HHH-9658 Simplify the way tests assert on logging statements 2015-03-13 19:09:12 +00:00
Gail Badner 965e044850 HHH-9333 : TypeMismatchException when using composite-id and natural-id mappings 2015-03-12 23:40:47 -07:00
Gail Badner 6c404c30f7 HHH-9642 : Join fetch not performing join fetch for @Embeddable with @OneToMany 2015-03-11 15:58:29 -07:00
Steve Ebersole 24bafba2b0 Merge pull request #848 from golovnin/HHH-9328_newmaster
HHH-9328 Avoid creation of Cascade objects at all
2015-03-10 22:21:53 -05:00
Bradley Plies 51c7bd1523 HHH-5654 PostgreSQL Dialect will now correctly apply "for update of" for any necessary table aliases. Added test.
Signed-off-by: Bradley Plies <pliesb@yahoo.com>
2015-03-10 21:44:39 -05:00
Brett Meyer e70832d9dd HHH-9044 - Create Oracle12cDialect 2015-03-10 21:40:03 -05:00
Steve Ebersole 11095e709d HHH-9044 - Create Oracle12cDialect 2015-03-10 21:38:51 -05:00
zhouyanming 73a88ff65c HHH-9044 - Create Oracle12cDialect 2015-03-10 21:38:41 -05:00
Steve Ebersole c2f62a528b HHH-9167 - Support Postgres9.2 JSON data type 2015-03-10 21:33:05 -05:00
Brett Meyer efaa916a8e HHH-9167 - Support Postgres9.2 JSON data type 2015-03-10 21:32:05 -05:00
Mark Robinson 588d02b6c2 HHH-9167 Add support for PostgreSQL's new JSON data type
(cherry picked from commit 4a8bc1f250)
2015-03-10 21:25:54 -05:00
Steve Ebersole a0a9a4d1e8 HHH-8911 - ClassCastException between CompositeCustomType and ComponentType 2015-03-10 20:56:06 -05:00
Steve Ebersole b318d21cc8 HHH-9655 - Add logging to help better track down tests that leave SessionFactories open 2015-03-10 20:44:10 -05:00
Steve Ebersole 83756008d2 HHH-9655 - Add logging to help better track down tests that leave SessionFactories open 2015-03-10 19:36:54 -05:00
Steve Ebersole 9caca0ce37 HHH-9490 - Migrate from dom4j to jaxb for XML processing;
HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc);
HHH-7078 - Split NamingStrategy into ImplicitNamingStrategy/PhysicalNamingStrategy;
HHH-6005 - Better handling of implicit column naming with @ElementCollection of @Embeddables;
HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls
2015-03-10 16:53:51 -05:00
Etienne Miret 94ad371bf3 HHH-9247 Attribute "name" of named-attribute-node maps to "value" of annotation. 2015-03-09 12:07:48 +00:00
Etienne Miret 58e4c675d3 HHH-9247 Add test for parsing named-attribute-nodes in orm.xml. 2015-03-09 12:07:36 +00:00
Sanne Grinovero f552f6499f HHH-8788 removed unnecessary warning related to follow-on locking with Criteria and LockMode.NONE 2015-03-06 16:03:18 +00:00
Gail Badner 9337f73185 HHH-9457 : EntityGraph with order by using Oracle10gDialect 2015-02-20 17:32:41 -08:00
Gail Badner 0215008851 HHH-9621 : Add HQL query to warning about positional parameter usage 2015-02-18 11:30:50 -08:00
Gail Badner 36cc2c836c HHH-9597 : Criteria creates invalid column aliases 2015-02-12 13:38:09 -08:00
Gail Badner c9df7589f2 HHH-9597 : Criteria creates invalid column aliases (test case) 2015-02-12 13:23:27 -08:00
Gail Badner 264b0be40e HHH-9523 : EnumeratedTypeTest - select from dual causes test failures on mssql, postgresql, db2 and sybase 2015-01-21 16:53:11 -08:00
Gail Badner f1a9a9f006 HHH-9091 : Collection deleted due to orphan removal fails with constraint violation 2015-01-21 00:37:55 -08:00
Brett Meyer 2d64e539aa HHH-8494 cleanup 2015-01-20 10:46:29 -05:00
hernan be08e94aa5 HHH-8494: Misleading log info during batch execution.
* Added a boolean variable to indicate if during addToBatch method the
batchSize is reached and there is more than one batch execution.
* The logging about performing a batch execution is moved to
performExecution method.
* The logging indicating that there is no statement to execute in batch
is performed only if there was no previous batching execution.
2015-01-20 10:45:23 -05:00
Gail Badner d933c78185 HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade (reverts HHH-9330) 2015-01-14 15:06:53 -08:00
Arcadiy Ivanov 5047f6fcc6 HHH-9419 : Remove after get with optimistic lock fails
(cherry picked from commit c80a8c442a)
2015-01-06 00:09:44 -08:00
Gail Badner cf728ede66 HHH-9401 : SQL warnings are never logged due to incorrect condition check
(cherry picked from commit a98ebc4ed4)
2015-01-05 23:07:55 -08:00
Gail Badner 4bf3b162ad HHH-9467 : Cannot enable NamingStrategyDelegator implementations using standalone schema tools 2015-01-05 12:05:19 -08:00
magdalena bbaeaa6c58 enable query hints for SQL Server 2012 2015-01-03 13:38:29 +01:00
George Gastaldi 1b9cd19ca7 HHH-9545: H2Dialect should use 'if exists' when dropping constraints 2014-12-19 11:47:38 +00:00
George Gastaldi 7854bc6769 HHH-9500: H2Dialect shoud not drop constraints
The constraints are automatically dropped when the table is also dropped.
Trying to drop a constraint on a table that doesn't exist present unnecessary error messages.
2014-12-18 11:46:04 +00:00
Gail Badner 493808ddc1 HHH-8401 : Unit test fixes
(cherry picked from commit 45511f10ae)
2014-12-17 23:32:43 -08:00
George Gastaldi 60d4fe5001 HHH-6670: H2Dialect should use "if exists" when dropping sequences 2014-12-17 16:08:40 +00:00
Gail Badner fa8383a22e HHH-8401 : Support fractional seconds on MySQL 5.7
(cherry picked from commit fe94cda1d1)
2014-12-16 21:18:14 -08:00
Gail Badner c068b6f70c HHH-9091 : Cascaded collection delete fails due to wrong execution sequence (test case)
(cherry picked from commit 3b57f1612d)
2014-12-02 22:08:29 -08:00
Andrej Golovnin fb15ee548c HHH-9328 Avoids creation of Cascade objects at all
by converting all methods of the Cascade class into
static methods.
2014-11-27 20:43:44 +01:00
Gail Badner 2105f2a49d HHH-9330 : Test cases for orphanRemoval=true does not work in bidirectional relationships (without cascading)
(cherry picked from commit 1ff9edfb81)
2014-11-26 16:13:49 -08:00
Gail Badner 68838823bd HHH-9330 : orphanRemoval=true does not work in bidirectional relationships (without cascading)
(cherry picked from commit ef3550eed5)
2014-11-26 16:13:49 -08:00
Sanne Grinovero fa90757f04 HHH-9508 Improve trace logging in ActionQueue 2014-11-18 11:53:33 +00:00
Sanne Grinovero 498214b569 HHH-9508 Avoid source syntax which doesn't work in Eclipse 2014-11-18 11:53:29 +00:00
Gunnar Morling 9a881907f5 HHH-9479 Avoiding array list growth in ActionQueue constructor 2014-11-11 14:51:30 +01:00
Steve Ebersole c7f58ab57e HHH-9488 - Move scanning from HEM to core 2014-11-07 15:36:44 -06:00
Steve Ebersole d9fc06b7db HHH-9487 - Improve AvailableSettings javadoc for session_factory_name / session_factory_name_is_jndi 2014-11-07 11:01:18 -06:00
Steve Ebersole aac8afa090 HHH-9476 - bytecode-enhanced lazy to-one does not force selection of foreign-key column(s) when association is fetched 2014-11-07 09:14:21 -06:00
Steve Ebersole 66ce8b7fb5 HHH-9466 - Drop metamodel package from source 2014-10-30 07:43:55 -05:00
Gail Badner b943525c80 HHH-9388 : fix Entity Manager bug explicitly enabling ImprovedNamingStrategyDelegator/LegacyNamingStrategyDelegator 2014-10-22 13:46:15 -07:00
Gail Badner 460e966214 HHH-9455 : Unnecessary select count query in some cases
(cherry picked from commit 552c1c06d5)
2014-10-21 13:45:37 -07:00
Gail Badner 52f2c3a002 HHH-9388 HHH-7079 : Default collection table and foreign key names are incorrect in some cases; deprecate NamingStrategy
(cherry picked from commit e5a31caa09)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
	hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/MyNamingStrategyDelegator.java
2014-10-20 22:55:40 -07:00
Gail Badner 1cba98022e HHH-9388 HHH-7079 : Default collection table and foreign key names are incorrect in some cases; deprecate NamingStrategy
(cherry picked from commit 36576046b8)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java
	hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
	hibernate-core/src/main/java/org/hibernate/cfg/Mappings.java
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/IdentifierGeneratorResolver.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/AvailableSettings.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
2014-10-20 22:18:05 -07:00
jmoore c60c97b468 HHH-3868 Fix null pointer exception on merge of entity with transient component 2014-10-17 15:01:35 +01:00
Maxim Frolov 83f29d1e1a HHH-8895: fixed 2014-09-30 15:40:40 +01:00
Andrea Boriero d85f2c8d03 HHH-8895 Add test 2014-09-30 15:40:40 +01:00
andreas fff49977ab HHH-9369 Fix @Formula of enum type results in ClassCastException 2014-09-18 11:15:16 +01:00
Sanne Grinovero 193c8cef20 HHH-9344 Convert QueryLoader to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:56 +01:00
Sanne Grinovero 16b067cd7d HHH-9344 Convert Loader to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:56 +01:00
Sanne Grinovero 0d1460cc1e HHH-9344 Convert QueryTranslatorImpl to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:55 +01:00
Sanne Grinovero 23936fd510 HHH-9344 Convert DefaultResolveNaturalIdEventListener to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:55 +01:00
Sanne Grinovero 067e38a78b HHH-9344 Remove dead code from BatchTest 2014-09-17 14:27:55 +01:00
Sanne Grinovero 42cd3ff2cf HHH-9344 Guard against unneeded invocation to System.currentTimeMillis() in HQLQueryPlan 2014-09-17 14:27:55 +01:00
Gail Badner d4d5fcc9e2 HHH-9390 : Default join column name (FK) for @ManyToMany uses owning entity primary table name (test cases) 2014-09-11 12:52:52 -07:00
Gail Badner f2ae61abf6 HHH-9387 HHH-9389 : Default collection table and join column names generated for @ElementCollection (test cases)
HHH-9387 HHH-9389 : Default collection join column names generated for @ElementCollection (test cases)
2014-09-11 12:51:18 -07:00
Gail Badner c63bc19d8a HHH-9327 : NamingStrategy regression (reverts HHH-9280)
(cherry picked from commit 30c6e060db)
2014-09-10 13:22:29 -07:00
Christian Beikov 4505843f02 Added regression test for HHH-9327
(cherry picked from commit 3da903f064)
(cherry picked from commit 1df6c45f8a)
2014-09-10 13:22:07 -07:00
Gail Badner 35edd56907 HHH-8839 : Eager Map with entity key causes IllegalStateException: Collection element (many-to-many) table alias cannot be empty 2014-08-18 14:00:02 -07:00
Gail Badner 153c4e32ef HHH-9090 : HQL parser is trying to reuse parent implied join for subquery 2014-08-12 16:11:54 -07:00
Steve Ebersole 72e9645d4b HHH-9312 - Database connection leak with JTA transaction tracking and background thread not releasing database connection
(cherry picked from commit 9e1afbaf49)
2014-08-04 13:35:08 -05:00
Gail Badner a0663f0d6c HHH-9305 : HQL FromElement is not reused in some cases resulting in an additional join 2014-07-29 17:10:21 -07:00
Brent Plump d511980072 HHH-9290 : Do not truncate HT_ temporary table name prefix on Oracle 2014-07-28 09:12:11 -04:00
Sanne Grinovero 32403f3ac3 HHH-9288 Restore removed method ServiceRegistryBuilder#buildServiceRegistry used by Tools 2014-07-14 15:57:03 +01:00
Gail Badner 25575d2e7d HHH-9282 : Revert HHH-9222 on 4.3 branch 2014-07-09 22:28:54 -07:00
Gail Badner 365bfe99d8 HHH-8310 : Lob proxy class loading problem 2014-07-09 19:31:50 -07:00
Gail Badner 4007655045 HHH-5811 : Flush causes update query on field of type Byte[] 2014-07-09 17:11:09 -07:00
Gail Badner ccffe0dea9 HHH-9280 : Table name generated for @ElementCollection uses owning entity class name instead of mapped entity name 2014-07-09 15:08:31 -07:00
Steve Ebersole ee0cf672d7 HHH-6005 - DefaultComponentSafeNamingStrategy breaks @ElementCollection of @Embeddables - testcase 2014-07-09 14:06:14 -05:00
Gunnar Morling 953260e0ae HHH-8683 Adapting unit test to changed deserialize() method in 4.3 2014-07-09 16:48:53 +02:00
Gunnar Morling b95b8514d8 HHH-8683 Making EnumState a parameterized class, thus allowing to access its value more safely 2014-07-09 15:29:19 +01:00
Gunnar Morling 4a38b25ec1 HHH-8683 Caching enum constants to avoid memory allocation by repeated calls to getEnumConstants() 2014-07-09 15:29:19 +01:00
Gunnar Morling 5ad2663d12 HHH-8683 Adding test for setting/getting attributes in compressed state int 2014-07-09 15:29:19 +01:00
Emmanuel Bernard dedd24afc2 HHH-8683 Class org.hibernate.engine.spi.EntityEntry consumes lots of memory 2014-07-09 15:29:15 +01:00
Gunnar Morling d84c6b35aa HHH-8237 Applying type configured via @ColumnMapping#type() for constructor results 2014-07-09 10:44:51 +02:00
Gunnar Morling 14c00abd6a HHH-8237 Applying type configured via @ColumnMapping#type() for scalar results 2014-07-09 10:44:51 +02:00
Gail Badner 4851ab01df HHH-9231 : Avoid updating collection 2LC if contains entity added in tx 2014-07-07 19:03:58 -07:00
Galder Zamarreño 36e35207f6 HHH-9231 Avoid updating collection 2LC if contains entity added in tx
(cherry picked from commit 3b098a94d3463086a230d6dbc1254e9ecbf76cda)

Conflicts:
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/BasicTransactionalTestCase.java
2014-07-07 19:03:58 -07:00
Gail Badner 31bcb0ea0a HHH-9106 : Merging multiple representations of the same entity (logging) 2014-07-03 11:46:56 -07:00
Gail Badner 368cdc1966 HHH-9106 : Merging multiple representations of the same entity (tests using StrategySelector) 2014-07-03 11:21:26 -07:00
Gail Badner 6203b5da30 HHH-9106 : Merging multiple representations of the same entity (using StrategySelector) 2014-07-02 14:50:26 -07:00
Emmanuel Bernard ceaf2e320f HHH-9269 Store persister to ReferenceCacheEntryImpl to avoid costly lookup at read time 2014-07-02 11:40:58 +02:00
Sanne Grinovero 3b284d797a HHH-9268 The NoopOptimizer used for default id generation doesn't need synchronization 2014-07-02 00:51:52 +02:00
Steve Ebersole 4780f117c5 HHH-9090 - HQL: parser is trying to reuse parent implied join for subquery
(cherry picked from commit 133f0825a3)
2014-06-23 11:06:22 -05:00
Gail Badner 3a8041953d HHH-9106 : (corrected test case to work on MySQL) 2014-06-19 00:32:00 -07:00
Gail Badner ea5068ea76 HHH-9234 : Test failure (testNaturalIdChangedWhileAttached) on SAP/SYBASE ASE
(cherry picked from commit 257efd1025)
2014-06-18 17:15:11 -07:00
Gail Badner 10e4ff5afb HHH-9106 : Merging multiple representations of the same entity (improved logging)
(cherry picked from commit fed3191eb7)
2014-06-17 12:37:19 -07:00
Gail Badner 2daaf9a196 HHH-9106 : Merging multiple representations of the same entity 2014-06-12 20:04:44 -07:00
Gail Badner c7c5b015c1 HHH-9239 HHH-9240 : FailureExpected test cases when merging entity copies with dirty collections 2014-06-12 14:50:45 -07:00
Gail Badner 70532259fa HHH-9106 : Merging multiple representations of the same entity merged 2014-06-12 01:46:23 -07:00
Brett Meyer e520c1c2c0 HHH-9215 HHH-9214 HHH-9213 correcting Sybase test failures 2014-05-30 14:49:22 -04:00
Brett Meyer a39eeed257 HHH-9202 NPE in OneToOneLinkTest on oracle12c 2014-05-27 21:52:32 -04:00
Steve Ebersole d36b3a3e97 HHH-9222 - Bulk delete and element collections 2014-05-27 15:43:24 -05:00
Gail Badner 420296fd26 HHH-9204 HHH-9205 : Restore AbstractCollectionPersister.doProcessQueuedOps() removed by HHH-9078; deprecate method added by HHH-9078 2014-05-27 13:00:19 -07:00
Gail Badner f549b88831 HHH-9171 : Orphan removal does not happen for new entity element 2014-05-27 12:19:04 -07:00
Brett Meyer 4ea068f2e9 HHH-8818 TcclSafeAggregatedClassLoader 2014-05-27 10:24:32 -04:00
Brett Meyer ab8dd7966a HHH-9145 simplified JDBC check 2014-05-23 17:53:34 -04:00
begmandev 3c776321db HHH-9145 Use JDBC Wrapper API for type checks 2014-05-23 17:53:31 -04:00
Lukasz Antoniak 64a27ccada HHH-9203 - ConcurrentNaturalIdCacheStatisticsImpl#getEntries() fails
with ClassCastException

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
2014-05-23 17:53:29 -04:00
Lukasz Antoniak 478e2e26eb HHH-9201 - Evict cache instead of remove after transaction completion 2014-05-23 17:53:27 -04:00
Brett Meyer f4fe4108a9 HHH-8941 simplified the dialect function 2014-05-23 17:53:19 -04:00
dodgex d7347c3f48 [HHH-8941] add SQLFunctionTemplate for replace() to FirebirdDialect
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/FirebirdDialect.java
2014-05-23 17:52:35 -04:00
Steve Ebersole d3f75ea0d9 HHH-9138 - CastFunctionTest failing on most databases
(cherry picked from commit c012c4d8de)
2014-05-22 11:03:51 -05:00
Steve Ebersole 14053b5928 HHH-9190 : consolidate contracts
(cherry picked from commit fbe72e7b64)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/query/spi/ParameterMetadataRecognizerInitiator.java
2014-05-22 09:49:34 -05:00
Gunnar Morling ac06799a55 HHH-9190 Introducing QueryPlanFactory service contract in order to make creation of native query plans customizable 2014-05-21 09:24:02 -05:00
Gunnar Morling ccdf6df3d6 HHH-9190 Introducing ParameterMetadataRecognizer contract in order to make retrieval fo parameter meta-data for native queries customizable 2014-05-21 09:24:02 -05:00
Lukasz Antoniak 07bc5ce877 HHH-9200 - Natural id cache statistics are not cleared 2014-05-19 13:57:18 -04:00
Steve Ebersole fdf2ae3df5 HHH-9154 - keywords as parameter names
gah... missed in initial commit for cherry-pick
2014-05-15 09:24:37 -05:00