Commit Graph

2573 Commits

Author SHA1 Message Date
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