Commit Graph

276 Commits

Author SHA1 Message Date
Emmanuel Bernard 3d911bd658 HHH-4887 force PERSIST cascading when @XToOne is used in a @IdClass case.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18730 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 13:22:43 +00:00
Emmanuel Bernard 8478d5b44b HHH-4848 finish support for derived identity Yeah! More specifically @IdClass on dependent where the @IdClass points to the associated entity id type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18708 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 23:33:28 +00:00
Steve Ebersole ccad83c774 HHH-4884 - Fix binding of @TableGenerator#initialValue into org.hibernate.id.enhanced.TableGenerator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18707 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 22:02:36 +00:00
Steve Ebersole 4a72e7096f HHH-4883 - Unable to join across a component
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18706 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 21:51:24 +00:00
Steve Ebersole 5c16c01064 HHH-4884 - Fix binding of @TableGenerator#initialValue into org.hibernate.id.enhanced.TableGenerator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18704 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 18:28:39 +00:00
Emmanuel Bernard 5ad11ba2a1 HHH-4848 Add more of the spec test for derived identity and @IdClass. Missing example 5.a and example 6.a (bug at the moment)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18702 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 14:37:34 +00:00
Steve Ebersole 53b1890c1b HHH-4848 - Derived identities: Derived entities using @IdClass and mapping a @XToOne are not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18698 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 02:42:55 +00:00
Steve Ebersole b3b9482292 HHH-4599 - An embeddable class may contain ToOne or ToMany associations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18695 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 19:32:54 +00:00
Emmanuel Bernard 252299cfee HHH-4848 partial implementation of @IdClass support in derivedidentity (example 1 case a of the spec)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18692 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 17:54:05 +00:00
Strong Liu cffff168b3 HHH-4317 Memory leak in EnumType class
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18689 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 10:57:52 +00:00
Steve Ebersole c86d471453 HHH-4861 - Allow lookup by the "simple" pk type of "parent entity" in "derived identities" cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18686 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 06:58:46 +00:00
Gail Badner 0530b809d8 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18668 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:57:52 +00:00
Gail Badner 18ed315b62 prep 3.5.0-Beta-4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18666 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:46:30 +00:00
Steve Ebersole b52cdc9523 HHH-4862 - quoted column/alias names not properly handled in org.hibernate.loader.EntityAliases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-28 22:04:20 +00:00
Steve Ebersole 4ac6062cf1 HHH-4862 - column name quoting not properly handled for javax.persistence.ColumnResult
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18662 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-28 01:31:45 +00:00
Emmanuel Bernard c1fb90d575 HHH-4849 honor default join column names for @MapsId propertie including on ids with multiple columns
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18659 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 23:29:24 +00:00
Emmanuel Bernard 016a02ff50 HHH-4858 add implicit PERSIST cascade when @MapsId is present
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18656 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 18:58:28 +00:00
Emmanuel Bernard 66072429f4 HHH-4849 honor default join column names for @MapsId properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18655 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 18:46:51 +00:00
Emmanuel Bernard 3e766c1397 HHH-4855 globally quoting identifiers was incorrectly considered an actual table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18653 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 17:22:13 +00:00
Emmanuel Bernard ce70a30710 HHH-4851 Fix incorrect org.hibernate.PropertyValueException due to incorrect metamodel generation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18645 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 14:31:57 +00:00
Steve Ebersole 4ec26fa4cf HHH-4690 - Consider adding a flag for legacy/new generators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18642 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 08:00:27 +00:00
Steve Ebersole 3b536fa6f6 HHH-4552 - Support generated value within composite keys
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18640 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 21:49:51 +00:00
Steve Ebersole 091c2d2269 HHH-4822 - Add @FailureExpected annotation to annotations and entitymananger modules to allow the skipping of tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18638 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 20:11:51 +00:00
Steve Ebersole 7f8c1896e4 HHH-4678 - Apply PersistenceUnitInfo#getSharedCacheMode and #getValidationMode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18636 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 18:36:59 +00:00
Emmanuel Bernard 7c72886f6e HHH-4529 Add support for id copy when @MapsId is used.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18633 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 17:15:37 +00:00
Ståle W. Pedersen 2adcb4d926 [HHH-4552] generatedvalue for compositekeys are now parsed and added to the id properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18629 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 13:39:26 +00:00
Emmanuel Bernard 41ad6c01fd HHH-4529 Add support for parent's id as EmbeddedId and derived entity reusing the same PK class than the parent
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18628 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 13:30:32 +00:00
Emmanuel Bernard 9f85525e45 HHH-4529 Add support for parent's id as IdClass and derived entity reusing the same PK class than the parent
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18627 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 13:26:07 +00:00
Emmanuel Bernard eef482fb15 HHH-4529 add tests for parent class @EmbeddedId and derived class @EmbeddedId
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18626 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 13:08:02 +00:00
Emmanuel Bernard 5ee9ba361c HHH-4529 Add support for parent's id being an IdClass or an EmbeddedId (last case not tested yet). (example e2.b)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18625 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 12:57:01 +00:00
Emmanuel Bernard f251abe5de HHH-4529 add new test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18620 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-25 17:57:07 +00:00
Emmanuel Bernard d00f7efb30 HHH-4529 support for derived entity id as a XToOne pointing to the master entity
HHH-4840 support for Core style embedded id (after all these years :) )

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18619 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-25 17:19:05 +00:00
Steve Ebersole 5d8d70036a HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18614 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-24 17:07:28 +00:00
Steve Ebersole 9fc7794134 HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18606 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 12:35:15 +00:00
Steve Ebersole d24ed1a1d3 HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18605 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 07:22:50 +00:00
Hardy Ferentschik 70ddcd81f2 HHH-4822 Added handling of sessions == null in case openSession is called
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18604 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 02:16:10 +00:00
Hardy Ferentschik 7acb557f5b HHH-4822 - Moved the test annotations into the testing module in order to be able to reuse them in entitymanager module.
Also create a common base class for ann and em tests.


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18602 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-21 20:48:59 +00:00
Emmanuel Bernard 8577a68e69 HHH-4529 clean @Id/@EmbeddedId mapping and merge with the regular basic and component mapping to open possibilities for @Id @ManyToOne support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18600 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-21 17:51:09 +00:00
Emmanuel Bernard 174a568f8f Minor
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18599 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-21 13:16:05 +00:00
Emmanuel Bernard dbf1999c26 Move to trace level
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18598 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-21 12:56:06 +00:00
Hardy Ferentschik 57bb8f6b5f HHH-4822 proper placement of the fillStackTrace call
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18597 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 22:33:16 +00:00
Hardy Ferentschik 86989c157e HHH-4822 - Made sure stacktrace is filled in for InvocationTargetException and IllegalAccessException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18596 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-20 21:22:09 +00:00
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
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 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
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
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
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 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
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
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
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
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
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
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 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
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 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 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
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
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
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
Scott Marlow 165f2e5f73 HHH-4601 implement orphanRemoval for OneToMany. OneToOne is not yet done (see HHH-4725)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18318 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-22 18:07:38 +00:00
Emmanuel Bernard a87e031bd5 HHH-4667 accept orm 2 and orm 1 files. Also improved error reports
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18263 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-18 10:02:26 +00:00
Hardy Ferentschik 4a9d8dcf0b HHH-4527 - first cut for supporting JPA2 @Access annotation. Not quite complete and needs some more tests.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18260 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 21:14:07 +00:00
Emmanuel Bernard fbf7b91d4d HHH-4711 HHH-4667 validate persistence.xml and make sure it works for both persistence_1_0.xsd and persistence_2_0.xsd
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18259 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-17 15:34:04 +00:00