Steve Ebersole
8e45457728
HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest
2012-05-03 11:02:41 -05:00
Steve Ebersole
070ee532f5
HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest
2012-05-03 11:02:41 -05:00
Strong Liu
2f0609819b
HHH-7198 HHH-3961
2012-05-03 17:01:49 +08:00
Guenther Demetz
76ed4d44eb
fixed testcases
2012-05-03 17:01:49 +08:00
Guenther Demetz
27f8a4bf93
HHH-7198 SQLServer2005Dialect.getLimitString turns tablenames
...
to lowercase
2012-05-03 17:01:48 +08:00
Guenther Demetz
ea4125b026
Testcases for
...
HHH-3961 SQLServerDialect, support nowait in LockMode.UPGRADE_NOWAIT
HHH-7198 SQLServer2005Dialect.getLimitString turns tablenames to
lowercase -> SQLGrammarException
2012-05-03 17:01:48 +08:00
Guenther Demetz
d81f65715b
Pull-request for HHH-3961
2012-05-03 17:01:48 +08:00
Gail Badner
4e907b6e4c
HHH-6848 : Performance Optimization of in memory merge algorithm (Wim Ockerman)
2012-05-02 20:24:09 -07:00
Gail Badner
62192827cc
HHH-6848 : Performance Optimization of in memory merge algorithm (Wim Ockerman)
2012-05-02 20:24:09 -07:00
Gail Badner
71a0698226
HHH-6848 : Performance Optimization of in memory merge algorithm (Wim Ockerman)
2012-05-02 20:24:09 -07:00
Steve Ebersole
6ca09342f8
HHH-7296 - NPE in JtaTransaction#markRollbackOnly
2012-05-02 22:26:17 -05:00
Bryan Varner
5c0d449082
Cleaned up the dialect error conversion a little bit for PostgresSQL. I was doing more than I needed to.
...
Updated the LockTest to enable another nowait test for postgresql.
2012-05-02 17:17:42 -05:00
Bryan Varner
cb1c485774
Yes, much cleaner...
2012-05-02 17:17:42 -05:00
Bryan Varner
d28cb4c39f
Added a test case for HHH-7251
2012-05-02 17:17:42 -05:00
Bryan Varner
eb66fed976
HHH-7251 PostgreSQL dialects now convert proper HibernateExceptions for Deadlock / lock timeout (not available with NOWAIT query).
2012-05-02 17:17:42 -05:00
Guenther Demetz
0bca4ab9d9
testcase for HHH-7245 (Inline natural-id synchronization doesn't
...
consider objects loaded from shared cache)
2012-05-02 16:15:24 -05:00
Guenther Demetz
94cb6b82b5
HHH-7245
2012-05-02 16:14:10 -05:00
Guenther Demetz
f5e6a44f7e
HHH-7279
2012-05-02 15:54:32 -05:00
Guenther Demetz
94341fdc44
HHH-7278 testcases
2012-05-02 15:54:32 -05:00
Guenther Demetz
bd5e97c201
HHH-7278
2012-05-02 15:54:32 -05:00
Steve Ebersole
23aa8875d8
HHH-7265 - ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion due to SynchronizationRegistryImpl.clearSynchronizations clearing SynchronizationRegistryImpl.synchronizations
2012-05-02 14:14:48 -05:00
Gail Badner
48665213ff
HHH-7265 : added SessionOwner and SessionBuilderImplementor
2012-05-02 14:14:48 -05:00
Gail Badner
3a5b231187
HHH-7265 : ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion
2012-05-02 14:14:48 -05:00
Steve Ebersole
a495479816
HHH-7239 - have session remove itself from list of transaction observers on close
2012-05-02 12:42:50 -05:00
Shawn Clowater
287c0eba88
Temporary fix until the SPIs can be reworked. Remove the transaction observer on Session close and added some checks to ensure the session is still open when the listeners fire.
2012-05-01 19:37:05 -05:00
Steve Ebersole
a2bbe3cb53
HHH-7282 - Move org.hibernate.cache.internal.Timestamper to hibernate-testing module
2012-04-27 10:51:50 -05:00
Steve Ebersole
ebe578931c
HHH-6405 - setFetchMode ignored in certain cases when using criteria queries
2012-04-27 08:48:09 -05:00
Strong Liu
01621d3bb5
HHH-7283 hibernate is not compilable on JDK7
2012-04-27 17:27:34 +08:00
Strong Liu
016ce8649e
HHH-7281 Tests fail on Postgresql due to failure in typecasting
2012-04-27 16:44:59 +08:00
Steve Ebersole
bfc8e6ec81
HHH-1512 - Problem to lock a row in a DB2 database with LockMode UPGRADE
2012-04-26 13:18:05 -05:00
Steve Ebersole
cedd3122d2
HHH-7276 - Regression allows entity to be looked up by previous natural id
2012-04-25 11:34:32 -05:00
Shawn Clowater
7fa7a51016
HHH-7239
...
Adding unit tests for the transaction coordinator when using shared transaction context.
One test to show that Sessions are leaked to the transaction observer, one to show that afterTransactionCompletion is not called on any session other than the main and finally one to show that the original session cannot be reused if child sessions were autoclose or flushBeforeCompletion.
2012-04-24 14:48:24 -05:00
Steve Ebersole
e3e4968960
HHH-7250 - Bug in SharedCache handling of Natural-id
2012-04-24 13:54:24 -05:00
Steve Ebersole
279f545740
HHH-7272 - Have ClassLoaderServiceImpl use Class.forName rather than ClassLoader.loadClass
2012-04-24 12:23:34 -05:00
Steve Ebersole
98306dd4c1
HHH-7272 - Have ClassLoaderServiceImpl use Class.forName rather than ClassLoader.loadClass
2012-04-24 12:22:18 -05:00
Steve Ebersole
946f0297bb
HHH-7237 - Inline natural-id synchronization doesn't consider reattached objects
2012-04-24 11:23:22 -05:00
Guenther Demetz
76504f128f
HHH-7237 - Inline natural-id synchronization doesn't consider reattached objects
2012-04-23 21:55:14 -05:00
Guenther Demetz
572e78dce4
HHH-7237 - Inline natural-id synchronization doesn't consider reattached objects
2012-04-23 21:51:17 -05:00
Steve Ebersole
d1a7495218
HHH-7235 - Support null NaturalId values in loadEntityIdByNaturalId query
2012-04-23 14:26:45 -05:00
Steve Ebersole
37b645999c
HHH-7225 - NullPointerException after persisting null entity value as natural-Id
2012-04-23 13:27:14 -05:00
Steve Ebersole
60e92614be
HHH-6405 - setFetchMode ignored in certain cases when using criteria queries
2012-04-23 12:05:56 -05:00
David Mansfield
f12f2324c6
HHH-6405 setFetchMode ignored for some association types when using criteria queries
...
Re-unifie the two methods getJoinType in the CriteriaJoinWalker, using if/else to delegate to the correct super.getJoinType(...) method as appropriate. This allows the proper handling for setFetchMode specified in the criteria translator to be applied correctly.
2012-04-23 11:04:39 -05:00
David Mansfield
ed0a9fbc00
HHH-6405 test case for setFetchMode ignored using criteria queries
2012-04-23 11:04:39 -05:00
Lukasz Antoniak
cfa729d8b3
HHH-6790 - Sequence per entity for enhanced SequenceStyleGenerator
2012-04-21 12:32:42 +02:00
Steve Ebersole
70847a2331
HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing
2012-04-20 17:08:53 -05:00
Hardy Ferentschik
9a709fdfa0
Some updates of text and links
2012-04-20 17:38:07 +02:00
Emmanuel Bernard
75d684149d
Fix style and add credit where it is due
2012-04-18 18:11:47 +02:00
Guenther Demetz
7abdf80ebe
Natural-id : NullPointerException after persisting null String value, if using @NaturalIdCache
2012-04-18 12:15:23 +08:00
Bryan Varner
88e231f50b
Sanity check (to return NONE) prevents null pointer exception on the switch() statment.
2012-04-18 10:55:21 +08:00
Strong Liu
a67c1afe10
HHH-7253 NPE thrown by NaturalIdResolutionCache
2012-04-17 11:18:36 +08:00
Strong Liu
5671de517d
HHH-5043 Incorrect handling of hibernate.default_schema in SchemaUpdate
2012-04-14 00:32:56 +08:00
Strong Liu
9e53118c4e
HHH-2697 - Can't use := for variable assignment within a SQL-Statement
2012-04-10 15:49:19 +08:00
Strong Liu
5068b8e808
HHH-7195 Table does not handle quoted catalog
2012-04-09 19:27:09 +08:00
Strong Liu
3f6e6339d9
HHH-7068 - Cursor state not valid error from AS400
2012-04-09 18:58:35 +08:00
nrodrigues
4270b4777f
HHH-7068 - Fix for "Cursor state not valid" error from AS400 on queries
...
with setFirstResult.
2012-04-09 18:41:07 +08:00
Gunnar Morling
ef78e5c385
Fixing typos in exception message
2012-04-07 23:49:44 +03:00
Steve Ebersole
13252afcff
HHH-6915 - Restrictions.ilike(String propertyValue, Object value) does not correctly initialize LikeExpresison
2012-04-03 16:23:37 -05:00
Steve Ebersole
3800a0e695
HHH-7206 - Manage natural-id synchronization without flushing
2012-04-03 15:54:46 -05:00
Galder Zamarreño
5fa28e87ea
HHH-7179 Complete support for Natural Id caching for Infinispan
2012-04-02 11:10:36 +02:00
Steve Ebersole
9c207b1128
HHH-7210 - Natural-id cache put stats not being correctly updated on insert for "asynch" cache providers
2012-03-30 12:02:25 -05:00
Steve Ebersole
ce4e2eda87
HHH-7209 - Add varargs versions of Restrictions.and/or
2012-03-29 14:46:02 -05:00
Steve Ebersole
fd9d168d19
HHH-7193 - Transaction Rollback not clearing statement batch on Prepared Statement causes issues with statement caching
2012-03-29 13:03:56 -05:00
Shawn Clowater
b09e2729c0
HHH-7193
...
Added clearBatch() to the releaseStatements() of AbstractBatchImpl in order to prevent batches from rolled back transactions being applied.
Added StatementCacheTest to illustrate the issue.
Added a validator dependency for c3p0 tests since I needed to have the batch semi aborted.
2012-03-29 13:03:56 -05:00
Emmanuel Bernard
d159dcef6f
HHH-7200 SessionFactoryObservers should be notified of the close event in reverse order of the create event
2012-03-27 15:44:16 +02:00
Shawn Clowater
b2c4585921
HHH-7194
...
Fixed NullPointerException when using nested Subqueries in the CriteriaAPI when trying to determine the entity name and test that demonstrates the issue.
2012-03-26 22:36:03 -05:00
Steve Ebersole
ff394e4a6a
HHH-6915 - Restrictions.ilike(String propertyValue, Object value) does not correctly initialize LikeExpresison
2012-03-26 21:13:16 -05:00
Steve Ebersole
cf181b41b5
HHH-7199 - proper JTA and auto-commit interaction for envers testsuite
2012-03-26 20:09:18 -05:00
Strong Liu
d3b640cb75
HHH-7197 reimport imports
2012-03-26 16:17:45 +08:00
Strong Liu
d2852e3c4d
a little improvment on the build script
2012-03-23 16:02:45 +08:00
Steve Ebersole
e24451637d
HHH-7190 - Cache JDBC proxy class defintions
2012-03-22 09:04:44 -05:00
Steve Ebersole
624855c438
HHH-5732 - @OrderColumn not updated if @OneToMany has mappedby defined
2012-03-21 11:19:35 -05:00
Steve Ebersole
23f49f19b5
HHH-1657 - hql update generate wrong sql with joined subclass hierarcy
2012-03-20 21:52:49 -05:00
Steve Ebersole
4f64b56a88
HHH-7160 - NaturalIdXrefDelegate#cache() needs to remove obsolete entries in shared cache when NaturalId values changed
2012-03-20 13:34:19 -05:00
Steve Ebersole
fb0b90bd2d
HHH-7191 - NaturalIdCache improperly declared
2012-03-20 13:34:18 -05:00
Steve Ebersole
1877315ee3
HHH-7090 - Temporary session closing affects original session
2012-03-20 08:40:50 -05:00
Strong Liu
38c4f02cea
HHH-7107 org.hibernate.test.locking.LockModeTest hangs on Sybase 15.5 and DB2-97
2012-03-20 13:21:42 +08:00
Steve Ebersole
5d6d9b87c1
HHH-7020 - Connection leak with nested sessions
2012-03-19 19:09:44 -05:00
Steve Ebersole
5a1d523b4d
HHH-7090 - Temporary session closing affects original session
2012-03-19 17:34:15 -05:00
Hardy Ferentschik
60c1b23c7b
HHH-6271 Introducing Byteman in order to really test that a certain log message gets never called.
2012-03-19 23:19:46 +08:00
Hardy Ferentschik
fa1183f3f9
HHH-6271 Unifying error logger in XMLHelper and standalone ErrorLogger. Removing the former and integrating some features of the latter into ErrorLogger.
...
Also using a deferred logging approach.
2012-03-19 23:19:45 +08:00
Hardy Ferentschik
6c0ebd40a5
HHH-6271 Adding some more tests
2012-03-19 23:19:45 +08:00
Hardy Ferentschik
8373871c30
HHH-6271 Javadocs and some generics fixes
2012-03-19 23:19:45 +08:00
Hardy Ferentschik
ddcd060441
HHH-6271 Adding explicit test showing that orm version 1 works
2012-03-19 23:19:45 +08:00
Hardy Ferentschik
9272a905a0
HHH-6271 Fixing a typo in class name
2012-03-19 23:19:45 +08:00
Hardy Ferentschik
99be673a32
HHH-6271 Formatting and adding consistent licence header. Removing $Id which is a legacy from svn.
...
No functional changes
2012-03-19 23:19:44 +08:00
Steve Ebersole
ee9b3585c5
HHH-7020 - Connection leak with nested sessions
2012-03-15 10:18:05 -05:00
Strong Liu
e049fd6296
uid is a oracle keyword
2012-03-15 16:48:20 +08:00
Strong Liu
b145388625
HHH-7174 org.hibernate.test.tm.CMTTest.testConcurrentCachedQueries fails due to test cases interdependent
2012-03-15 16:41:09 +08:00
Steve Ebersole
ef41cdd6dd
HHH-7133 - NaturalIdLoadAccess not correctly working on mutable NaturalId's
2012-03-14 17:56:10 -05:00
Steve Ebersole
8ffdc614d7
HHH-7133 - NaturalIdLoadAccess not correctly working on mutable NaturalId's
2012-03-14 15:11:29 -05:00
Steve Ebersole
77393f77f9
HHH-7167 - The new natural id code introduced in 4.1.1 depends on the order the entity persisters are loaded which leads to fatal errors
2012-03-14 14:25:27 -05:00
Steve Ebersole
c7afef512e
HHH-7158 - Regression: null values on NaturalId's at persist-time are causing subsequent NPE's and wrong behaviour
2012-03-14 13:36:47 -05:00
Steve Ebersole
e532dc5e7d
HHH-7165 - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts
2012-03-14 12:05:28 -05:00
Strong Liu
90d02e669b
HHH-7169 - fix failling tests
2012-03-14 14:26:07 +08:00
Steve Ebersole
87941b89aa
HHH-7169 - Use ClassLoaderService to load JDBC driver classes
2012-03-13 14:51:04 -05:00
Steve Ebersole
c3fc7f3214
HHH-7165 - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts
2012-03-13 12:27:48 -05:00
Steve Ebersole
41dd7079e0
HHH-7165 - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts
2012-03-13 12:27:48 -05:00
Strong Liu
b51b2ff4cb
HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6)
2012-03-13 21:58:48 +08:00
Steve Ebersole
dceda48ff1
HHH-7162 - Use concise artifact syntax in build scripts
2012-03-09 13:40:26 -06:00
Zbyněk Roubalík
3e99b2c440
HHH-7159 Database keywords causes failure of some tests in org.hibernate.test.collection.custom
2012-03-08 15:40:44 +01:00