Commit Graph

1286 Commits

Author SHA1 Message Date
Hardy Ferentschik e95ae257d1 HHH-4691 - xml access type support for element collection. As side effect started to suport element-collection in xml. Needs to be completed though.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18522 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 20:14:31 +00:00
Scott Marlow 9d49153a93 HHH-4679 Make sure @AssociationOverride support the dot notation.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18521 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 19:44:37 +00:00
Scott Marlow 87cf4555f6 HHH-4679 Make sure @AssociationOverride support the dot notation. Package name change.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18520 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 19:40:17 +00:00
Hardy Ferentschik 4224e74d1a HHH-4691 - xml access type support for embedded-id and embedded
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18519 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 18:50:42 +00:00
Emmanuel Bernard b1f925458e HHH-4782 supports @AssociationOverride.joinTable
HHH-4679 add tests for dot notations in @AssocuiationOverride

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18518 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 18:48:42 +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
Scott Marlow d5f9bd5377 HHH-4679 Make sure @AssociationOverride support the dot notation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18515 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 16:03:48 +00:00
JongDae Kim 6015123700 translated!
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18514 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 14:38:09 +00:00
JongDae Kim 59ced3a04e translated!
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18513 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 12:01:32 +00:00
JongDae Kim a44a126de6 translated!
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18512 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 11:36:49 +00:00
Gail Badner 863ac2ead6 HHH-4781 : Added unit test showing a read-only entity that is refreshed is changed to modifiable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18511 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 08:15:15 +00:00
Scott Marlow 45d0e696b4 HHH-4598 An embeddable class may contains collection of basic types or embeddable objects
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18510 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 01:16:55 +00:00
Steve Ebersole bec0f8046e HHH-4590 - CASTs from CriteriaBuilder.toXXX methods still need to be fleshed out
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18509 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 23:46:47 +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
Hardy Ferentschik 50cbcd3e00 HHH-4691 - xml test files for access configuration via xml
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18507 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 20:27:12 +00:00
Hardy Ferentschik 1c25ab12ef HHH-4691 - Added support for access tye configuration via xml
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18506 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-11 20:23:08 +00:00
Strong Liu b4caf0b909 HHH-4777 HHH-4532 org.hibernate.ejb.test.PackagedEntityManagerTest.testOverridenPar() hard code hsqldb connection info
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18500 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-10 15:18:02 +00:00
Strong Liu 784884b9fe HHH-4777 HHH-4532 org.hibernate.ejb.test.PackagedEntityManagerTest.testOverridenPar() hard code hsqldb connection info
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18499 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-10 15:16:34 +00:00
Steve Ebersole b5597882ce HHH-4776 - Add a NullLiteralExpression for CriteriaBuilder#nullLiteral
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18492 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 20:26:40 +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
Steve Ebersole 0f96757d1a HHH-4774 - Do not handle literals using parameters in JPA criteria select
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18486 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 18:01:20 +00:00
Steve Ebersole 6b6cee1b31 HHH-4775 - CriteriaBuilder#notEqual being interpreted oppositely
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18484 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 17:32:34 +00:00
Steve Ebersole 20b78f45a7 HHH-4772 - Empty conjunction/disjunction in criteria does not follow spec rules
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18483 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 17:04:55 +00:00
Steve Ebersole 5263d4c12a HHH-4774 - Do not handle literals using parameters in JPA criteria select
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18482 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 16:44:59 +00:00
Steve Ebersole c0636fee4c HHH-4768 - Bug in how Criteria Subquery correlations are handled
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18481 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-09 16:24:44 +00:00
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