Commit Graph

1461 Commits

Author SHA1 Message Date
Strong Liu bc5ea8d259 HHH-4769 update test case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18467 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 21:59:05 +00:00
Strong Liu 4276ad99f0 HHH-4764 org.hibernate.test.pagination.PaginationTest.testLimitOffset() fails on oracle and db2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18464 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 20:24:18 +00:00
Strong Liu ee503cfbc6 HHH-4769 In HQL, function ROUND always returns an Integer, it truncate the decimal part of Double number.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18457 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 18:38:17 +00:00
Emmanuel Bernard e44b5f197d HHH-4771 @ElementCollection fk column should default to entityName_columnNameOfOwningId
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18455 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 16:58:56 +00:00
Emmanuel Bernard 1b9394446c HHH-4675 Bean Validation ConstraintViolationException should trigger a tx rollback
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18450 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 10:41:10 +00:00
Steve Ebersole 72778b1a1b HHH-4767 - Bug in how Criteria Subquery selections are handled
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18449 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 06:55:42 +00:00
Steve Ebersole bcada0c1c4 HHH-4766 - Properly support criteria notion of SUM aggregation return types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18448 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 06:10:24 +00:00
Hardy Ferentschik 9d214de88a HHH-4763 Moved the directory creation into a different target
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18447 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 03:51:47 +00:00
Hardy Ferentschik c8e1fbddcf HHH-4763 Moved the metamodel task into build.xml and modified the antrun configuration to allow to run 'mvn antrun:run'. Also combined all antrun calls into one plugin configuration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18446 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-08 03:40:18 +00:00
Steve Ebersole 415c9e9ec3 HHH-4758 - Rename org.hibernate.ejb.criteria.AbstractNode#queryBuilder to #criteriaBuilder
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18445 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 20:49:36 +00:00
Steve Ebersole ef30ca4408 HHH-4724 - query.multiselect() on a CriteriaQuery<Tuple> returns List<Object[]> instead of List<Tuple>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18444 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 20:41:54 +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
Steve Ebersole 84ed210c39 HHH-4756 - javax.persistence.criteria.Path#get should result in *delayed* join rendering
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18436 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 17:58:37 +00:00
Emmanuel Bernard afbf1be5b3 HHH-4686 Implement @MapKeyEnumerated
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18435 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 17:45:29 +00:00
Scott Marlow 9ef2317e28 HHH-4689 Make sure @OrderBy supports dotted notation to point to embedded properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18434 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 17:41:05 +00:00
Emmanuel Bernard a96f7bf729 HHH-4687 implement @MapKeyTemporal
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18433 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 17:33:23 +00:00
Adam Warski 461e2c10ac HHH-4063:
- making the tests working also with maven

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18431 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 14:43:39 +00:00
Adam Warski ae48c83a54 HHH-4063:
- removing unnecessary test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18430 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 14:29:32 +00:00
Adam Warski 23a2e5b3dc HHH-4063:
- applying patch from Hernán Chanfreau - thanks!
- fixing metadata reading for interfaces
- tests when entities are interfaces

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18429 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 14:13:51 +00:00
Emmanuel Bernard 8b061f9933 HHH-4353 support JPA 2 default column naming for collections of basic types (and still honor the legacy approach)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18428 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 13:56:47 +00:00
Scott Marlow b24ea51873 HHH-4688 Make sure @OrderBy works for @ElementCollection. move test case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18427 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 18:49:52 +00:00
Emmanuel Bernard 658df91a5e HHH-4283 fix the incorrect test case and add a proper exception when the user error occurs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18421 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 17:28:23 +00:00
Scott Marlow 99e43e9d14 HHH-4688 Make sure @OrderBy works for @ElementCollection. added test case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18420 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 17:01:04 +00:00
Scott Marlow 71d9459a20 HHH-4688 Make sure @OrderBy works for @ElementCollection. Handle default case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18419 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 16:59:34 +00:00
Hardy Ferentschik bd6a77a0dc HHH-4527 - added another test to verify that @Access specified on embeddable directly gets picked up.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18418 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-06 14:37:38 +00:00
Hardy Ferentschik 2dd470af1f HHH-4527 - added handling of proper default access propagation for class hierarchies and embedded classes (components)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18417 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 21:51:35 +00:00
Scott Marlow 5509ab643d HHH-4684 Make sure @Lob works with @ElementCollection
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18416 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 18:50:48 +00:00
Emmanuel Bernard 39dd795e40 HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement. Legacy names still supported. Fixing NPE in some cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18415 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 18:00:34 +00:00
Scott Marlow a3dd6de70f HHH-4683 Make sure @Enumerated works with @ElementCollection. Added Map test.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18414 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 16:55:15 +00:00
Emmanuel Bernard 76202814a6 HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement. Legacy names still supported.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18413 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 16:11:14 +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
Emmanuel Bernard fc66b8a964 Extract Schema helper methods
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18407 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 09:45:30 +00:00
Scott Marlow 19f9443b6e HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18406 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 03:18:23 +00:00
Scott Marlow 39b098aac3 HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18405 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-05 03:16:05 +00:00
Steve Ebersole 0987b4c06e added '.idea' as svn ignore entry
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18404 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 20:14:42 +00:00
Sharath Reddy d12c535f66 HHH-4653
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18403 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 20:12:33 +00:00
Steve Ebersole ea67575c97 HHH-4663 - Make sure CriteriaQuery is serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18400 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 19:00:01 +00:00
Emmanuel Bernard 43dd13073d HHH-4752 support no prefix on @AttributeOverride and @ElementCollection (legacy "element" prefix used if @CollectionOfElements is used)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18399 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 18:50:45 +00:00
Steve Ebersole 33b7b6c803 HHH-4698 - Better handling of JPA criteria expressions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18398 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 18:16:42 +00:00
Emmanuel Bernard ef1cb9f066 HHH-4352 support for key. and value. for Map and @AttributeOverride. Managed to keep support for legacy names as well.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18393 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 16:47:08 +00:00
Scott Marlow 41b12a6479 HHH-4682 Check that @CollectionTable (or its absence) defaults to the right table/column names
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18392 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-04 16:03:21 +00:00
Strong Liu 763a3ef84b HHH-2166 - Long 'in' lists in queries results in a Java stack overflow exception.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-31 05:48:24 +00:00
Strong Liu 7fb4558c1d HHH-2166 - Long 'in' lists in queries results in a Java stack overflow exception.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18366 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-30 09:08:45 +00:00
Strong Liu 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 01432e3a16 HHH-2166 - remove @Override annotations for 1.4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18350 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 20:12:22 +00:00
Strong Liu 721a90aadc HHH-2166 - Long 'in' lists in queries results in a Java stack overflow exception.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18347 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 19:58:52 +00:00
Strong Liu 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 018d3911cd HHH-4741 org.hibernate.test.filter.DynamicFilterTest.testSqlSyntaxOfFiltersWithUnions fails on MySQL
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18339 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 08:05:58 +00:00
Strong Liu 30422f9320 HHH-2166 update testcase to skip mssql server and oracle due to HHH-1123
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-29 06:28:20 +00:00