Commit Graph

1765 Commits

Author SHA1 Message Date
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
Gail Badner 6d9c10deab HHH-5195 : FilterImpl.validate() throws NullPointerException on deserialization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19730 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-15 02:44:40 +00:00
Gail Badner 3c57a05313 HHH-5195 : FilterImpl.validate() throws NullPointerException on deserialization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19728 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-15 02:15:54 +00:00
Gail Badner 182ee2f34e HHH-5195 : FilterImpl.validate() throws NullPointerException on deserialization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19727 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-15 02:15:05 +00:00
Steve Ebersole 06f9e60a0a HHH-3579 - Support for PostgreSQL UUID data type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19726 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-14 18:59:10 +00:00
Hardy Ferentschik 55de9e8e5f HHH-5149 Updated collection mapping to take annotatons into consideration
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19725 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-14 12:34:32 +00:00
Gail Badner 0fe85c1194 HHH-5220 : Unit tests related to HHH-5063 and HHH-5135 fail on DB2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19723 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-14 05:19:07 +00:00
Gail Badner 9e6d8be376 HHH-5220 HHH-5231 : Fix unit test failures and DB lockups for SELECT COUNT(DISTINCT arg1, arg2) tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19722 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-14 04:27:40 +00:00
Gail Badner c53359d468 HHH-5251 : NativeSQLQueryReturn impls pre-cache a final hashcode based on non-final fields
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19721 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-13 22:19:34 +00:00
Steve Ebersole cd304f83cf HHH-5098 - AssertionFailure thrown when collection contains a parameterized type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19719 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-11 20:07:05 +00:00
Strong Liu e630fde1aa HHH-4036 EntityMetamodel entityNameByInheritenceClassNameMap field used inconsistently
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19717 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-11 18:13:13 +00:00
Strong Liu 1cec58314d typo in the entitymanager doc
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19716 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-11 16:41:14 +00:00
Emmanuel Bernard d77d703ebe HHH-5149 Reorganise sections of basic O/R mappings
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19713 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-10 16:22:34 +00:00
Emmanuel Bernard 10fc436d8a HHH-5149 Add documentation for to one associations sharing primary keys
Move shared orthogonal options like lazy / eager fetching to the super section

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19712 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-10 16:21:56 +00:00
Emmanuel Bernard 7916197774 HHH-5149 Add documentation for to one associations with foreign key
Describe foreign key and association table options.
Describe various configurations like fetch lazy and co.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19711 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-10 16:21:22 +00:00
Emmanuel Bernard 74a5e4b405 HHH-5149 fix text not wrapping up in html rendering
Was due to a itemizedlist embedded in a para

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19710 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-10 16:20:43 +00:00
Emmanuel Bernard 1eaf80e3a9 HHH-5148 add JAVA role to a programlisting
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19709 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-10 16:13:06 +00:00
Emmanuel Bernard b58d3be7dc HHH-5149 remove typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19708 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-10 16:12:27 +00:00
Adam Warski 3766cea7c2 * always adding a nested type mapping, if there are type properties; not only in case of instances of CustomType
* simplifying the basic generator because of the new type hierarchy

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19703 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-09 08:52:22 +00:00
Adam Warski f0df563982 svn merge -r 19697:19698 https://svn.jboss.org/repos/hibernate/core/branches/envers-hibernate-3.3 .
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-08 07:15:42 +00:00
Strong Liu e6d7d62bc0 HHH-5294 declare source files encoding to utf-8 to avoid maven warning
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19695 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-05 14:14:58 +00:00
Emmanuel Bernard e4eed4c7e5 HHH-5286 Add test on scanner with intergration map being null
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19667 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 14:50:48 +00:00
Emmanuel Bernard 41bb177619 HHH-5286 Scanner instances can now be passed in the integration map
The Scanner builder was only considering the scanner key from the properties
not the integration map and hence never handled instances. Now fixed.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 13:17:23 +00:00
Steve Ebersole 5af328cb4a HHH-5262 - Allow UserType and CompositeUserType to be registered with BasicTypeRegistry
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19649 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 05:15:54 +00:00
Emmanuel Bernard 3dd364c716 HHH-5268 Add documentation for uuid and uuid2 identifier generators
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19648 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-01 23:23:40 +00:00