Commit Graph

343 Commits

Author SHA1 Message Date
Emmanuel Bernard dd7b01ccc8 HHH-4749 Don't block calls to getListeners on SessionImplementor when using thread scoped sessions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18408 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 10:46:13 +00:00
Strong Liu 95e10ad81d HHH-2166 Long 'in' lists in queries results in a Java stack overflow exception.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18356 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 23:21:44 +00:00
Strong Liu 721a90aadc HHH-2166 - Long 'in' lists in queries results in a Java stack overflow exception.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18347 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 19:58:52 +00:00
Strong Liu 8a6c40115e minor change, correct javadoc spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18344 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 15:56:02 +00:00
Strong Liu 1d125b21aa minor change, correct javadoc spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18341 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 08:08:58 +00:00
Strong Liu 7cc0baf32b minor change, correct javadoc spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18332 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-28 09:18:55 +00:00
Strong Liu ec8421b32d HHH-2347 HHH-1918 Improvement to DerbyDialect default identy generation mode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18331 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-24 14:09:27 +00:00
Strong Liu fb121412b6 HHH-4574 ConnectionProviderFactory.getConnectionProperties() includes extra properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18328 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-24 13:26:38 +00:00
Strong Liu 55bf2494ea HHH-4531 Derby dialect should not support comments
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18327 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-24 11:55:08 +00:00
Gail Badner a7a9f79d1e HHH-4735 : Proxy can be associated with a new session when it is already connected to a different one (minor change for perf)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18324 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-24 07:56:51 +00:00
Gail Badner e264d8e879 HHH-4735 : Proxy can be associated with a new session when it is already connected to a different one (removed cached EntityKey)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18322 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-24 03:11:54 +00:00
Gail Badner c20cfe7e0d HHH-4735 : Proxy can be associated with a new session when it is already connected to a different one
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18320 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-23 18:38:09 +00:00
Strong Liu 95c69f3209 HHH-2166 Long 'in' lists in queries results in a Java stack overflow exception
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18305 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-21 17:05:58 +00:00
Steve Ebersole 3748f29945 HHH-4719 - Support modulo operator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18269 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 20:04:44 +00:00
Steve Ebersole c1da5f1e3c HHH-4698 - Better handling of JPA criteria expressions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18268 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 15:32:39 +00:00
Gail Badner cab9873205 HHH-4715 : Unexpected results when an entity that is already modifiable is set to modifiable again
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18261 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 03:38:16 +00:00
Steve Ebersole bfa63cca67 HHH-4709 - registered length functions should return Integer
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18254 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 05:51:20 +00:00
Steve Ebersole da647e7deb HHH-4705 - Derby does now in fact support the full ANSI SQL TRIM function
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18252 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 23:15:01 +00:00
Steve Ebersole d2f3d18b4a HHH-4705 - Derby does now in fact support the full ANSI SQL TRIM function
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18251 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 22:18:03 +00:00
Strong Liu b62c0afcad HHH-4614 Instrumented model with abstract MappedSuperclass and field access doesn't work (fix javassist integration issue, not yet cglib)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18246 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:31:57 +00:00
Strong Liu b50f0660ee HHH-4457 SchemaUpdate fails on Sybase ASE 15 when a new column is added without a default value
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18245 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:28:58 +00:00
Scott Marlow 0776dbab9a HHH-4546 JPA-2 locking. LockOptions can include per table alias LockMode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:23:31 +00:00
Steve Ebersole fc54029a9f HHH-4671 - Derby is one of those dialects that should not support "cross join"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18223 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-13 01:17:08 +00:00
Steve Ebersole 22e78ef6bf HHH-4674 - JBoss has renamed its JACC artifact
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18222 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-13 01:10:32 +00:00
Scott Marlow 18bb17061f HHH-4546 JPA-2.0 locking. More pessimistic lock exception support and timeout exception support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18209 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 13:23:17 +00:00
Scott Marlow 49bc0e7acf comment change
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18190 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 00:34:12 +00:00
Scott Marlow cf0e1c6476 HHH-4546 JPA-2.0 locking support. Derby read and write pessimistic lock
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18189 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 00:33:22 +00:00
Steve Ebersole 1005f19b1a HHH-3860 - Cascading performance problems when session contains many entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18168 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 18:56:15 +00:00
Emmanuel Bernard 8eb02db44c HHH-4649 Properly bind Environment#GLOBALLY_QUOTED_IDENTIFIERS to orm.xml <delimited-identifier/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18159 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 14:20:56 +00:00
Steve Ebersole 6b9e796074 HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18158 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 13:14:47 +00:00
Strong Liu 9dbb880df6 minor change, correct javadocs spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18149 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 06:58:40 +00:00
Steve Ebersole a2bf14ae7c HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18148 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-06 22:20:58 +00:00
Scott Marlow 5233aeb158 HHH-4546 add JPA 2.0 locking. First pass of support of code around AbstractEntityPersister.getAppropriateLoader
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18116 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-02 19:41:21 +00:00
Steve Ebersole bf9f27215a HHH-4625 - Use of maven-injection-plugin intermittently leads to build failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18107 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 04:53:49 +00:00
Steve Ebersole fa13096363 HHH-4625 - Use of maven-injection-plugin intermittently leads to build failures
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18106 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 04:51:57 +00:00
Steve Ebersole 2b2df21f2f HHH-4625 : upgrade injection plugin
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18105 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-30 18:18:44 +00:00
Scott Marlow dfffe73198 HHH-4546 add JPA 2.0 locking. Javadoc change.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18054 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-25 00:05:08 +00:00
Scott Marlow ceaea5a2a3 HHH-4546 add JPA 2.0 locking. Introduce LockOptions as the wrapper and session.buildLockRequest() (replaces session.lock()).
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18053 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 23:59:50 +00:00
Emmanuel Bernard 07c5967f46 HHH-4604 IllegalArgumentException should be raised when an ordinal parameter is not present in the query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18029 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 09:39:08 +00:00
Emmanuel Bernard 5b6a8eee07 HHH-3164 HHH-1575 InExpression was populating parameters in the wrong order.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18027 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-23 18:34:56 +00:00
Steve Ebersole 1a31549ced HHH-2584 - PersistentMap.remove() incorrect on uninitialized, non-extra-lazy map
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18020 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-21 02:57:20 +00:00
Steve Ebersole 5c30fe6464 HHH-2576 - Allow native-sql to have placeholders for default schema and catalog
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18018 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-21 02:01:45 +00:00
Scott Marlow 35ca4c3563 HHH-4546 add JPA 2.0 locking. Still need more LockRequest support in AbstractEntityPersister.getAppropriateLoader(), may need to refactor.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18016 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-20 14:51:13 +00:00
Steve Ebersole a8e34f0066 HHH-2308 - Adding predicates to the join condition using Criteria Query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18012 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-20 05:20:28 +00:00
Steve Ebersole 085c6c9e9e HHH-4584 - Query Language needs to support joins on embedded values
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18006 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 21:02:19 +00:00
Scott Marlow 1658d1f58b HHH-4588 workaround for JBSEAM-4474
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18004 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 16:35:28 +00:00
Gail Badner 36100c8c3a HHH-2762 : Added StatefulPersistenceContext.getProxiesByKey() (needed for testing non-flushed changes)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17997 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-17 23:12:09 +00:00
Steve Ebersole a99a524b37 HHH-4572 - check if the connection supports jdbc4 before looking for the createClob method
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17984 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-14 18:03:16 +00:00
Steve Ebersole a63c8ef82a HHH-4572 - check if the connection supports jdbc4 before looking for the createClob method
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17979 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-14 03:45:27 +00:00
Steve Ebersole 3ac574d7da HHH-2990 - Bad usage of ClassLoader.loadClass() for Java6 in SerializationHelper$CustomObjectInputStream - deserialization bottleneck for arrays
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17978 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 19:04:09 +00:00