Commit Graph

580 Commits

Author SHA1 Message Date
Gail Badner a6969ceb0a HHH-9737 : Miscellaneous bugs in unit tests when using non-default dialects 2015-04-21 12:12:59 -07:00
10urshin 8db83f5221 HHH-9722
Changed all toLowerCase() and toUpperCase() to toLowerCase(Locale.ROOT),
toUpperCase(Locale.ROOT).

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
	hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/XmlElementMetadata.java
	hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/AttributeTypeDescriptor.java
	hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/Oracle9iDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/pagination/FirstLimitHandler.java
	hibernate-core/src/main/java/org/hibernate/dialect/pagination/TopLimitHandler.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/ExtractedDatabaseMetaDataImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentImpl.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/NormalizingIdentifierHelperImpl.java
	hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaValidatorImpl.java
	hibernate-core/src/test/java/org/hibernate/dialect/SQLServer2005DialectTestCase.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/namingstrategy/NamingStrategyTest.java
	hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/internal/IlikeAuditExpression.java
2015-04-17 15:03:54 -04:00
Gail Badner 792ef3559e HHH-9446 : ClassCastException on loaded entities under GlassFish 4.0 2015-04-09 14:34:41 -07:00
obr 782dfb6cd7 HHH-9605: JPA Criteria Test for querying a collection of enums
(cherry picked from commit c271e03bcc)
2015-03-20 15:40:32 -05:00
Gail Badner 33e490e6b9 HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs
(cherry picked from commit 8284b9ae2c)
2015-03-20 12:54:05 -07:00
Gail Badner 9a7740002f HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs (test case)
(cherry picked from commit 8e758fcd6b)
2015-03-20 12:53:43 -07:00
Gail Badner 0403ee78af HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join
(cherry picked from commit 180e714b7c)
2015-03-19 22:09:59 -07:00
Gail Badner 181faee517 HHH-9549 : Selecting treated root generates invalid HQL (added tests)
(cherry picked from commit 8a42f8a8ae)
2015-03-13 17:03:18 -07:00
Gail Badner 7b40799948 HHH-9642 : Join fetch not performing join fetch for @Embeddable with @OneToMany
(cherry picked from commit 6c404c30f7)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/annotations/embedded/EmbeddedTest.java
2015-03-12 12:30:54 -07:00
Gail Badner 27ac1dbbe4 HHH-9457 : EntityGraph with order by using Oracle10gDialect
(cherry picked from commit 9337f73185)
2015-02-20 17:41:12 -08:00
Gail Badner 9091497bce HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join (test case)
(cherry picked from commit 47294034e7)
2015-02-18 13:24:16 -08:00
Gail Badner 8e84c7d896 HHH-9091 : Collection deleted due to orphan removal fails with constraint violation
(cherry picked from commit f1a9a9f006)
2015-01-21 00:39:11 -08:00
Gail Badner 9cc4e0ea2f HHH-9573 : Add EntityManager test case illustrating usage of query cache
(cherry picked from commit 3cc8cb3113)
2015-01-16 15:14:00 -08:00
Gail Badner e4715cc50b HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade (reverts HHH-9330)
(cherry picked from commit d933c78185)
2015-01-14 15:12:10 -08:00
Gail Badner 62bfc2781b HHH-9568 : Move test case from CascadeTest to OneToOneOrphanTest
(cherry picked from commit 083e8cf52e)
2015-01-14 15:12:09 -08:00
Martin Simka f8c36baa77 HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade (test case)
(cherry picked from commit 6b42604139)
(cherry picked from commit 9969f9330f)
2015-01-14 15:12:09 -08:00
Emond Papegaaij 53bc5336ba HHH-9549 : Selecting treated root generates invalid HQL
(cherry picked from commit 5e3868f58b)
(cherry picked from commit 4283f1ac48)
2015-01-06 21:34:39 -08:00
Emond Papegaaij 859fe300c7 HHH-9549 : Selecting treated root generates invalid HQL (test case)
(cherry picked from commit ea57113e81)
(cherry picked from commit bf3130cd1c)
2015-01-06 21:34:22 -08:00
Arcadiy Ivanov f5150198de HHH-9419 : Remove after get with optimistic lock fails
(cherry picked from commit 3ee73a88b5)
2015-01-06 00:23:17 -08:00
Gail Badner 1ff9edfb81 HHH-9330 : Test cases for orphanRemoval=true does not work in bidirectional relationships (without cascading) 2014-11-26 15:35:22 -08: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