Commit Graph

513 Commits

Author SHA1 Message Date
Steve Ebersole d7de0dad4e HHH-4613 - KEY, VALUE and ENTRY should not be strict keywords
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18822 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 19:56:41 +00:00
Steve Ebersole 9f6e1ada66 HHH-4917 - Keyword TYPE not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18821 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 18:49:38 +00:00
Steve Ebersole 6acf72f54a HHH-4917 - Keyword TYPE not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18814 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-16 21:39:52 +00:00
Steve Ebersole 23ee88a55b HHH-4905 - Allow consistent handling of numeric primary key values by any integral data type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18789 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 06:22:52 +00:00
Scott Marlow 19de9d4ed9 HHH-4765 Enhance Dialect support for JPA-2 locking. MySQL pessimistic locking and Dialect.getForUpdateString(String aliases, LockOptions lockOptions)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18782 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-11 15:51:25 +00:00
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
Steve Ebersole 341ea5b8f5 HHH-4902 - Handle JPA 2 requirement of setting id attribute to non-null with its equivalent of foreign-generator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18767 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 17:38:59 +00:00
Gail Badner 89acfc7692 HHH-4898 : Results from read-only Criteria and Query obtained from query cache are not read-only
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18760 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:05:33 +00:00
Gail Badner 6abbd54e8e HHH-4896 : Read-only proxy targets initialized from second-level cache are not read-only
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18759 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:03:48 +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 81fd208898 HHH-4894 - Process composite-id sub-generators PersistentIdentifierGenerator contract(s)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18748 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 19:54:39 +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 7cb83cac95 HHH-4664 - Implement EntityManagerFactory#getProperties()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18712 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-07 19:27:19 +00:00
Strong Liu 71127daf09 HHH-4886 Merge minor change from IngresDialect.java from 3.3.2 for Ingres 9.2 compatibility
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18709 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-06 06:33:14 +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
Steve Ebersole de585cb54a HHH-4877 - "Check Nullability" logging incorrectness in SettingsFactory
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18705 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 20:33:14 +00:00
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
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 1dfa028169 minor change, correct javadoc spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18443 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 20:34:59 +00:00
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
Hardy Ferentschik 5379d952d4 HHH-4573
ComponentTupilzer - typo in doc
CompositeIdTest, TvMagazinPk - test cleanup
DynamicComponentTupilzer - import cleanup
Ejb3* - Added toString() implementations and changed logging string

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17977 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 18:15:10 +00:00
Scott Marlow 8da29593d2 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@17975 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 17:40:36 +00:00
Steve Ebersole 5a2caea959 HHH-4569 - Split focus of ConfigurationPerformanceTest
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17968 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 04:26:57 +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
Scott Marlow 655be65063 HHH-4546 - add JPA 2.0 locking.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17962 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-12 04:20:41 +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
Steve Ebersole 1d3ceafffb HHH-4561 - Deprecate openConnection()/closeConnection() methods on Batcher interface
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17955 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-11 05:58:42 +00:00
Steve Ebersole f5384ba355 HHH-4548 - Alter poms to not use javax.* artifacts under Sun proprietary license
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17952 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-10 21:27:01 +00:00
Steve Ebersole 617975fefb HHH-4560 - JDBC4 support inadvertently missed 1.4 compatibility
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17951 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-10 21:26:50 +00:00
Gail Badner 5d3893d290 HHH-2762 : SessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges() API and initial implementation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17948 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-10 08:38:09 +00:00
Gail Badner 13b6de2490 HHH-4545 : change CollectionAction.readObject() to private
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17947 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-07 00:38: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 d0bad68a9b HHH-4548 - Alter poms to not use javax.* artifacts under Sun proprietary license
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17936 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-06 05:25:38 +00:00
Steve Ebersole 007f7817b4 HHH-4548 - Alter poms to not use javax.* artifacts under Sun proprietary license
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17935 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-05 21:51:19 +00:00
Steve Ebersole bcb9f8a302 HHH-3529 - ConnectionWrapper is not visible from class loader
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17917 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-05 03:17:54 +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
Emmanuel Bernard fb9bdb7f38 HHH-4533 Populate the JPA 2 metamodel with the new mapping.MappedSuperclass metadata
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17879 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 18:57:24 +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
Emmanuel Bernard 1352b5e25f HHH-4533 move metamodel storage to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17873 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 00:36:07 +00:00
Emmanuel Bernard f795bd31e4 HHH-4533 move metamodel storage to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17872 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 00:13:24 +00:00
Emmanuel Bernard c7c6981a55 HHH-4533 add representation for @MappedSuperclass in the Hibernate Core metamodel and properly populate this model extension in Hibernate Annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17871 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 18:14:25 +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 260e2f2022 HHH-1012 - Index not created by SchemaUpdate
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17868 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 16:05:29 +00:00
Steve Ebersole 9909f9ce72 HHH-3972 - Adding FETCH FIRST and OFFSET support to DerbyDialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17867 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 15:49:36 +00:00
Steve Ebersole d74037756e HHH-4202 - Implement JPA 2.0 metamodel APIs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17843 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-26 17:04:59 +00:00
Steve Ebersole ae5984141d HHH-4442 : sybase dialects and dialect factory
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17832 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-25 18:23:36 +00:00
Steve Ebersole 30dba20ce4 HHH-4442 - Change StandardDialectResolver to use SybaseASE15Dialect over deprecated SybaseDialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17823 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-23 05:08:40 +00:00
Steve Ebersole 9e76e1b184 HHH-4443 : generic handling of any Hibernate type for post-insert generated identifiers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17822 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-22 21:22:46 +00:00