Steve Ebersole
fa891a3d36
HHH-9495 - @Convert support for collections - adjust test for 4.3
2015-03-20 15:17:10 -05:00
Steve Ebersole
cedcdae4e7
HHH-9495 - @Convert support for collections
...
(cherry picked from commit f45b37da8e
)
Conflicts:
hibernate-core/src/main/java/org/hibernate/cfg/CollectionPropertyHolder.java
2015-03-20 15:17:10 -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
Steve Ebersole
5b08a506f0
HHH-8866 - HQL Query with enum and @Convert
...
(cherry picked from commit bd8acaebca
)
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/type/AttributeConverterTest.java
2015-03-19 22:51:23 -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
Gunnar Morling
4bbf4cd1db
HHH-9451 Propagating entity entry extra state when using identity id generation strategy
2015-03-13 12:04:51 +01:00
Gail Badner
7a247e114e
HHH-9333 : TypeMismatchException when using composite-id and natural-id mappings
...
(cherry picked from commit 965e044850
)
2015-03-12 23:41:44 -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
Steve Ebersole
a337150f0d
HHH-8911 - ClassCastException between CompositeCustomType and ComponentType
...
(cherry picked from commit a0a9a4d1e8
)
2015-03-11 22:05:29 -07:00
Etienne Miret
7d6989edcc
HHH-9247 Attribute "name" of named-attribute-node maps to "value" of annotation.
2015-03-09 11:45:27 +00:00
Etienne Miret
d791dcbb41
HHH-9247 Add test for parsing named-attribute-nodes in orm.xml.
2015-03-09 11:45:17 +00:00
Sanne Grinovero
cd9eeb295f
HHH-8788 removed unnecessary warning related to follow-on locking with Criteria and LockMode.NONE
2015-03-06 15:40:39 +00:00
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
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
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
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
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
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
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
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
Gunnar Morling
b938fa2f93
HHH-9479 Avoiding array list growth in ActionQueue constructor
2014-11-06 10:47:34 +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
Maxim Frolov
83f29d1e1a
HHH-8895: fixed
2014-09-30 15:40:40 +01:00
Andrea Boriero
d85f2c8d03
HHH-8895 Add test
2014-09-30 15:40:40 +01:00
andreas
fff49977ab
HHH-9369 Fix @Formula of enum type results in ClassCastException
2014-09-18 11:15:16 +01:00
Sanne Grinovero
193c8cef20
HHH-9344 Convert QueryLoader to use nanoTime instead of currentTimeMillis
2014-09-17 14:27:56 +01:00
Sanne Grinovero
16b067cd7d
HHH-9344 Convert Loader to use nanoTime instead of currentTimeMillis
2014-09-17 14:27:56 +01:00
Sanne Grinovero
0d1460cc1e
HHH-9344 Convert QueryTranslatorImpl to use nanoTime instead of currentTimeMillis
2014-09-17 14:27:55 +01:00
Sanne Grinovero
23936fd510
HHH-9344 Convert DefaultResolveNaturalIdEventListener to use nanoTime instead of currentTimeMillis
2014-09-17 14:27:55 +01:00
Sanne Grinovero
067e38a78b
HHH-9344 Remove dead code from BatchTest
2014-09-17 14:27:55 +01:00
Sanne Grinovero
42cd3ff2cf
HHH-9344 Guard against unneeded invocation to System.currentTimeMillis() in HQLQueryPlan
2014-09-17 14:27:55 +01:00
Gail Badner
d4d5fcc9e2
HHH-9390 : Default join column name (FK) for @ManyToMany uses owning entity primary table name (test cases)
2014-09-11 12:52:52 -07:00
Gail Badner
f2ae61abf6
HHH-9387 HHH-9389 : Default collection table and join column names generated for @ElementCollection (test cases)
...
HHH-9387 HHH-9389 : Default collection join column names generated for @ElementCollection (test cases)
2014-09-11 12:51:18 -07:00
Gail Badner
c63bc19d8a
HHH-9327 : NamingStrategy regression (reverts HHH-9280)
...
(cherry picked from commit 30c6e060db
)
2014-09-10 13:22:29 -07:00
Christian Beikov
4505843f02
Added regression test for HHH-9327
...
(cherry picked from commit 3da903f064
)
(cherry picked from commit 1df6c45f8a
)
2014-09-10 13:22:07 -07:00
Gail Badner
35edd56907
HHH-8839 : Eager Map with entity key causes IllegalStateException: Collection element (many-to-many) table alias cannot be empty
2014-08-18 14:00:02 -07:00
Gail Badner
153c4e32ef
HHH-9090 : HQL parser is trying to reuse parent implied join for subquery
2014-08-12 16:11:54 -07:00
Steve Ebersole
72e9645d4b
HHH-9312 - Database connection leak with JTA transaction tracking and background thread not releasing database connection
...
(cherry picked from commit 9e1afbaf49
)
2014-08-04 13:35:08 -05:00
Gail Badner
a0663f0d6c
HHH-9305 : HQL FromElement is not reused in some cases resulting in an additional join
2014-07-29 17:10:21 -07:00
Brent Plump
d511980072
HHH-9290 : Do not truncate HT_ temporary table name prefix on Oracle
2014-07-28 09:12:11 -04:00
Sanne Grinovero
32403f3ac3
HHH-9288 Restore removed method ServiceRegistryBuilder#buildServiceRegistry used by Tools
2014-07-14 15:57:03 +01:00
Gail Badner
25575d2e7d
HHH-9282 : Revert HHH-9222 on 4.3 branch
2014-07-09 22:28:54 -07:00
Gail Badner
365bfe99d8
HHH-8310 : Lob proxy class loading problem
2014-07-09 19:31:50 -07:00
Gail Badner
4007655045
HHH-5811 : Flush causes update query on field of type Byte[]
2014-07-09 17:11:09 -07:00
Gail Badner
ccffe0dea9
HHH-9280 : Table name generated for @ElementCollection uses owning entity class name instead of mapped entity name
2014-07-09 15:08:31 -07:00
Steve Ebersole
ee0cf672d7
HHH-6005 - DefaultComponentSafeNamingStrategy breaks @ElementCollection of @Embeddables - testcase
2014-07-09 14:06:14 -05:00
Gunnar Morling
953260e0ae
HHH-8683 Adapting unit test to changed deserialize() method in 4.3
2014-07-09 16:48:53 +02:00
Gunnar Morling
b95b8514d8
HHH-8683 Making EnumState a parameterized class, thus allowing to access its value more safely
2014-07-09 15:29:19 +01:00
Gunnar Morling
4a38b25ec1
HHH-8683 Caching enum constants to avoid memory allocation by repeated calls to getEnumConstants()
2014-07-09 15:29:19 +01:00
Gunnar Morling
5ad2663d12
HHH-8683 Adding test for setting/getting attributes in compressed state int
2014-07-09 15:29:19 +01:00
Emmanuel Bernard
dedd24afc2
HHH-8683 Class org.hibernate.engine.spi.EntityEntry consumes lots of memory
2014-07-09 15:29:15 +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
4851ab01df
HHH-9231 : Avoid updating collection 2LC if contains entity added in tx
2014-07-07 19:03:58 -07:00
Galder Zamarreño
36e35207f6
HHH-9231 Avoid updating collection 2LC if contains entity added in tx
...
(cherry picked from commit 3b098a94d3463086a230d6dbc1254e9ecbf76cda)
Conflicts:
hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/functional/BasicTransactionalTestCase.java
2014-07-07 19:03:58 -07: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
Emmanuel Bernard
ceaf2e320f
HHH-9269 Store persister to ReferenceCacheEntryImpl to avoid costly lookup at read time
2014-07-02 11:40:58 +02:00
Sanne Grinovero
3b284d797a
HHH-9268 The NoopOptimizer used for default id generation doesn't need synchronization
2014-07-02 00:51:52 +02:00
Steve Ebersole
4780f117c5
HHH-9090 - HQL: parser is trying to reuse parent implied join for subquery
...
(cherry picked from commit 133f0825a3
)
2014-06-23 11:06:22 -05:00
Gail Badner
3a8041953d
HHH-9106 : (corrected test case to work on MySQL)
2014-06-19 00:32:00 -07:00
Gail Badner
ea5068ea76
HHH-9234 : Test failure (testNaturalIdChangedWhileAttached) on SAP/SYBASE ASE
...
(cherry picked from commit 257efd1025
)
2014-06-18 17:15:11 -07:00
Gail Badner
10e4ff5afb
HHH-9106 : Merging multiple representations of the same entity (improved logging)
...
(cherry picked from commit fed3191eb7
)
2014-06-17 12:37:19 -07:00
Gail Badner
2daaf9a196
HHH-9106 : Merging multiple representations of the same entity
2014-06-12 20:04:44 -07:00
Gail Badner
c7c5b015c1
HHH-9239 HHH-9240 : FailureExpected test cases when merging entity copies with dirty collections
2014-06-12 14:50:45 -07:00
Gail Badner
70532259fa
HHH-9106 : Merging multiple representations of the same entity merged
2014-06-12 01:46:23 -07:00
Brett Meyer
e520c1c2c0
HHH-9215 HHH-9214 HHH-9213 correcting Sybase test failures
2014-05-30 14:49:22 -04:00
Brett Meyer
a39eeed257
HHH-9202 NPE in OneToOneLinkTest on oracle12c
2014-05-27 21:52:32 -04:00
Steve Ebersole
d36b3a3e97
HHH-9222 - Bulk delete and element collections
2014-05-27 15:43:24 -05:00
Gail Badner
420296fd26
HHH-9204 HHH-9205 : Restore AbstractCollectionPersister.doProcessQueuedOps() removed by HHH-9078; deprecate method added by HHH-9078
2014-05-27 13:00:19 -07:00
Gail Badner
f549b88831
HHH-9171 : Orphan removal does not happen for new entity element
2014-05-27 12:19:04 -07:00
Brett Meyer
4ea068f2e9
HHH-8818 TcclSafeAggregatedClassLoader
2014-05-27 10:24:32 -04:00
Brett Meyer
ab8dd7966a
HHH-9145 simplified JDBC check
2014-05-23 17:53:34 -04:00
begmandev
3c776321db
HHH-9145 Use JDBC Wrapper API for type checks
2014-05-23 17:53:31 -04:00
Lukasz Antoniak
64a27ccada
HHH-9203 - ConcurrentNaturalIdCacheStatisticsImpl#getEntries() fails
...
with ClassCastException
Conflicts:
hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
2014-05-23 17:53:29 -04:00
Lukasz Antoniak
478e2e26eb
HHH-9201 - Evict cache instead of remove after transaction completion
2014-05-23 17:53:27 -04:00
Brett Meyer
f4fe4108a9
HHH-8941 simplified the dialect function
2014-05-23 17:53:19 -04:00
dodgex
d7347c3f48
[HHH-8941] add SQLFunctionTemplate for replace() to FirebirdDialect
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/dialect/FirebirdDialect.java
2014-05-23 17:52:35 -04:00
Steve Ebersole
d3f75ea0d9
HHH-9138 - CastFunctionTest failing on most databases
...
(cherry picked from commit c012c4d8de
)
2014-05-22 11:03:51 -05:00