Commit Graph

1298 Commits

Author SHA1 Message Date
Steve Ebersole 69d7a853f1 HHH-4790 - Envers test failing, disabling for beta-3 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18547 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 23:59:03 +00:00
Hardy Ferentschik b21e94fefd HHH-4788
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18546 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 21:26:58 +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
Scott Marlow 9256bc30e5 HHH-4685 Make sure bidirectional @*To* works from an embedded object to another entity
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18543 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 19:35:54 +00:00
Hardy Ferentschik e8df1d1579 HHH-4282 Added the test attched to the jira issue to ensure the problems is really fixed by HHH-4528
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18542 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 18:04:02 +00:00
Steve Ebersole 8ebda8540a HHH-4785 - BinaryArithmeticOperation reverses incoming arguments
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18538 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 12:47:55 +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
Hardy Ferentschik 8bed8a1c22 HHH-4783
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18524 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 21:00:11 +00:00
Scott Marlow d86de21e15 HHH-4679 Make sure @AssociationOverride support the dot notation.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18523 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-12 20:19:32 +00:00
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