Commit Graph

207 Commits

Author SHA1 Message Date
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
Strong Liu e20713b0f2 HHH-4576 - Tests in MySQL using different case for objects as defined in configuration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17989 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-16 14:05:17 +00:00
Strong Liu a1d2ece5cf HHH-4576 - Tests in MySQL using different case for objects as defined in configuration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17988 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-16 14:04:16 +00:00
Steve Ebersole d558dac5dc HHH-4569 - Split focus of ConfigurationPerformanceTest
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17964 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-12 19:46:04 +00:00
Steve Ebersole 85b3ad297f HHH-4065 - Incorrect SQL is used for HQL if the number of values for a filter collection parameter is changed
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17959 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-11 20:27:39 +00:00
Scott Marlow d82c1e859b HHH-4546 - add JPA 2.0 locking
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17944 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-06 13:59:37 +00:00
Steve Ebersole 07ae68ff98 HHH-4545 - Allow o.h.action.Executable to register for either (or both) before or after transaction completion callbacks
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17914 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-04 21:21:36 +00:00
Steve Ebersole 9c74610a9d HHH-4545 - Allow o.h.action.Executable to register for either (or both) before or after transaction completion callbacks
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17913 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-04 21:19:21 +00:00
Steve Ebersole 5ecfeb5cb8 prep 3.5.0-Beta-2 by hand because maven rocks
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17892 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 18:20:40 +00:00
Steve Ebersole c42e871b95 prep 3.5.0-Beta-2 by hand because maven rocks
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17890 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 18:09:43 +00:00
Steve Ebersole e759809c35 HHH-4532 - Unit Tests in test/idgen/enhanced/forcedtable need update
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17880 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 20:44:57 +00:00
Hardy Ferentschik 2a60faba25 HHH-1724 updated test which expected an Integer instead of Long as row count
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17877 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 13:55:33 +00:00
Steve Ebersole db08dbf46b HHH-1724 - Critieria needs to be aligned with new aggreation type rules
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17874 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 02:07:40 +00:00
Steve Ebersole 6d5de2b0af HHH-1480 - JOIN precendence rules per SQL-99
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17869 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 16:54:00 +00:00
Steve Ebersole cb34e79283 HHH-4440 : column-level read/write fragment support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17821 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-22 20:02:10 +00:00
Juraci Krohling dba93d5753 HHH-4502 - Moved database profiles to parent/pom.xml and updated to use latest available resources in the lab
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17795 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-19 14:16:26 +00:00
Emmanuel Bernard 85212c51c4 HHH-4105 Fix mispell in SessionFactory#containsFetchProfileDefition
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17684 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-10 15:44:29 +00:00