Commit Graph

5696 Commits

Author SHA1 Message Date
Steve Ebersole 9e84c1fa23 HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls 2015-03-05 17:17:51 -06:00
Steve Ebersole fa157745b2 HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls 2015-03-05 17:17:51 -06:00
David Pilato ef3f00ad9f buildSessionFactory() should return a sessionFactory
The example does not compile for obvious reason :)
2015-03-05 16:22:35 +00:00
Brett Meyer 7acd1ebdf1 HHH-9639 support unwrapping HikariCPConnectionProvider as DataSource 2015-03-04 23:03:07 -05: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
Kamil Szymanski ff8c75cbea HHH-9601 ordering column name fix in table schema in example 7.8 2015-02-20 11:14:31 -05:00
Kamil Szymanski 9ca003a843 HHH-9600 remove outdated info about cache concurrency strategies support 2015-02-20 11:14:29 -05: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 2e5f80bc4d HHH-9621 : Add HQL query to warning about positional parameter usage
(cherry picked from commit 0215008851)
2015-02-18 11:32:32 -08:00
Gail Badner f552e48a64 HHH-9597 : Criteria creates invalid column aliases 2015-02-12 13:45:39 -08:00
Gail Badner 2384d7a7dc HHH-9597 : Criteria creates invalid column aliases (test case) 2015-02-12 13:41:07 -08:00
Gail Badner f3a8ba6351 HHH-9468 : Add documentation about enabling NamingStrategyDelegator implementations 2015-01-28 18:44:42 -08:00
Gail Badner f07181e079 HHH-9468 : Add documentation about enabling NamingStrategyDelegator implementations 2015-01-28 02:23:47 -08:00
Gail Badner b6861d1fe8 HHH-9523 : EnumeratedTypeTest - select from dual causes test failures on mssql, postgresql, db2 and sybase
(cherry picked from commit 264b0be40e)
2015-01-21 16:54:09 -08:00
Brett Meyer 218851e6fe HHH-9528 close InputStreams in jpamodelgen JpaDescriptorParser 2015-01-21 15:55:14 -05: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
Brett Meyer b238d7b1ee HHH-8494 cleanup 2015-01-20 10:46:55 -05:00
hernan c241404262 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:46:54 -05:00
Eric Haas 7a45d89c2d HHH-9043
Added the ability to customize the modified field name for audited fields.
2015-01-19 17:12:23 -05: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
Gail Badner 982c6fc0e8 4.3.8 post release 2015-01-06 18:41:32 -08:00
Gail Badner cf350ed5c2 4.3.8.Final release 2015-01-06 12:05:57 -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
Paul Ferraro 4506987c24 HHH-9337 Region.destroy() attempts to remove a cache listener, but region class is not annotated with @Listener
(cherry picked from commit a1ba63cbc6)
2015-01-05 23:42:13 -08:00
Gail Badner a98ebc4ed4 HHH-9401 : SQL warnings are never logged due to incorrect condition check 2015-01-05 22:59:02 -08:00
Gail Badner 72b1b620a5 HHH-9467 : Cannot enable NamingStrategyDelegator implementations using standalone schema tools
(cherry picked from commit 4bf3b162ad)
2015-01-05 12:06:44 -08:00
George Gastaldi 033ea05dde HHH-9545: H2Dialect should use 'if exists' when dropping constraints 2014-12-19 11:16:20 +00:00
George Gastaldi 579675ab08 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:19:20 +00:00
Gail Badner 45511f10ae HHH-8401 : Unit test fixes 2014-12-17 23:21:51 -08:00
George Gastaldi 275f3337f2 HHH-6670: H2Dialect should use "if exists" when dropping sequences 2014-12-17 15:46:32 +00:00
Gail Badner fe94cda1d1 HHH-8401 : Support fractional seconds on MySQL 5.7 2014-12-16 21:05:01 -08:00
Gail Badner 3b57f1612d HHH-9091 : Cascaded collection delete fails due to wrong execution sequence (test case) 2014-12-02 22:06:53 -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 ef3550eed5 HHH-9330 : orphanRemoval=true does not work in bidirectional relationships (without cascading) 2014-11-26 15:25:42 -08:00
Sanne Grinovero 555e229cc2 HHH-9508 Improve trace logging in ActionQueue 2014-11-18 18:25:56 +00:00
Sanne Grinovero 3aa2b8dfec HHH-9508 Avoid source syntax which doesn't work in Eclipse 2014-11-18 18:25:49 +00:00
Sanne Grinovero 439ec92627 HHH-9498 Using C3P0 connection pool but not setting hibernate.connection.isolation results in a NumberFormatException 2014-11-15 19:05:49 +00:00
Gunnar Morling b938fa2f93 HHH-9479 Avoiding array list growth in ActionQueue constructor 2014-11-06 10:47:34 +01:00
Gail Badner 9ff134aee7 4.3.7.Final post release 2014-10-30 15:32:43 +01:00
Gail Badner 3fc0dbdf63 4.3.7.Final release 2014-10-30 13:19:07 +01: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