Commit Graph

616 Commits

Author SHA1 Message Date
Strong Liu c6d51a1993 correct typo in the javadoc
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19848 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-29 06:52:24 +00:00
Strong Liu c251637ed6 HHH-3659 statistics: Execution time of a query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19847 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-29 06:51:14 +00:00
Emmanuel Bernard 80b0d4d93e Clean import statements
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19806 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:33:43 +00:00
Emmanuel Bernard fe92f84072 HHH-5337 support for comma-separated multi-files imports
hibernate.hbm2ddl.import_files=[filename],[filename2],...

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19804 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:33:00 +00:00
Emmanuel Bernard 5aad112e03 HHH-5337 Allow Customization of DML import file name
hibernate.hbm2ddl.import_file=[filename]

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19803 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:32:15 +00:00
Emmanuel Bernard ffe92dacfa HHH-5329 Consider NoClasDefFoundError as a sign of not having Java 5 and concurrent package
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19798 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 14:54:25 +00:00
Gail Badner 6d9c10deab HHH-5195 : FilterImpl.validate() throws NullPointerException on deserialization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19730 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-15 02:44:40 +00:00
Gail Badner 3c57a05313 HHH-5195 : FilterImpl.validate() throws NullPointerException on deserialization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19728 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-15 02:15:54 +00:00
Steve Ebersole 06f9e60a0a HHH-3579 - Support for PostgreSQL UUID data type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19726 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-14 18:59:10 +00:00
Gail Badner 0fe85c1194 HHH-5220 : Unit tests related to HHH-5063 and HHH-5135 fail on DB2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19723 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-14 05:19:07 +00:00
Gail Badner 9e6d8be376 HHH-5220 HHH-5231 : Fix unit test failures and DB lockups for SELECT COUNT(DISTINCT arg1, arg2) tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19722 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-14 04:27:40 +00:00
Gail Badner c53359d468 HHH-5251 : NativeSQLQueryReturn impls pre-cache a final hashcode based on non-final fields
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19721 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-13 22:19:34 +00:00
Strong Liu e630fde1aa HHH-4036 EntityMetamodel entityNameByInheritenceClassNameMap field used inconsistently
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19717 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-11 18:13:13 +00:00
Steve Ebersole 5af328cb4a HHH-5262 - Allow UserType and CompositeUserType to be registered with BasicTypeRegistry
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19649 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 05:15:54 +00:00
Steve Ebersole 94f5659503 HHH-3579 - Support for PostgreSQL UUID data type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19647 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-01 19:16:50 +00:00
Steve Ebersole 7aa8449788 HHH-5268 - Support for java.util.UUID properties/generators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19646 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-01 18:34:12 +00:00
Steve Ebersole 6d01dd07b0 HHH-2268 - Skip bridge methods during getter determination (JDK Bug 5062759)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19624 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-26 22:08:33 +00:00
Steve Ebersole 0d7932c748 HHH-5253 - TableHiLoGenerator does not increment hi-value any more when lo-range es exhausted
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19586 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 21:20:36 +00:00
Steve Ebersole ddac598513 HHH-3050 - Convert usage of Hibernate's FastHashMap to ConcurrentHashMap (Java 1.5)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19584 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-21 19:38:04 +00:00
Steve Ebersole 78c8c6fb6a HHH-5248 - Introduce CompositeType interface (to replace AbstractComponentType interface)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19572 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 21:55:28 +00:00
Steve Ebersole 5aa6ad61ca HHH-5245 - Introduce LobHelper
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19571 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 20:37:56 +00:00
Steve Ebersole d06e11092d HHH-5245 - Introduce LobHelper
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19570 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 20:19:34 +00:00
Steve Ebersole 460cbf8d96 HHH-2277 - bidirectional <key-many-to-one> both lazy=false fetch=join lead to infinite loop
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19563 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-20 05:37:43 +00:00
Emmanuel Bernard a58e1ef197 Minor JavaDoc typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19538 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-18 07:59:51 +00:00
Steve Ebersole 3d988c6a6d HHH-5230 - Regresion! @SequenceGenerator with allocationSize=1 fails Other allocationSizes appear to be decremented by 1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19530 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-17 15:39:55 +00:00
Gail Badner 84f0b00bc6 HHH-5231 HHH-5220 : Fixes for DB2 and PostgreSQL unit tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19526 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-16 21:33:05 +00:00
Steve Ebersole 7690f9a493 Fixed problem in hibernate-core test run because of H2 driver not being on classpath
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19522 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-15 13:08:24 +00:00
Strong Liu 6de4dc800f HHH-3220 Patch to prevent org.hibernate.AssertionFailure: possible non-threadsafe access to the session error caused by stateless sessions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19518 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-15 08:37:30 +00:00
Steve Ebersole dceb92d4a5 HHH-5042 - TableGenerator does not increment hibernate_sequences.next_hi_value anymore after having exhausted the current lo-range
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19488 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 20:45:00 +00:00
Steve Ebersole 2c2717013b HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 19:51:26 +00:00
Steve Ebersole a9ba811baf HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19483 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 19:48:43 +00:00
Steve Ebersole b0708314a9 HHH-5218 - Provide a new "pooled value" based optimizer which interprets the database value as the low boundary instead of upper boundary
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19481 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 18:27:16 +00:00
Steve Ebersole 5211f298f8 HHH-5217 - Minimize double sequence value reads in PooledOptimizer
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19478 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 15:13:47 +00:00
Gail Badner ad8e4340de HHH-1574 : AbstractEntityPersister.getNaturalIdentifierSnapshot doesn't work with many-to-one ids (Alex Burgel)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19472 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-12 02:27:56 +00:00
Steve Ebersole ef24b0f556 HHH-5042 - TableGenerator does not increment hibernate_sequences.next_hi_value anymore after having exhausted the current lo-range
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19470 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-11 19:27:20 +00:00
Strong Liu 8e76bf9648 HHH-5210 Query Cache effective only after closing the session that created the cache
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19462 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-11 01:41:38 +00:00
Steve Ebersole bb8f915859 HHH-5200 - Prepare to use H2 as the default testing datbase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19456 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 21:48:24 +00:00
Steve Ebersole 4ed976e4ba Added javadocs comments wrt postgresql and BLOB handling
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19455 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 21:26:04 +00:00
Steve Ebersole 77fba4df70 HHH-5173 - hql - average returns double but looses the decimal part
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19453 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 19:41:53 +00:00
Gail Badner 14bdaec5e7 HHH-5207 : Unexpected exception occurs during refresh of a detached immutable entity
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19451 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 18:34:22 +00:00
Steve Ebersole 9d93984ca1 HHH-5006 - hibernate.globally_quoted_identifiers=true and Annotations tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19447 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 12:29:29 +00:00
Sharath Reddy 91cbdb8177 HHH-4647 Problems with @JoinColumn referencedColumnName and quoted column and table names
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19432 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-09 18:19:56 +00:00
Steve Ebersole b4fa90a58b HHH-5200 - Prepare to use H2 as the default testing datbase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19429 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-08 21:58:15 +00:00
Steve Ebersole 413666f293 HHH-5200 - Prepare to use H2 as the default testing datbase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19412 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-08 03:34:05 +00:00
Steve Ebersole cb51ef1a64 HHH-5135 - "Ambiguous column" exception thrown with columns having the same name as a function registered with the dialect (e.g. to_date, floor)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19411 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-07 20:53:34 +00:00
Gail Badner 0884b16946 HHH-5135 : 'Ambiguous column' with columns having the same name as a registered function
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19392 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 19:08:18 +00:00
Steve Ebersole c8a5adf327 HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19389 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 16:23:13 +00:00
Steve Ebersole 884cbbde06 HHH-3377 - Update H2Dialect to use DECIMAL SQL type instead of NUMERIC
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19387 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 14:53:09 +00:00
Steve Ebersole 7c27fc9f2a HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19376 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 02:36:12 +00:00
Steve Ebersole 190f2c99d5 HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19375 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 01:31:34 +00:00
Steve Ebersole e1acc33bb6 HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19374 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 01:05:26 +00:00
Sharath Reddy e13821624d HHH-3694 ResultTransformer not used when scroll() is used on a named SQLQuery
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19349 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-03 13:45:20 +00:00
Steve Ebersole bdc83cb2e6 HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19345 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-03 00:04:27 +00:00
Steve Ebersole c0cb52711a HHH-5064 - OrderBy string getting dumped to console on session factory creation (Shawn Clowater)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19337 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 20:43:43 +00:00
Steve Ebersole 5ad3ac1295 HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19336 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 20:32:48 +00:00
Steve Ebersole 421789ddcd HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 18:20:26 +00:00
Gail Badner 1286804335 HHH-4957 HHH-3096 : Fix COUNT( DISTINCT ...) for single and multiple arguments
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19319 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-28 17:54:43 +00:00
Emmanuel Bernard 95de10caf0 HHH-3005 allow nested <type> in <map-key>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19316 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-28 16:25:52 +00:00
Gail Badner 1c556dc775 HHH-4991 ; ManyToMany table not joined due to max_fetch_depth parameter, results to SQL exceptions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19312 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-28 04:32:00 +00:00
Scott Marlow bc1acf7028 HHH-5032 upgrade from optimistic to optimistic force does not work
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19295 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-26 17:49:26 +00:00
Steve Ebersole 37d40d4aa4 [maven-release-plugin] prepare release Branch_3_5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19256 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-21 01:58:27 +00:00
Strong Liu f2bca0eef7 HHH-5131 SchemaExport drop fails if constraint names change
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-17 16:03:49 +00:00
Steve Ebersole 4470ebcd4d Updating pom versions to 3.5.2-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19238 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:44 +00:00
Steve Ebersole 9a5dfa9ff8 Updating pom versions to 3.5.1-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:13 +00:00
Gail Badner dd05ba2811 HHH-2470 : Use of session.createSQLQuery causes memory leak
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19228 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 11:12:19 +00:00
Gail Badner 5ff99eabbf HHH-5104 : EntityType.isEqual() tests x equals x; should test x equals y (Thierry-Dimitri Roy)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19227 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 18:24:16 +00:00
Steve Ebersole 23dfa3f264 HHH-5083 - Align javadoc styles better with docbook / website
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19226 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 18:16:23 +00:00
Steve Ebersole 7323ab9876 HHH-5102 - Instances of a subclass can't be loaded
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19220 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 14:01:54 +00:00
Gail Badner 780666b65a HHH-1804 HHH-5096 : FetchingScrollableResultsImpl throws SQLException when empty; last() does not move cursor if it is after last
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19217 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-12 18:21:12 +00:00
Sanne Grinovero 643ecc8060 minor javadoc typos
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19195 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-09 07:37:38 +00:00
Gail Badner d2e8d1429b HHH-5063 HHH-5082 : Invalid projections when alias is same as property name; QueryException thrown when grouping by component
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19183 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-08 00:24:12 +00:00
Steve Ebersole 835ae2c0bf HHH-3997 - Build javadocs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19182 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-07 22:46:58 +00:00
Strong Liu 6d1e51a26d HHH-5045 org.hibernate.test.hql.HQLTest failure running testConcatenation with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19170 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-05 14:08:35 +00:00
Strong Liu 42cd240d2a HHH-5003 IngresDialect requires query substitutions for boolean values
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19168 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-05 13:37:52 +00:00
Steve Ebersole 6fdc0c0c69 Updating pom versions to 3.5.1-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19149 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:39:24 +00:00
Steve Ebersole adffa64173 Updating pom versions to 3.5.0-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19147 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:38:40 +00:00
Steve Ebersole bec1835baf HHH-4870 - Cannot determine java-type from given member [null]
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19141 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 19:36:43 +00:00
Gail Badner fe7d83566c HHH-2088 : TypeMismatchException on object equality expression from one-to-one relationship
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19136 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 01:05:18 +00:00
Strong Liu 374d6ff693 HHH-4998 org.hibernate.test.hql.ASTParserLoadingTest failure running testStr with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19122 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-28 15:48:54 +00:00
Gail Badner b185946c81 DefaultMergeEventListener does not call Interceptor.instantiate() for a new persistent entity (Francesco Degrassi)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19117 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-26 22:53:04 +00:00
Gail Badner 3ad551a88a HHH-1088 : Add support for projections using composite keys and components
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19110 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 19:18:08 +00:00
Strong Liu 186e9fc115 HHH-4907 Support for tuple syntax in HQL/Criteria on databases which do not support tuple syntax
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19109 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 18:24:39 +00:00
Steve Ebersole f9949b0295 HHH-5009 - Support NOWAIT for "SELECT ... FOR UPDATE" with JPA interfaces
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19095 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 14:37:56 +00:00
Emmanuel Bernard 8bd2ab12ec HHH-4989 Use a JDK 5 concurrent safe statistics impl when required classes are present, fallback to the existing one otherwise (Alex Snaps)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19094 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 12:18:25 +00:00
Steve Ebersole 4404b78be8 HHH-5008 - Log query lock mode in EntityLoader constructor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19075 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 17:58:43 +00:00
Strong Liu 2796240cf5 HHH-2997 LikeExpression case sensitive not working properly
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19026 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-18 21:49:48 +00:00
Strong Liu e0694c871b HHH-4946 org.hibernate.test.legacy.FooBarTests testLimit failure with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18999 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-15 12:49:58 +00:00
Gail Badner 9f1444eb15 HHH-4993 : Updates to read-only entity associations made while in persistent state are ignored by flush
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18954 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 10:25:03 +00:00
Gail Badner 268e778d5c HHH-4958 : Immutable entity snapshot is retained after insert
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18953 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 09:59:43 +00:00
Strong Liu e699570e60 HHH-4931 improve Ingres dialect supports
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18948 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-09 21:02:15 +00:00
Steve Ebersole 97444b2d2d Updating pom versions to 3.5.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18879 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:50:02 +00:00
Steve Ebersole 9bba4e970b Updating pom versions to 3.5.0-CR-2 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18877 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:49:36 +00:00
Gail Badner 3df8bc5712 HHH-4809 : Immutable entities added to a session have Status.MANAGED unless loaded by the Session
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18873 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 21:20:26 +00:00
Gail Badner d26e4f1cad HHH-4948 : Session.flush() does not always cascade save or update to read-only or immutable entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18872 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 20:21:08 +00:00
Gail Badner 863f6a8fb7 HHH-4948 : Session.flush() does not always cascade save or update to read-only or immutable entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18866 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 00:11:24 +00:00
Gail Badner d44d367134 HHH-4810 : Persistent immutable and read-only entities are updated before being deleted
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18864 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 22:18:43 +00:00
Strong Liu 2b43c74780 HHH-4825 mapping order impacting behavior leading to bug
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18861 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 21:45:34 +00:00
Scott Marlow f84f262013 HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18854 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 01:12:57 +00:00
Scott Marlow 32e3b9c2c9 HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18853 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 01:06:16 +00:00
Scott Marlow 02451f12fb HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18852 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 23:27:16 +00:00
Strong Liu 230f173146 correct javadoc typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18845 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:30:08 +00:00
Strong Liu 9cab0f821f correct typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18844 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:17:21 +00:00
Strong Liu 27b173b7ec correct javadoc typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18843 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:10:58 +00:00
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