Steve Ebersole
adffa64173
Updating pom versions to 3.5.0-Final for release tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19147 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:38:40 +00:00
misty
bd1a05ac93
Propagaged changes for JIRA HHH-5047
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19142 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 00:52:35 +00:00
Steve Ebersole
bec1835baf
HHH-4870 - Cannot determine java-type from given member [null]
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19141 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 19:36:43 +00:00
Strong Liu
186e9fc115
HHH-4907 Support for tuple syntax in HQL/Criteria on databases which do not support tuple syntax
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19109 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 18:24:39 +00:00
Emmanuel Bernard
c82908d6f8
HHH-4933 clean the preface of Hibernate Annotations docs
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18958 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 13:21:46 +00:00
Emmanuel Bernard
863f378602
HHH-4933 Move all orm.xml files to orm_2_0.xml except on a few tests for backward compatiblilty
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18951 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 08:42:18 +00:00
Emmanuel Bernard
9be297241d
HHH-4933 move to jHighlighting
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18940 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-09 14:49:39 +00:00
Emmanuel Bernard
afac90b244
HHH-4933 use jHighlighter to align with core
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18934 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-08 18:24:20 +00:00
Hardy Ferentschik
37dae12a8b
HHH-4933 removed all 'label' attributes in sections. they should not be used and they screw up the toc
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18933 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-08 17:56:55 +00:00
Hardy Ferentschik
83196b1099
HHH-4933 fixed some minor typos
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18932 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-08 16:40:44 +00:00
Hardy Ferentschik
9329e59e86
HHH-4812 documentation
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18926 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-05 15:23:34 +00:00
Hardy Ferentschik
153ad753e1
HHH-4812
...
Added @FetchProfile and @FetchProfiles annotations and wired them up. Added also some error handling in the AnnotationBinder.
Refactor the handling of precedence in the AnnotationConfiguration, because I thought I would be reusing it for the fetch profile as well, but in the end decided to jsut implement in a way that xml configured fetch profiles always win over annotation confgured ones.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18924 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-04 21:55:10 +00:00
Emmanuel Bernard
5b595bcf26
HHH-4933 Work on HEM doc, refreshing it for JPA 2. architecture and configuration refreshed
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18923 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-04 18:15:19 +00:00
Emmanuel Bernard
0065a221a3
HHH-4933 Add documentation on caching
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18920 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-03 14:50:25 +00:00
Emmanuel Bernard
6a7727163e
HHH-4933 deprecate legacy annotations, document @ElementCollection, reorganize collection description, remove legacy annotations documentation when a new one is in place
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18915 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-02 22:39:12 +00:00
Emmanuel Bernard
f32f68476b
HHH-4933 Doc on Map and List support
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18911 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-01 13:26:56 +00:00
Emmanuel Bernard
95ab3e5ecc
HHH-4933 minor fixes while reading
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18899 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-26 08:27:46 +00:00
Sharath Reddy
03649bc406
HHH-4374 Subselect. Also implemented Synchronize annotation.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18884 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 13:12:27 +00:00
Steve Ebersole
97444b2d2d
Updating pom versions to 3.5.0-SNAPSHOT for release tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18879 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:50:02 +00:00
Steve Ebersole
9bba4e970b
Updating pom versions to 3.5.0-CR-2 for release tagging
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18877 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:49:36 +00:00
Steve Ebersole
be58b6b386
HHH-4951 - Correct DTD entities for injecting version and date into docs
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18876 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:20:01 +00:00
Hardy Ferentschik
523842514f
HHH-4606 Functionality was actually already there. Just added a test
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18870 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 18:45:11 +00:00
Hardy Ferentschik
7a26f5862c
HHH-4605 - Add support for @OneToMany @JoinColumn in XML
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18869 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 17:11:05 +00:00
Emmanuel Bernard
cd3db638aa
HHH-4933 Write documentation on composite identity, partial generated value and derived identity
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18860 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 19:12:49 +00:00
Hardy Ferentschik
b4e5322cfb
HHH-4942 Refactored JarVistitorTest and PackagedEntityManagerTest to use Shrinkwrap to build the packages needed for the tests. This removed the need for some custom antrun plugin stuff. Also created a baseclass for the packaged tests.
...
HHH-4845 Refactored PersistTest to extend from the main em base test case. This allows the em test to run in forkMode 'once'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18858 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 12:57:17 +00:00
Scott Marlow
02451f12fb
HHH-4662 Implement javax.persistence.query.timeout
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18852 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 23:27:16 +00:00
Emmanuel Bernard
6ca968f0e9
HHH-4933 fix syntax inconsistencies in XML
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18838 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 16:19:05 +00:00
Emmanuel Bernard
994472e77d
HHH-4933 update non core annotatios doc
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18833 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 14:20:36 +00:00
Emmanuel Bernard
b5529c05a5
HHH-4930 drop org. prefix on properties.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18831 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 09:59:16 +00:00
Emmanuel Bernard
b3dca5d4d6
HHH-4911 render referencedColumnName case insensitive
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18794 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 17:22:48 +00:00
Scott Marlow
dafa28812a
only comment change.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18780 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-11 14:49:24 +00:00
Steve Ebersole
7d0258ec55
prepare 3.5.0-CR-1 ++ dev
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18771 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:42:49 +00:00
Steve Ebersole
7a9b5f1781
prep 3.5.0-CR-1 release
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18769 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:17:55 +00:00
Steve Ebersole
341ea5b8f5
HHH-4902 - Handle JPA 2 requirement of setting id attribute to non-null with its equivalent of foreign-generator
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18767 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 17:38:59 +00:00
Ståle W. Pedersen
09d051150c
[HHH-4889]
...
exending the test to try to replicate an error in the specj benchmark
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18762 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 14:35:07 +00:00
Steve Ebersole
aa82fd710c
HHH-4894 - Process composite-id sub-generators PersistentIdentifierGenerator contract(s)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18755 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 21:50:09 +00:00
Steve Ebersole
0255bb79fc
HHH-4895 - query against derived id doesn't return expected result
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18754 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 21:45:15 +00:00
Steve Ebersole
c833f33812
removed commented-out code
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18749 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 19:55:48 +00:00
Steve Ebersole
81fd208898
HHH-4894 - Process composite-id sub-generators PersistentIdentifierGenerator contract(s)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18748 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 19:54:39 +00:00
Scott Marlow
f0cdfa3ac8
HHH-4895 query against derived id doesn't return expected result
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18747 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 19:22:10 +00:00
Steve Ebersole
8b12e759f0
HHH-4704 - Pass session into EntityTuplizer#setIdentifier
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18736 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 21:28:05 +00:00
Emmanuel Bernard
7373796908
HHH-4889 if the @IdClass support the legacy approach ie the reference to the association in the IdClass (as opposed to its pk), treat it the old way
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18732 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 19:14:29 +00:00
Ståle W. Pedersen
817fe52a55
[HHH-4848]
...
added an example that derive from entities not defined with component key
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18731 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 18:44:26 +00:00
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