Commit Graph

495 Commits

Author SHA1 Message Date
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