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
Emmanuel Bernard
7daca69d7e
HHH-4692 add orm_2_0.xml
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18227 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 17:15:33 +00:00
Steve Ebersole
b5fb73c5ee
HHH-4672 - Upgrade JPA dependency to hibernate-jpa-2.0-api-1.0.0-CR-1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18216 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-12 23:56:45 +00:00
Hardy Ferentschik
025b3cc141
HHH-4527
...
No functional changes yet. Just some cleanup and refactoring (extract method, encapsulate field)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18211 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 19:14:01 +00:00
Emmanuel Bernard
36fddaf4fc
add test on Bean Validation in HEM
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18206 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 09:12:10 +00:00
Emmanuel Bernard
ba3639a25a
HHH-4657 add support for DETACH
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18191 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 09:32:25 +00:00
Emmanuel Bernard
8eb02db44c
HHH-4649 Properly bind Environment#GLOBALLY_QUOTED_IDENTIFIERS to orm.xml <delimited-identifier/>
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18159 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 14:20:56 +00:00
Steve Ebersole
6b9e796074
HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18158 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 13:14:47 +00:00
Steve Ebersole
a2bf14ae7c
HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18148 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-06 22:20:58 +00:00
Emmanuel Bernard
6458ff4771
minor doc enhancement
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18103 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-30 16:50:25 +00:00
Emmanuel Bernard
1ca018960e
HHH-3164 add test
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18026 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-23 18:08:09 +00:00
Hardy Ferentschik
546b13a7dd
HHH-4529 Added some test entities
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17992 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-16 14:52:30 +00:00
Steve Ebersole
3ac574d7da
HHH-2990 - Bad usage of ClassLoader.loadClass() for Java6 in SerializationHelper$CustomObjectInputStream - deserialization bottleneck for arrays
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17978 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 19:04:09 +00:00
Hardy Ferentschik
5379d952d4
HHH-4573
...
ComponentTupilzer - typo in doc
CompositeIdTest, TvMagazinPk - test cleanup
DynamicComponentTupilzer - import cleanup
Ejb3* - Added toString() implementations and changed logging string
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17977 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 18:15:10 +00:00
Hardy Ferentschik
2db1718bf7
HHH-4566 Added test scope to the jaxb dependencies
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17957 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-11 16:50:34 +00:00
Hardy Ferentschik
1bd95b3c1c
updated to the latest HV version
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17943 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-06 13:20:10 +00:00
Steve Ebersole
5ecfeb5cb8
prep 3.5.0-Beta-2 by hand because maven rocks
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17892 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 18:20:40 +00:00
Steve Ebersole
c42e871b95
prep 3.5.0-Beta-2 by hand because maven rocks
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17890 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 18:09:43 +00:00
Emmanuel Bernard
fb9bdb7f38
HHH-4533 Populate the JPA 2 metamodel with the new mapping.MappedSuperclass metadata
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17879 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 18:57:24 +00:00
Hardy Ferentschik
fceda002d0
Removed link to issue tracker. Defined in parent
...
Updated BV version
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17878 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 17:22:00 +00:00
Emmanuel Bernard
1352b5e25f
HHH-4533 move metamodel storage to Hibernate Core
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17873 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 00:36:07 +00:00
Emmanuel Bernard
f795bd31e4
HHH-4533 move metamodel storage to Hibernate Core
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17872 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 00:13:24 +00:00
Emmanuel Bernard
c7c6981a55
HHH-4533 add representation for @MappedSuperclass in the Hibernate Core metamodel and properly populate this model extension in Hibernate Annotations
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17871 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 18:14:25 +00:00
Sharath Reddy
a1e8d7cb0d
HHH-4332 Filters for MappedSuperClass
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17859 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-28 10:57:21 +00:00
Hardy Ferentschik
2176af1144
HHH-4528 - Applied patch (with minor cleanup)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17849 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-27 15:05:44 +00:00
Hardy Ferentschik
d9c931eb2f
HHH-4530
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17846 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-27 09:36:55 +00:00
Sharath Reddy
b61332b10b
HHH-4288 Filters on collections are ignored
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17829 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-23 17:07:50 +00:00
Emmanuel Bernard
61e225e2c5
better log
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17825 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-23 13:33:58 +00:00
Hardy Ferentschik
11a87b6965
HHH-4513
...
Made sure hibernate.validator.apply_to_ddl property is honored
Also changed BeanValidationGroupsTest to work against other databases than HSQLDB
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17818 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-22 11:10:31 +00:00
Sharath Reddy
85792a42d2
HHH-4473 Create documentation to explain the usage of the new 'defaultForType' attribute of the TypeDef annotation
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17817 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-22 10:02:12 +00:00
Sharath Reddy
d26c002258
HHH-4512 TypeDef annotation should support both 'name' and 'defaultForType' attributes
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17814 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-21 17:16:57 +00:00
Strong Liu
71d0acb6b0
HHH-4503 Sybase - Annotations - unit tests using LOBs fail
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17796 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-19 15:44:44 +00:00
Juraci Krohling
dba93d5753
HHH-4502 - Moved database profiles to parent/pom.xml and updated to use latest available resources in the lab
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17795 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-19 14:16:26 +00:00
Strong Liu
3f3bb321ca
HHH-4500 MSSQL, Oracle - Mapping inconsistency
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17790 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-19 13:15:07 +00:00
Hardy Ferentschik
95285ad109
HHH-4498
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17779 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-16 13:22:28 +00:00
Hardy Ferentschik
6613dce0cb
HHH-4497
...
Skipping ManyToOneWithFormulaTest.testManyToOneToPkWithOnlyFormula for now. Added a SkipForDialectAnnotation as counterpart for RequiresDialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17778 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-16 13:02:53 +00:00
Steve Ebersole
bbe65a9be4
Update jpa-api to 2.0-cr-1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17768 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-15 18:50:41 +00:00
Steve Ebersole
36dbd3a06e
HHH-2412 - Support for JDBC4
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17767 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-15 16:26:26 +00:00
Strong Liu
b5325a5752
HHH-4397 Split test involving database specific features (like sequence / identity)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17737 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-14 05:32:56 +00:00
Strong Liu
6ddd9690a5
HHH-4397 Split test involving database specific features (like sequence / identity)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17734 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-14 04:18:35 +00:00
Strong Liu
766a044dc3
HHH-4397 Split test involving database specific features (like sequence / identity)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17726 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 15:57:41 +00:00
Hardy Ferentschik
dba4de2d26
HHH-4415 removed the ambigous dialect instance variable in TestCase. Instead use the static method Dialect.getDialect
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17713 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-13 09:20:40 +00:00
Hardy Ferentschik
a8047fe21a
HHH-4415
...
Made sure that the the superclass dialect is checked.
Did not apply provided patch though.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17692 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-12 14:08:37 +00:00
Strong Liu
ea91bf00a0
HHH-4405 Integrate new long string and binary property types in core with annotations
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17685 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-10 16:10:38 +00:00
Emmanuel Bernard
4edcb6290b
HHH-4382 HHH-4479 support formula as join columns with annotations (needs doc still( (Sharath Reddy)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17680 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-09 15:58:31 +00:00
Emmanuel Bernard
dbcf806b7e
HHH-4364 add tests for superclasses
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17629 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 09:21:51 +00:00
Emmanuel Bernard
202b5faf70
HHH-4232 add missing test
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17628 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 08:18:12 +00:00
Emmanuel Bernard
4c62467d4d
HHH-3000 Allow a TypeDef to be associated with a class (Sharath Reddy)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17627 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 08:15:27 +00:00
Emmanuel Bernard
c6a32b933d
HHH-3000 Allow a TypeDef to be associated with a class (Sharath Reddy)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17626 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-06 07:50:35 +00:00
Hardy Ferentschik
e1f0574cd1
HV-232
...
Added no-arg constructor to listener.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17551 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-28 11:42:48 +00:00
Emmanuel Bernard
8eeaaeb286
Fix unsafe use and copy data to Set<ConstraintViolation<?>>
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17534 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-23 16:25:07 +00:00
Emmanuel Bernard
8cc9e9d5fd
HHH-4232 TypeDef support when used on @Embeddable or @MappedSuperClass classes
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17531 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-22 17:43:48 +00:00
Emmanuel Bernard
88caf4d958
HHH-4364 support @NamedQuery on a @MappedSuperclass (Sharath Reddy)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17530 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-22 17:19:24 +00:00
Hardy Ferentschik
b8da757937
JBPAPP-1075 - Removed the @JoinColumn mappings. Thought not wrong per se they cause some wrong table creation scripts. Removing them circumvents this problem without affecting the test.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17527 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-18 09:06:47 +00:00
Hardy Ferentschik
4dc46db783
JBPAPP-1075 - Removed unique constraint on order number.
...
Also removed an empty test method.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17524 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-17 17:36:24 +00:00
Hardy Ferentschik
599ffd7992
JBPAPP-1075 - Removed the unique contraint the GROUPS_PERMISSIONS table.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17492 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:44:27 +00:00
Hardy Ferentschik
0f807c6029
Upgraded hibernate-validator dependency 4.0.0.CR1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17491 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:18:02 +00:00
Hardy Ferentschik
d8342f4a7a
Fixed some typos and cleaned up the import list
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17490 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 13:17:06 +00:00
Steve Ebersole
85c34f356a
restting pom versions to SNAPSHOT after manual tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17373 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 21:10:09 +00:00
Steve Ebersole
122aa3f7e4
[maven-release-plugin] prepare branch hibernate-3.5.0.Beta-1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:24:23 +00:00
Steve Ebersole
cb337e6f2c
[maven-release-plugin] rollback the release of hibernate-3.5.0.Beta-1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17370 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:04:32 +00:00
Steve Ebersole
677ed6f9c9
[maven-release-plugin] prepare release hibernate-3.5.0.Beta-1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17369 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:00:59 +00:00
Steve Ebersole
33d5534b14
[maven-release-plugin] rollback the release of hibernate-3.5.0.Beta-1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17364 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 15:02:46 +00:00
Steve Ebersole
bcecf23302
[maven-release-plugin] prepare release hibernate-3.5.0.Beta-1
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17349 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-18 13:48:31 +00:00
Steve Ebersole
fea4cf1ce0
set jpa-api and hibernate-commons-annotations versions to use
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17327 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-15 20:51:45 +00:00
Steve Ebersole
463ff57c61
moved to separately released hibernate-commons-annotations; moved validation versions to dependencyManagement
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17325 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-15 20:38:36 +00:00
Emmanuel Bernard
c317edd28f
Make commons annotation independent from core.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17308 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-15 16:31:51 +00:00
Emmanuel Bernard
5f27074c73
Set version number to 3.5.0.Beta1 for log display
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17304 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-14 17:26:52 +00:00
Emmanuel Bernard
442286580c
use BV 1.0.CR4 and HV 4.0.0.Beta3
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17303 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-14 17:25:13 +00:00
Emmanuel Bernard
eeb136fa71
ANN-860 implement @OrderColumn
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17192 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-22 20:40:50 +00:00