Commit Graph

292 Commits

Author SHA1 Message Date
Steve Ebersole e1acc33bb6 HHH-5182 - Inject SessionFactory into "non-basic" Types
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19374 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-06 01:05:26 +00:00
Steve Ebersole 421789ddcd HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 18:20:26 +00:00
Sharath Reddy 57ab192b1b HHH-5171 Allow usage of standalone @JoinFormula annotation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19320 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-28 18:01:12 +00:00
Gail Badner 1c556dc775 HHH-4991 ; ManyToMany table not joined due to max_fetch_depth parameter, results to SQL exceptions
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19312 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-28 04:32:00 +00:00
Strong Liu 3c2ecd8afa HHH-4773 @CollectionId does not force the id column to not-null
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19309 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-27 08:40:55 +00:00
Sharath Reddy b912a95d54 HHH-5109 @OneToOne - too many joins
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19308 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-27 08:38:27 +00:00
Strong Liu 96783f2a7a HHH-4773 revert changes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19305 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-27 08:26:14 +00:00
Emmanuel Bernard 0ff854cabd HHH-5162 Deprecate @Entity.mutable in favor of @Immutable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19294 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-26 16:21:26 +00:00
Strong Liu ce82b844dd HHH-4773 @CollectionId does not force the id column to not-null
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19291 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-26 02:03:34 +00:00
Emmanuel Bernard 7dbbebbce7 Better JavaDoc
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19285 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-23 17:04:00 +00:00
Emmanuel Bernard 52495816de HHH-4968 Do not activate Bean Validation listeners when only DDL is requested (Vladimir Klyushnikov).
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19267 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-21 13:37:39 +00:00
Emmanuel Bernard ccadc9a406 HHH-4968 do not activate Bean Validation listeners when only DDL is requested.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19266 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-21 13:26:17 +00:00
Steve Ebersole 37d40d4aa4 [maven-release-plugin] prepare release Branch_3_5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19256 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-21 01:58:27 +00:00
Emmanuel Bernard 422ecc653a HHH-5125 Raise proper exception when @Entity and @MappedSuperclass are present on the same class
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19241 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-16 10:11:32 +00:00
Emmanuel Bernard 5da56b7881 HHH-5069 update setup sections to reflect new distribution packages.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19240 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-15 09:37:36 +00:00
Steve Ebersole 4470ebcd4d Updating pom versions to 3.5.2-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19238 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:44 +00:00
Steve Ebersole 9a5dfa9ff8 Updating pom versions to 3.5.1-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:13 +00:00
Steve Ebersole c47267d3bb HHH-5059 - callouts and programlistings with highlighting
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19232 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 16:27:11 +00:00
Emmanuel Bernard 2b4acb916e HHH-5116 Remove copyrighted fonts from annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19231 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 15:06:26 +00:00
Emmanuel Bernard bd9e6b1969 Clean import
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19221 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 14:58:16 +00:00
Steve Ebersole 7323ab9876 HHH-5102 - Instances of a subclass can't be loaded
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19220 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 14:01:54 +00:00
Strong Liu d4de388e61 HHH-5103 Specifying the referencedColumnName in a @JoinColumn in backtics like fails
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19218 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 08:51:33 +00:00
Steve Ebersole 6fdc0c0c69 Updating pom versions to 3.5.1-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19149 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:39:24 +00:00
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