Commit Graph

223 Commits

Author SHA1 Message Date
Steve Ebersole 7d0258ec55 prepare 3.5.0-CR-1 ++ dev
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18771 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:42:49 +00:00
Steve Ebersole 7a9b5f1781 prep 3.5.0-CR-1 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18769 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:17:55 +00:00
Gail Badner b39918f247 HHH-4578 : Criteria is missing read-only flag
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18758 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:00:59 +00:00
Steve Ebersole 0255bb79fc HHH-4895 - query against derived id doesn't return expected result
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18754 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 21:45:15 +00:00
Steve Ebersole 839e23458a HHH-4704 - Pass session into EntityTuplizer#setIdentifier
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18733 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 19:27:00 +00:00
Steve Ebersole 4a72e7096f HHH-4883 - Unable to join across a component
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18706 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 21:51:24 +00:00
Gail Badner c18a9306b9 HHH-4880 : EntityManager.refresh does not throw EntityNotFoundException for removed entity
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18700 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 06:25:59 +00:00
Gail Badner 8606c4a097 HHH-4841 : Read-only proxies in NonFlushedChanges are not read-only when applied to a new session
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 04:00:04 +00:00
Steve Ebersole 80f250fca5 HHH-4704 - Pass session into EntityTuplizer#setIdentifier
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18697 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 21:05:38 +00:00
Steve Ebersole 46bc41c226 HHH-4879 - Support HQL index-refering functions for many-to-many, indexed collections
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18687 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 21:47:31 +00:00
Steve Ebersole af7c746a54 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18675 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-01 19:42:16 +00:00
Gail Badner 0530b809d8 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18668 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:57:52 +00:00
Gail Badner 18ed315b62 prep 3.5.0-Beta-4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18666 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:46:30 +00:00
Steve Ebersole b52cdc9523 HHH-4862 - quoted column/alias names not properly handled in org.hibernate.loader.EntityAliases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-28 22:04:20 +00:00
Gail Badner d586421cfb HHH-4828 : Entities returned by Query...setReadOnly(true)...iterate() should be read-only
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18660 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 23:59:29 +00:00
Strong Liu 1904e02b63 HHH-3828 Criteria: Restriction whith class does not work
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18658 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 23:06:38 +00:00
Gail Badner b40cfb58db HHH-4781 : Read-only entities changed to modifiable on refresh
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18643 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 09:26:42 +00:00
Gail Badner a0d8e6a415 HHH-2501 HHH-4804 : Add default read-only/modifiable setting for session; fix setting for non-lazy associations loaded from Query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18641 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 06:36:55 +00:00
Steve Ebersole 2f3a967c65 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18593 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 19:16:38 +00:00
Steve Ebersole 55cd2ee2a2 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18573 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 18:27:12 +00:00
Steve Ebersole 6cfc0c043d HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18571 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 15:18:16 +00:00
Steve Ebersole 29152a8390 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18568 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-16 20:27:04 +00:00
Steve Ebersole 56f6941260 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18560 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 05:38:57 +00:00
Hardy Ferentschik 79bb60ea89 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18552 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 02:01:24 +00:00
Hardy Ferentschik 1f8019b3fc Version upgrade for preperation of 3.5.0-Beta-3 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18550 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 01:34:37 +00:00
Gail Badner cc382233c5 Session.setReadOnly(Object, boolean) fails for proxies
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18525 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 01:04:55 +00:00
Gail Badner 863ac2ead6 HHH-4781 : Added unit test showing a read-only entity that is refreshed is changed to modifiable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18511 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 08:15:15 +00:00
Steve Ebersole 9b3c518d5e HHH-4780 - Allow BigDecimal and BigInteger to be specified as numeric literal types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18508 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 22:55:36 +00:00
Strong Liu bc5ea8d259 HHH-4769 update test case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18467 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 21:59:05 +00:00
Strong Liu 4276ad99f0 HHH-4764 org.hibernate.test.pagination.PaginationTest.testLimitOffset() fails on oracle and db2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18464 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 20:24:18 +00:00
Strong Liu ee503cfbc6 HHH-4769 In HQL, function ROUND always returns an Integer, it truncate the decimal part of Double number.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18457 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 18:38:17 +00:00
Strong Liu 763a3ef84b 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@18371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-31 05:48:24 +00:00
Strong Liu 7fb4558c1d 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@18366 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-30 09:08:45 +00:00
Strong Liu 01432e3a16 HHH-2166 - remove @Override annotations for 1.4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18350 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 20:12:22 +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 018d3911cd HHH-4741 org.hibernate.test.filter.DynamicFilterTest.testSqlSyntaxOfFiltersWithUnions fails on MySQL
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18339 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 08:05:58 +00:00
Strong Liu 30422f9320 HHH-2166 update testcase to skip mssql server and oracle due to HHH-1123
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 06:28:20 +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
Gail Badner d66cfe664a HHH-4642 : added test cases showing unexpected results when an updated entity is changed from read-only to modifiable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18271 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 21:42:42 +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
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
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 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
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
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
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
Gail Badner 01a1a251d7 HHH-2762 : new unit tests for SessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges() implementation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17998 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-17 23:17:25 +00:00