Commit Graph

1789 Commits

Author SHA1 Message Date
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
Emmanuel Bernard fe92f84072 HHH-5337 support for comma-separated multi-files imports
hibernate.hbm2ddl.import_files=[filename],[filename2],...

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19804 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:33:00 +00:00
Emmanuel Bernard 5aad112e03 HHH-5337 Allow Customization of DML import file name
hibernate.hbm2ddl.import_file=[filename]

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19803 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 22:32:15 +00:00
Emmanuel Bernard ffe92dacfa HHH-5329 Consider NoClasDefFoundError as a sign of not having Java 5 and concurrent package
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19798 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-23 14:54:25 +00:00
Galder Zamarreno e7dce75a9f [HHH-5332] (JndiInfinispanRegionFactory cannot be instantiated) Fixed.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19784 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-22 23:52:38 +00:00
Strong Liu 03c182e14d HHH-5323 correct jdbc driver version for testing
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19783 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-22 16:54:54 +00:00
Hardy Ferentschik 41c0622e83 HHH-5149
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19782 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-22 16:36:45 +00:00
Strong Liu 7951998639 HHH-5342 Testes fail on mysql
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19775 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-20 19:55:55 +00:00
Emmanuel Bernard e6862c0be0 HHH-5319 Add more tests on @OneToMany @JoinTable unidirectional
In particular, test delete of the owning object wo the associated objects
and clean up properly after the test.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19766 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-18 16:40:00 +00:00
Hardy Ferentschik 7e9ddb926a HHH-5318
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19765 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-18 15:40:14 +00:00
Adam Warski 704503eea2 HHH-5288:
- applying patch by Erik-Berndt Scheper - thanks!
- Envers auditReader.find() returns wrong data for embedded components using fields with default values

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19750 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-16 18:06:57 +00:00
Hardy Ferentschik ef90b00b14 HHH-5281 apply @Length ddl constraints (without loading HV classes)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19747 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-16 10:43:40 +00:00
Hardy Ferentschik c0e94443b1 HHH-5094 applied some changes as on 3.5 branch
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19740 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-15 14:53:17 +00:00