Commit Graph

699 Commits

Author SHA1 Message Date
Steve Ebersole 4132a4293a HHH-8847 - Exception thrown when trying to select a treated property 2015-11-09 22:41:59 -06:00
Steve Ebersole f940c72aa9 HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType 2015-11-09 22:05:47 -06:00
Steve Ebersole 7a2fbbd79a HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType 2015-11-09 22:04:10 -06:00
Steve Ebersole 2e6811f413 HHH-8802 - Class cast exception thrown when trying to access Embedded type relationship path in Tuple 2015-11-05 09:35:14 -06:00
Steve Ebersole 1a2bdd09e8 HHH-8775 - Exception when mapping a class more than once - applying tests from https://github.com/hibernate/hibernate-orm/pull/677 + fix 2015-11-04 20:32:46 -06:00
Steve Ebersole eb2f33328d HHH-9160 - javax.persistence.Query#getParameterValue(String) returns the ParameterRegistration not the parameter value 2015-10-30 12:55:16 -05:00
Steve Ebersole 287a516760 HHH-9230 - NullPointer when combining JPQL query with in clause and @NamedEntityGraph 2015-10-29 09:52:53 -05:00
Janario Oliveira 41879f6d1a HHH-5948 - Trying to get a PluralAttributePath from a @MappedSuperclass throws org.hibernate.MappingException: Unknown collection role - Changed to read path from entity (not mappedclass) as defined in CollectionBinder.bind() 2015-10-28 21:56:14 -05:00
Steve Ebersole bf41b43c16 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field" 2015-10-28 21:26:48 -05:00
Steve Ebersole dbb84be810 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field" 2015-10-28 20:44:05 -05:00
Hardy Ferentschik 25d8a66ac7 HHH-6475 - Metamodel check fails when subclasses are used 2015-10-28 13:26:06 -05:00
Réda Housni Alaoui 1677e0662b HHH-9374 EntityGraph applied to subquery when using collection function 2015-10-26 17:43:45 -05:00
Andrea Boriero 0e93d0050c HHH-10104 - Add Test 2015-10-15 10:19:57 +01:00
Steve Ebersole 7af7ebaf87 HHH-10129 - Evaluate AttributeConverter tests in hibernate-entitymanager for move to hibernate-core;
HHH-10154 - Change built-in JavaTypeDescriptor impls to not auto-register themselves with JavaTypeDescriptorRegistry
2015-09-30 12:37:49 -05:00
Andrea Boriero 14e207d692 HHH-9996 - Finish Derby database profile - SelectCaseTest#selectCaseWithValuesShouldWork() and SelectCaseTest#simpleSelectCaseWithValuesShouldWork require H2Dialect 2015-09-30 14:36:24 +01:00
Steve Ebersole eb544140a1 HHH-10121 - Have EMF#getProperties expose ValidatorFactory injected via 2-phase load 2015-09-30 00:20:35 -05:00
Andrea Boriero 8d3b2e723b HHH-9996 - Finish Derby database profile 2015-09-28 21:28:12 +01:00
Steve Ebersole 70c9c8e855 HHH-10111 - AttributeConverter based attributes are not marked for update when their state is modified 2015-09-24 17:03:53 -05:00
Andrea Boriero c5b1cf94f3 HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file 2015-09-22 18:11:43 +01:00
Steve Ebersole 39e3dbb8b6 HHH-9409 - non-auto-apply converter fails at element collection 2015-09-15 11:23:48 -05:00
Andrea Boriero 0aca04ff7a HHH-9731 : Wrap Criteria CaseStatement params in string casts 2015-09-04 12:00:38 +01:00
Andrea Boriero 9a6ecb914e HHH-9731 - Add test for issue 2015-09-03 16:03:18 +01:00
Steve Ebersole ca1c2efaf9 HHH-9954 - Equality checking should consider arrays 2015-08-31 09:25:53 -05:00
Steve Ebersole dee80ab566 HHH-10059 - Make EntityManagerFactoryBuilderImpl.populate methods protected 2015-08-31 08:09:56 -05: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
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 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Gail Badner 0b6ea757e3 HHH-7573 : Re-work test case to be similar to org.hibernate.test.instrument tests 2015-07-28 20:10:48 -07:00
Gail Badner 8653c3195e HHH-7573 : Improve fix readability and test case 2015-07-28 20:10:48 -07:00
ballm 91995cf951 HHH-7573 Added check for handle LazyPropertyInitializer.UNFETCHED_PROPERTY
Added test to check that the change handles the various possible scenarios.
Test requires build time instrumentation.

(cherry picked from commit e7475f12b0)
2015-07-28 20:10:48 -07:00
Hynek Svabek 7dbd199876 HHH-9972 - fix table names were too long on Oracle DB 2015-07-24 15:29:19 +01: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
Scott Marlow 289e59a2c0 HHH-9927 add testcase for calling EntityManager.joinTransaction() with no active JTA transaction to verify that a TransactionRequiredException is thrown 2015-07-23 13:08:02 -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 ae070f32c9 HHH-9822 - Switch runtime JPA Class transformation to use new bytecode Enhancer 2015-07-06 16:28:28 -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
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 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
barreiro f795dfc2bc HHH-9811 - Change EntityPersister#resolveAttributeIndexes to take String[] 2015-05-27 12:07:19 -05: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 cf1971b4bb HHH-9771 - Registering JPA Entity-Listeners in orm.xml doesn't work 2015-05-18 21:27:36 -05:00
Steve Ebersole 611f8a0e1c HHH-9803 - Checkstyle fix ups 2015-05-18 13:35:27 -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 ae0b5f8577 HHH-9665 - Allow EntityManagerFactoryImpl to be unwrapped only into public interfaces/classes 2015-05-14 13:33:16 -05:00
Hardy Ferentschik a2c3c74251 HHH-9665 Changing the EntityManagerFactoryImpl#unwrap method
- Introducing HibernateEntityManagerFactory to host public EntityManagerFactory extension points
- Letting EntityManagerFactoryImpl#getEntityTypeByName return EntityType instead of EntityTypeImpl
- Updating tests to use unwrap to HibernateEntityManagerFactory instead of a cast to EntityManagerFactoryImpl
2015-05-14 13:33:15 -05:00
Steve Ebersole 13736ab5da HHH-9790 - Remove deprecated methods from Session and SessionFactory 2015-05-13 09:03:44 -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
Steve Ebersole 88a6e4ba27 HHH-9760 - TransactionImpl itself should not be throwing new TransactionExceptions 2015-05-08 13:08:01 -05:00
Gail Badner 490fb1cf7b HHH-9737 : Back out of change that quoted ANSI keyword in hibernate-core 2015-05-01 11:15:57 -07: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
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 bf3669a7de HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-20 12:18:34 -05: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 650267077d HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-10 11:58:22 -05:00
Steve Ebersole c021d12ee2 HHH-9550 - Allow a dialect to specify the level of catalog/schema support 2015-04-07 16:36:13 -05: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
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
Steve Ebersole e9230758b4 HHH-9446 - ClassCastException on loaded entities under GlassFish 4.0 2015-03-27 15:13:53 -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 a4b5cf4597 HHH-9668 - Document new SessionFactory approach and APIs 2015-03-24 22:16:22 -05:00
Andrea Boriero 37b4aeb7c9 Fix javadoc for Java 8 2015-03-25 01:38:39 +00:00
obr c271e03bcc HHH-9605: JPA Criteria Test for querying a collection of enums 2015-03-20 15:39:02 -05:00
Gail Badner 8284b9ae2c HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs 2015-03-20 12:40:20 -07:00
Gail Badner 8e758fcd6b HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs (test case) 2015-03-20 12:40:20 -07: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
Gail Badner 8a42f8a8ae HHH-9549 : Selecting treated root generates invalid HQL (added tests) 2015-03-13 17:00:29 -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 6a6a7c3228 HHH-9141 - Remove deprecated PersistenceProvider from hibernate-entitymanager META-INF/services/javax.persistence.spi.PersistenceProvider 2015-03-10 20:48: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
Gail Badner 9337f73185 HHH-9457 : EntityGraph with order by using Oracle10gDialect 2015-02-20 17:32:41 -08:00
Gail Badner 47294034e7 HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join (test case) 2015-02-18 13:22:21 -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
Gail Badner 3cc8cb3113 HHH-9573 : Add EntityManager test case illustrating usage of query cache 2015-01-16 15:13:39 -08: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
Gail Badner 083e8cf52e HHH-9568 : Move test case from CascadeTest to OneToOneOrphanTest 2015-01-14 14:46:25 -08:00
Martin Simka 9969f9330f HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade (test case)
(cherry picked from commit 6b42604139)
2015-01-14 13:50:14 -08:00
Emond Papegaaij 4283f1ac48 HHH-9549 : Selecting treated root generates invalid HQL
(cherry picked from commit 5e3868f58b)
2015-01-06 21:18:01 -08:00
Emond Papegaaij bf3130cd1c HHH-9549 : Selecting treated root generates invalid HQL (test case)
(cherry picked from commit ea57113e81)
2015-01-06 21:00:39 -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 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
Steve Ebersole c7f58ab57e HHH-9488 - Move scanning from HEM to core 2014-11-07 15:36:44 -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 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
Brad Koehn b1c02c85cb HHH-9142 fixed a bug where joining to a non-class-based entity (EntityMode.MAP) would fail, added regression test. 2014-08-04 16:39:24 -04:00
Steve Ebersole 78e208d3b4 HHH-9312 - Database connection leak with JTA transaction tracking and background thread not releasing database connection 2014-08-04 15:15:46 -05:00
Henady Zakalusky 0f85e8476b HHH-8949 @QueryHint( name="javax.persistence.cache.retrieveMode", value="<valid value>") does not work 2014-08-04 15:59:50 -04:00
Sanne Grinovero 78aa10c0ba HHH-9294 move the number checking utility to a separate private utility 2014-07-18 14:25:35 +01:00
barreiro 88cb320d16 HHH-9294 Reduce throw of NumberFormatException in BaseQueryImpl 2014-07-18 13:18:42 +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 31bcb0ea0a HHH-9106 : Merging multiple representations of the same entity (logging) 2014-07-03 11:46:56 -07:00