Commit Graph

1851 Commits

Author SHA1 Message Date
Gail Badner 77a75a94b5 HHH-2269 : Many-to-one cascade fails with TransientObjectException if inverse collection is CascadeType.DELETE_ORPHAN
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19969 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-20 01:22:12 +00:00
Gail Badner 7293187a01 HHH-3334 : Added FailureExpected test for Cascade-save breaks if parent ID is assigned (delays insert) and child has identity ID (early insert)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19967 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-19 22:09:56 +00:00
Hardy Ferentschik 0b1c720ef6 HHH-5389
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19964 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-16 20:53:11 +00:00
Hardy Ferentschik 12bf2c4ec6 HHH-5153 Added @Filter and @FilterDef to filtering chapter
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19963 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-16 19:46:12 +00:00
Steve Ebersole 1dd65401f3 HHH-5384 - HEM should not register its own Synchronization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19962 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-16 19:04:26 +00:00
Hardy Ferentschik 207a95a49a HHH-5388 Added annotation documentation for named (native) queries, tuplizers and fetch profiles
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19961 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-16 15:27:49 +00:00
Hardy Ferentschik 01a0729cf3 HHH-5155 Added additional modules as chapter 22
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19960 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-16 15:24:32 +00:00
Gail Badner 457f2a9d60 HHH-5267 : Added FailureExpected test for updating one-to-one mapped as delete-orphan while detached
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19959 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-15 23:47:32 +00:00
Hardy Ferentschik 03f6f7fdd8 HHH-5380 Added annotations in the cache configuration mix
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19956 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-15 15:58:43 +00:00
Hardy Ferentschik 6a2d575382 HHH-5379 Added CascadeTypes for annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19954 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-14 19:31:59 +00:00
Steve Ebersole 741ff6c53e HHH-5382 - Upgrade to slf4j 1.6
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19953 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-14 18:59:15 +00:00
Steve Ebersole 04983c2528 HHH-5374 - Upgrade to H2 version 1.2.139
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19952 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-14 18:44:11 +00:00
Steve Ebersole f49096641f HHH-5375 - Move AnnotationConfiguration-added methods to Configuration and deprecate AnnotationConfiguration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19944 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-13 16:53:46 +00:00
Hardy Ferentschik 29c16a5ff3 HHH-5150 Added the properties hibernate.id.new_generator_mappings and hibernate.cache.default_cache_concurrency_strategy to the configuration poroperties section
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19942 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-13 13:55:32 +00:00
Hardy Ferentschik 22131bd2e5 HHH-4945
* Removed obsolete testcase EJB3TestCase.
* Removed obsolete FlushTest (not clear what it really tested)
* Updated GetLoadTest and MergeTest to depend on ejb TestCase

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19941 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-13 10:40:39 +00:00
Steve Ebersole e197d208b6 HHH-5373 - Better account for SQLWarnings in temp table creation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19931 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-11 22:16:38 +00:00
Steve Ebersole 21b68ef40f HHH-5370 - Building IN condition with CriteriaBuilder providing collection of values not working.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19930 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-10 13:48:34 +00:00
Adam Warski b50d8268d5 HHH-5315:
- work units executed both in the before tx completion process and in the synchronization
- each test class has its own H2 database
- tests in a JTA environment

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19928 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-10 12:48:19 +00:00
Steve Ebersole 8ff871941d HHH-5367 - Move annotations module sources into core module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19927 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-09 18:03:11 +00:00
Steve Ebersole e12bb146b4 HHH-5366 - Move annotations module tests into testsuite module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19926 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-09 17:55:59 +00:00
Steve Ebersole 3e4b274cee HHH-5366 - Move annotations module tests into testsuite module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19925 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-09 17:52:47 +00:00
Steve Ebersole df184979ed HHH-5367 - Move annotations module sources into core module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19922 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 23:56:18 +00:00
Steve Ebersole 1ca2bc19a5 HHH-5367 - Move annotations module sources into core module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19921 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 23:41:23 +00:00
Steve Ebersole cc3b41a09c HHH-5357 - Rename hibernate-testing packages
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19920 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 17:32:44 +00:00
Steve Ebersole 3a3dd1f1cc HHH-4240 - SecondaryTables not recognized when using JOINED inheritance (missed declaring Company entity)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19919 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 16:11:34 +00:00
Galder Zamarreno 76cc4c27e4 [HHH-5362] (Upgrade trunk to latest Infinispan 4.1) Updated to 4.1.0.CR1.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19918 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 14:08:58 +00:00
Hardy Ferentschik cb2993cfbb HHH-5334 Fixed bug in MetaDataCache.findMember
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19917 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 09:49:37 +00:00
Steve Ebersole d40d1edb09 cleanup unused directories
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19913 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-07 20:30:20 +00:00
Steve Ebersole f1b9e38bee cleaned up unused directory
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19912 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-07 20:02:06 +00:00
Steve Ebersole 2075bfc425 HHH-5358 - Merge jmx module back into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19911 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-07 20:00:04 +00:00
Steve Ebersole 30f384d224 HHH-5357 - Rename hibernate-testing packages
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19910 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-07 19:39:23 +00:00
Sharath Reddy 7697640089 HHH-4240 - SecondaryTables not recognized when using JOINED inheritance
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19908 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-07 14:05:01 +00:00
Galder Zamarreno 80b082086e [HHH-5260] (Allow query region name specific eviction settings) Ported to trunk.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19901 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-05 17:36:04 +00:00
Adam Warski 6e57774e42 HHH-4716:
- applying patch - thanks to Hernan Chanfreau!
- supporting the entity-name concept of Hibernate - when guessing from the class name doesn't work

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19899 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-05 17:04:29 +00:00
Sharath Reddy 41ca853f36 HHH-4250 : @ManyToOne - @OneToMany doesn't work with @Inheritance(strategy= InheritanceType.JOINED)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19895 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-04 19:47:28 +00:00
Sharath Reddy f9f2031241 HHH-4250 : @ManyToOne - @OneToMany doesn't work with @Inheritance(strategy= InheritanceType.JOINED)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19894 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-04 19:44:44 +00:00
Adam Warski bf9ef75d06 HHH-3764, HHH-3765:
documentation

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19891 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-02 12:57:18 +00:00
Hardy Ferentschik baba9f5ea8 HHH-5317 Updated the hibernate-validator dependency to 4.1.0.Final. Added a profile to EM which will add the jaxb classes in case the build is using java 5. HV 4.1.0.Final now uses the provided scope for the jaxb depdencies
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19890 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-02 08:54:15 +00:00
Adam Warski f7c7c55e2a HHH-3764:
- adding an end-revision column to the audit entities if the appropraite strategy is used

HHH-3765:
- filling in the end-revision column on audited entities changes

- applying patch by Stephanie Pau - thanks!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19888 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-02 06:32:13 +00:00
Hardy Ferentschik db16c3f29a HHH-5149 Reviewing the collection mapping chapter
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19859 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-30 11:50:41 +00:00
Strong Liu 41b09cb0f9 HHH-4156 c3p0 is not used when only specific hibernate.c3p0.* properties
and code style format

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19855 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-29 08:54:06 +00:00
Strong Liu 58a3499c4e HHH-5213 Add native SQL Boolean type to Ingres10Dialect
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19852 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-29 07:24:22 +00:00
Strong Liu ef977f37c6 HHH-5336 a few typo fixes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19851 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-29 07:07:39 +00:00
Strong Liu c6d51a1993 correct typo in the javadoc
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19848 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-29 06:52:24 +00:00
Strong Liu c251637ed6 HHH-3659 statistics: Execution time of a query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19847 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-29 06:51:14 +00:00
Strong Liu e7a5de444c HHH-5340 Typo in tutorial at web site
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19829 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-28 09:47:17 +00:00
Strong Liu 505e7eeacb HHH-4568 Sybase - Test BatchTest fails due to 'unexpected row count from update'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19819 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-24 09:50:07 +00:00
Strong Liu d8a70268b8 HHH-5272 Typo in tutorial at web site
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19817 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-24 06:31:48 +00:00
Emmanuel Bernard 80b0d4d93e Clean import statements
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19806 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:33:43 +00:00
Emmanuel Bernard 11b3b84308 HHH-5337 Documentation for hibernate.hbm2ddl.import_files
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19805 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:33:24 +00:00