Commit Graph

395 Commits

Author SHA1 Message Date
Emmanuel Bernard ab4f51dce5 HHH-4848 simplify the non-jpa 2 case a bit further
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18701 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 12:35:18 +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 53b1890c1b HHH-4848 - Derived identities: Derived entities using @IdClass and mapping a @XToOne are not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18698 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 02:42:55 +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
Emmanuel Bernard 252299cfee HHH-4848 partial implementation of @IdClass support in derivedidentity (example 1 case a of the spec)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18692 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 17:54:05 +00:00
Scott Marlow 80dbc69529 HHH-4765 Enhance Dialect support for JPA-2 locking. pessimistic no wait/timed locking and additional pessimistic locking tests. Oracle support for pessimistic locking
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18688 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 00:07:31 +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 c86d471453 HHH-4861 - Allow lookup by the "simple" pk type of "parent entity" in "derived identities" cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18686 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 06:58:46 +00:00
Steve Ebersole ac1dae6952 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18684 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 05:16:26 +00:00
Steve Ebersole 1591e6dc03 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18682 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-02 21:32:53 +00:00
Scott Marlow 889470af88 HHH-4765 Enhance Dialect support for JPA-2 locking
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18681 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-02 17:03:05 +00:00
Steve Ebersole d761d3ef45 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18676 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-01 19:49:40 +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
Scott Marlow 3456c533b9 HHH-4765 Enhance Dialect support for JPA-2 locking.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18673 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-30 17:27:32 +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
Steve Ebersole 4ac6062cf1 HHH-4862 - column name quoting not properly handled for javax.persistence.ColumnResult
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18662 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-28 01:31:45 +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
Steve Ebersole d04362e464 HHH-4799 - Create a *unit* test that asserts SerializationHelper's ability to deser a class using an "isolated classloader" (aka a TCCL)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18657 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 19:16:39 +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
Steve Ebersole 4ec26fa4cf HHH-4690 - Consider adding a flag for legacy/new generators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18642 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 08:00:27 +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 3b536fa6f6 HHH-4552 - Support generated value within composite keys
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18640 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 21:49:51 +00:00
Emmanuel Bernard fc20582ede HHH-4847 inject both object id and the entity itself when asking nested identifier generators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18632 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 17:12:42 +00:00
Steve Ebersole 5d8d70036a HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18614 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-24 17:07:28 +00:00
Steve Ebersole d24ed1a1d3 HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18605 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 07:22:50 +00:00
Steve Ebersole 9bb0da4e69 HHH-4660 - Support Cache Retrieve Mode and Cache Store Mode Properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18603 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 01:55:20 +00:00
Steve Ebersole 79b10cc810 HHH-4552 - Support generated value within composite keys
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18601 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-21 19:37:01 +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
Hardy Ferentschik 76f2f88038 HHH-4651 - Add support for EntityManager properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18585 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 22:16:05 +00:00
Hardy Ferentschik edb211e8af HHH-4813 - annotation and entitymanager module should use the maven-injection-plugin to generate version string
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18575 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 19:17:27 +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 f163e9fd94 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18569 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-16 21:04:34 +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
Emmanuel Bernard 9b38bca8ea HHH-4807 only switch CHECK_NULLABILITY's default if Bean Validation is in the class path
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18563 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 12:57:47 +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
Steve Ebersole e96bca2fb6 HHH-4780 - Allow BigDecimal and BigInteger to be specified as numeric literal types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18545 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 20:32:33 +00:00
Steve Ebersole fca1248487 HHH-4786 - SerializableType + custom Serializable class + L2 cache causes problems
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18544 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 19:45:07 +00:00
Gail Badner 4d86564d32 HHH-3338 : Order of attributes in generated SQL query is dependent on Java version
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18529 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 06:59:54 +00:00
Gail Badner 94415151f7 HHH-4737 : Cache the EntityKey in EntityEntry when id is non-null
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18528 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 06:02:14 +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
Steve Ebersole 3f0e54c5d2 HHH-4674 - JBoss has renamed its JACC artifact
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18517 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 18:37:19 +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
Steve Ebersole 49a37c3165 HHH-4743 - Bug in BooleanLiteralNode with CustomType
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18491 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 20:17:47 +00:00