Commit Graph

638 Commits

Author SHA1 Message Date
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
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
Gail Badner 055b0cacae HHH-9106 : Merging multiple representations of the same entity (entitymanager test cases) 2014-06-13 16:01:39 -07:00
Gail Badner 2daaf9a196 HHH-9106 : Merging multiple representations of the same entity 2014-06-12 20:04:44 -07:00
Gail Badner 70532259fa HHH-9106 : Merging multiple representations of the same entity merged 2014-06-12 01:46:23 -07:00
Dimitris Mandalidis 1fc74feada HHH-8885 MapJoin.key() produces unusable Path object 2014-05-27 13:14:53 -04:00
Jocki Hendry e541ab02df HHH-9080 - Can't add attribute node declared in superclass (inheritance) in EntityGraph 2014-04-21 09:04:11 -04:00
Julien Fourment 69c9950b39 HHH-9093 - Fixed typo in error message when no implicit selection could
be found
2014-04-21 08:55:21 -04:00
Steve Ebersole bbd2f1ae5b HHH-4700 - ClassCastException with parameter in CaseNode.getFirstThenNode()
(cherry picked from commit efa5dc2f6c)
2014-04-03 13:07:15 -05:00
Steve Ebersole 76526ab3e4 HHH-6747 - ClassCastException when rendering SimpleCaseExpression 2014-04-02 14:44:44 -05:00
Brett Meyer 18b4b55d0a HHH-9092 QueryBuilderTest.testMultiselectWithPredicates failing on
most databases
2014-03-31 10:29:32 -04:00
Steve Ebersole 4bb7966102 HHH-9073 - TREAT downcasting and result restrictions 2014-03-26 13:20:19 -05:00
Scott Marlow 4a9057f31c HHH-9073 - TREAT downcasting and result restrictions 2014-03-26 13:20:19 -05:00
Guillaume Smet 1c0841180d HHH-9067 Make HibernatePersistenceProvider easier to extend
The ultimate goal is to be able to instantiate easily an HibernatePersistenceProvider
with a Spring managed interceptor.
2014-03-20 22:33:10 -05:00
Brett Meyer 24a8b63b40 HHH-8914 double negation broken on JPA criteria 2014-01-30 13:31:56 -05:00
Brett Meyer 99e6883d1c HHH-8903 bi-directional fetches in entity graphs 2014-01-28 16:44:05 -05:00
Christian Bauer d28b3fe9db HHH-8903 Inverse @OneToMany ignored in entity graph 2014-01-28 16:44:03 -05:00
Brett Meyer b9e2e6935c HHH-8404 test case 2014-01-20 17:29:39 -05:00
Benjamin Tegarden 4ac4ed23db HHH-8404: Correctly render 'ListIndexExpression' 2014-01-20 17:29:39 -05:00
Brett Meyer 7c69c7fb95 HHH-8855 HHH-8640 corrected EntityGraph loadplan strategy, support inheritance in SubGraphs 2014-01-16 01:05:01 -05:00
Brett Meyer cd964a9aca HHH-8855 corrected EntityGraph loadplan strategy, testcase cleanup 2014-01-14 19:40:22 -05:00
Christian Bauer aff694bf41 HHH-8855 Failing test for multiple @ManyToOnes load graph 2014-01-14 19:40:20 -05:00
Steve Ebersole 151719b764 HHH-8812 - JPAOverriddenAnnotationReader and @Convert annotations
(cherry picked from commit 56e6db38fc)
2014-01-14 18:30:28 -06:00
Brett Meyer 78a62acc2d HHH-5289 remove unnecessary security checks in property accessors 2014-01-10 16:06:50 -05:00
Steve Ebersole 7bd5ef0fd9 HHH-8735 - Do not log deprecation warning from org.hibernate.ejb.HibernatePersistence#getProviderUtil
(cherry picked from commit 945463e3fe)
2014-01-10 14:31:00 -06:00
Steve Ebersole 458b2dc772 HHH-8842 - Hibernate can't handle JodaTime Converters result (possible bug)
(cherry picked from commit 6fb5a899bd)
2014-01-10 09:37:26 -06:00
Steve Ebersole 5620744c53 HHH-8809 - Support @Converter on Enumerations
(cherry picked from commit dd08640725)
2014-01-09 14:06:52 -06:00
Steve Ebersole 37255e688a HHH-8807 - Wrong type mapped when using AttributeConverter
(cherry picked from commit 20d813f457)
2014-01-09 14:06:52 -06:00
Brett Meyer 4fc9c70b0c HHH-8821 corrected failing test 2014-01-09 14:41:07 -05:00
Brett Meyer a76a7e9b42 HHH-8756 cleanup 2014-01-09 14:26:29 -05:00
Rune Steinseth f4f5264cd2 HHH-8756 test cases for non select queries when lock mode is set to NONE 2014-01-09 14:21:58 -05:00
Rune Steinseth a32b5dfa74 HHH-8756 relaxed validation on non select queries when lock mode is set to NONE 2014-01-09 14:21:51 -05:00
Brett Meyer e3040599f1 HHH-8821 Scanning for META-INF/orm.xml does not work on Windows in jpa
mode
2014-01-09 13:50:33 -05:00
Lukasz Antoniak 26f19d0b4c HHH-8699 - Multiselect with boolean predicate 2014-01-08 17:46:56 -05:00
Gail Badner c9bc9e7512 HHH-8750 : Move load plan implementations from spi to internal 2013-12-03 15:52:51 -08:00
Steve Ebersole 49ff975f7d HHH-8733 - General build cleanup 2013-12-02 22:11:00 -06:00
Steve Ebersole 055a750a53 HHH-8733 - General build cleanup 2013-12-02 20:57:57 -06:00
Lukasz Antoniak 8d67d64fc2 HHH-8701 - Fix JPQL TYPE operator test 2013-12-02 12:51:45 -05:00
Brett Meyer e0d6cdc0f7 HHH-8760 improve EntityGraph JPQL query hint test 2013-12-02 12:43:45 -05:00
Steve Ebersole 14d0116af2 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit bc2855b323.
2013-11-26 17:48:25 -06:00
Steve Ebersole bc2855b323 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 13:53:18 -06:00
Steve Ebersole d1023821b1 HHH-8733 - General build cleanup 2013-11-26 13:04:55 -05:00
Brett Meyer f24e470181 HHH-8341 JtaTransaction logs excessive HHH000426 warning 2013-11-25 13:35:25 -05:00
Steve Ebersole 8fe5460ec0 HHH-8741 - More checkstyle cleanups 2013-11-24 20:07:37 -06:00
Steve Ebersole 3a2c9f83e6 HHH-8741 - More checkstyle cleanups 2013-11-24 17:20:23 -06:00
Steve Ebersole 77c85353ab HHH-8741 - More checkstyle cleanups 2013-11-24 15:29:50 -06:00
Steve Ebersole 4c91944fd9 HHH-8741 - More checkstyle cleanups 2013-11-24 15:20:45 -06:00
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06:00
Steve Ebersole 8ec17e68e7 HHH-8741 - More checkstyle cleanups 2013-11-23 00:06:06 -06:00
Steve Ebersole ffecce514e HHH-8733 - General build cleanup 2013-11-22 21:20:27 -06:00
Steve Ebersole f9aa122b5e HHH-8733 - General build cleanup 2013-11-22 19:46:05 -06:00
Steve Ebersole 9c96e23488 HHH-8739 - Tracking of JTA Synch registration thread 2013-11-22 16:28:43 -06:00
Steve Ebersole c1612fe004 HHH-8733 - General build cleanup 2013-11-22 14:53:24 -06:00
Gail Badner f679a3c783 HHH-8597 : Rename org.hibernate.loader.plan2 to org.hibernate.loader.plan 2013-11-20 02:21:31 -08:00
Gail Badner 8e2f2a9da6 HHH-8597 : Delete org.hibernate.loader.plan2 and related code 2013-11-20 01:38:46 -08:00
Steve Ebersole 67d8a53887 HHH-8700 - Update ORM modules using JPA metamodel generator to use the new module 2013-11-18 15:36:23 -06:00
Scott Marlow 246ce294a8 HHH-8688 EntityGraph should add AttributeNode's for basic NamedAttributeNode 2013-11-08 09:59:04 -05:00
Strong Liu 7de7b7c235 HHH-8688 fix org.hibernate.jpa.test.graphs.named.multiple.NamedEntityGraphsTest failure 2013-11-08 09:59:04 -05:00
Scott Marlow 17937f8d79 HHH-8688 recreated tck failure, will fail to get AttributeNode's from the graph 2013-11-08 09:59:03 -05:00
Strong Liu 99ae2a7be5 HHH-8285 Adding more tests 2013-11-08 20:59:50 +08:00
Strong Liu 90ee768f45 HHH-8285 Initial JPA 2.1 entity graph support (EntityManager.find()) 2013-11-08 20:59:50 +08:00