Commit Graph

1335 Commits

Author SHA1 Message Date
Hardy Ferentschik 1a090752a3 HHH-4822 - Added @FailureExpected to annotations module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18594 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 20:18:56 +00:00
Steve Ebersole 2f3a967c65 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18593 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 19:16:38 +00:00
Emmanuel Bernard 63dcdf0620 HHH-4529 clean tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18592 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 18:48:20 +00:00
Emmanuel Bernard f2e8773d35 HHH-4529 add test for one to one and embedded id
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18591 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 18:42:49 +00:00
Emmanuel Bernard 01720257b2 HHH-4529 Add support for @EmbeddedId
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18590 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 18:36:34 +00:00
Emmanuel Bernard fd389b913e HHH-4529 support @ManyToOne and fix FK error
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18589 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 16:51:02 +00:00
Ståle W. Pedersen e655b54eb8 [HHH-4552]
added multiple generated values to the test


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18588 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 15:35:26 +00:00
Emmanuel Bernard cd3c152f44 HHH-4529 FK constraint is now generated
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18586 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 11:48:08 +00:00
Hardy Ferentschik 76f2f88038 HHH-4651 - Add support for EntityManager properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18585 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 22:16:05 +00:00
Hardy Ferentschik 6efce46709 Removed unused import statements
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18584 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 21:52:23 +00:00
Emmanuel Bernard 6588ede3a7 HHH-4529 Support for basic @MapsId on simple id on both parent and derived (example 4.a). However I am losing the creation of the FK constraint.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18583 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 18:57:19 +00:00
Steve Ebersole aa9dd93555 HHH-4552 - Support generated value within composite keys
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18582 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 18:50:29 +00:00
Scott Marlow 63d5a97854 HHH-4725 implement orphanRemoval for OneToOne.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18581 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 15:43:00 +00:00
Steve Ebersole e474a00c4a HHH-4669 - Implement JDBC driver properties support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18578 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 03:09:22 +00:00
Steve Ebersole 6eb54445aa HHH-4816 - Cleanup JPA setting name constants
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18577 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 22:05:16 +00:00
Adam Warski c9b7d112b8 HHH-4793: enabling test after fixes in core/annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18576 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 21:27:25 +00:00
Hardy Ferentschik edb211e8af HHH-4813 - annotation and entitymanager module should use the maven-injection-plugin to generate version string
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18575 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 19:17:27 +00:00
Steve Ebersole 55cd2ee2a2 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18573 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 18:27:12 +00:00
Steve Ebersole 6cfc0c043d HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18571 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 15:18:16 +00:00
Steve Ebersole f163e9fd94 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18569 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-16 21:04:34 +00:00
Steve Ebersole 29152a8390 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18568 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-16 20:27:04 +00:00
Hardy Ferentschik 7fa50f7a18 HHH-4677 - just some import cleanups and addition of source headers. no code changes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18567 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 20:59:56 +00:00
Emmanuel Bernard ecbe5dd854 HHH-4805 take better care of generics.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18566 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 18:47:54 +00:00
Emmanuel Bernard 9b38bca8ea HHH-4807 only switch CHECK_NULLABILITY's default if Bean Validation is in the class path
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18563 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 12:57:47 +00:00
Emmanuel Bernard f93b0441b7 HHH-4806 Wrap all .commit() exceptions in a RollbackException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18562 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 12:53:35 +00:00
Emmanuel Bernard c8c9263918 HHH-4797 Ignore backref properties for JPA 2 model
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18561 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 10:47:18 +00:00
Steve Ebersole 56f6941260 HHH-4726 - Add support for delete-orphan cascading to <one-to-one/>
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18560 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 05:38:57 +00:00
Hardy Ferentschik d23a4a4fd3 HHH-4527 added some doc updates
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18559 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 21:32:33 +00:00
Hardy Ferentschik f45fceece0 HHH-4789 Made sure that the plugins are configured in the parent pom. Made the em docbook generation work. xml formatting
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18558 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 19:30:04 +00:00
Scott Marlow b150dc76ae HHH-4725 implement orphanRemoval for OneToOne and HHH-4726 Add support for delete-orphan cascading to one-to-one
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18557 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 19:10:50 +00:00
Emmanuel Bernard 8146ab3f9e Add more test on ConstraintViolationException and transaction behavior
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18556 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 15:20:50 +00:00
Emmanuel Bernard ae34143257 Bump version numbers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18555 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 10:33:11 +00:00
Emmanuel Bernard b520a4a11e HHH-4796 fix NPE when an @AssociationOverride joinColumn is set but no @AssociationOverride joinTable is on a given property
Fix minor issues

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18554 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 10:18:00 +00:00
Hardy Ferentschik 79bb60ea89 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18552 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 02:01:24 +00:00
Hardy Ferentschik 1f8019b3fc Version upgrade for preperation of 3.5.0-Beta-3 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18550 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 01:34:37 +00:00
Steve Ebersole 2e3fb18af2 prep 3.5.0-Beta-3
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18549 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 00:07:37 +00:00
Steve Ebersole 062c5b6ccc HHH-4791 - Invalid assumption made in org.hibernate.envers.tools.Tools#getTargetFromProxy
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18548 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 00:04:32 +00:00
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