Commit Graph

665 Commits

Author SHA1 Message Date
Hardy Ferentschik a2a2e64361 HHH-5800 Applying Hibernate code formatting style 2011-01-03 18:06:22 +01:00
davidmc24 1911629741 HHH-5800 Fix override handling for associations as per chapter 12 of the JPA 2.0 specification.
Some subelements should merge with Java annotations in some contexts (such as directly within an entity) but not in others (such as in an association mapping).  The methods to handle these elements were enhanced to be aware of these two different modes through the use of a boolean flag.
2011-01-03 18:06:22 +01:00
davidmc24 f577191be3 HHH-5800 Add tests for element-collection orm XML support 2011-01-03 18:06:22 +01:00
davidmc24 9ae8e5f1d4 Attempt to match Hibernate code conventions 2011-01-03 18:06:20 +01:00
davidmc24 57f5dce48c HHH-5800 Add tests and fixes for many-to-one orm XML support 2011-01-03 18:06:20 +01:00
Hardy Ferentschik c109bec708 HHH-5794 Adding/Updating license headers 2010-12-16 16:15:21 +01:00
David M. Carr e739e47219 HHH-5794 More changeset cleanup. 2010-12-16 16:15:03 +01:00
David M. Carr a750936158 HHH-5794 Tidy up the changeset a little. 2010-12-16 16:14:55 +01:00
David M. Carr 0c23e5870c HHH-5794 Enhance the test to cover additional mapping elements, and implement support for them. 2010-12-16 16:14:44 +01:00
David M. Carr ce9343bbd2 HHH-5794 Add support for map-key-class in orm.xml 2010-12-16 16:14:33 +01:00
Strong Liu 570581a514 HHH-5727 Collection member declaration not handling optional AS in HQL. 2010-12-14 04:34:11 +08:00
Emmanuel Bernard 77f6e9c05e Fix minor typos in the Dialect JavaDocs 2010-12-10 14:33:27 +01:00
Strong Liu 5b318b4aaf HHH-5725 rollback SqlServerDialect 2010-12-03 23:39:03 +08:00
Strong Liu 722a1b3851 HHH-5726 update test case 2010-12-03 23:25:32 +08:00
Strong Liu 7f1ba74947 update StandardDialectResolver to return correct dialect for ms sql server 2010-12-03 23:25:31 +08:00
Yoryos Valotasios 6bd9bb8ba2 SQLServer2005Dialect: Made some comments more specific 2010-12-03 23:25:31 +08:00
Yoryos Valotasios 5cfdbc7c22 SQLServer2005Dialect: removed useless commented code 2010-12-03 23:25:31 +08:00
Yoryos Valotasios 8040c6e32d SQLServer2005Dialect: Moved the small methods on top of the class 2010-12-03 23:25:31 +08:00
Yoryos Valotasios 91e93fd617 Added some comments 2010-12-03 23:25:31 +08:00
Yoryos Valotasios 480ae72db6 SQLServer2005Dialect: modifications in order to support variable limit 2010-12-03 23:25:31 +08:00
Yoryos Valotasios 7df41185c5 Dialect: Improved exception messages by adding the dialect class name 2010-12-03 23:25:31 +08:00
Yoryos Valotasios 77ad1cf106 SQLServer2005Dialect: Added @Override to the supportsVariableLimit method 2010-12-03 23:25:31 +08:00
Yoryos Valotasios 22a07d209d Added comments. The dialect should also fix HHH-3936 2010-12-03 23:25:30 +08:00
Yoryos Valotasios 9d748d2ab5 HHH-3965: registered some more columntypes as varchar(max) and varbinary(max) 2010-12-03 23:24:49 +08:00
Yoryos Valotasios 2d0cdf4b25 HHH-3965 fix, make use of varbinary(max) and varchar(max) 2010-12-03 23:24:49 +08:00
Yoryos Valotasios 6e9abbb830 Make use of generics for the Dialect and TypeNames class 2010-12-03 23:24:49 +08:00
Yoryos Valotasios 11169d6e69 SQLServer2005Dialect: supports sql server 2005 but not 2000 2010-12-03 23:24:13 +08:00
Yoryos Valotasios a8c578b408 renamed the old SQLServerDialect unit tests to SQLServer2005DialectTestCase 2010-12-03 23:24:00 +08:00
Steve Ebersole 8b61c59aac HHH-5709 - JPA Metamodel: EntityType.getName != @Entity.name 2010-11-11 15:20:00 -06:00
Hardy Ferentschik d85da2b66f Merge branch '3.6' of github.com:hibernate/hibernate-core into 3.6 2010-11-11 18:34:39 +01:00
Hardy Ferentschik 5aed178b35 HV-361 Taking into account that applyDDL can be called multiple times. Adding comment that @Range annotation is automatically taken care of, because it is a composing constraint of @Min and @Max 2010-11-11 18:17:49 +01:00
Hardy Ferentschik 42977edf46 HV-361 Making sure that multiple column checks are properly added 2010-11-11 18:11:20 +01:00
Hardy Ferentschik 03ae37f2cc HV-361 Formatting and adding/updating copyrights 2010-11-11 18:08:18 +01:00
Strong Liu 1a43593c86 HHH-5727 Collection member declaration not handling optional AS in HQL. 2010-11-11 19:10:58 +08:00
Emmanuel Bernard 370178e992 HHH-5724 display the constraint failures on Bean Validation exception 2010-11-10 12:26:36 +01:00
Strong Liu ec34519070 HHH-5715 Using row_number with the SQLServerDialect makes select distinct useless 2010-11-10 12:02:26 +08:00
Strong Liu c97083b322 HHH-2655 ROW_NUMBER for Paging 2010-11-02 20:37:00 +08:00
Steve Ebersole e18d5b9451 HHH-5706 - Incorrect accounting for 1-based LOB offsets 2010-11-01 15:33:35 -05:00
Strong Liu a6157d04d5 update javadoc 2010-11-02 00:27:44 +08:00
Strong Liu 72526ca5e7 HHH-2655: make use of the ROW_NUMBER function 2010-11-01 13:00:45 +08:00
Strong Liu e9ad3bf713 HHH-3873 DB2Dialect.getLimitString raise DB2 error message when called with limit=0 2010-10-28 16:59:37 +08:00
Julien HENRY c66026e3f3 Fixed warnings reported by Maven 3. 2010-10-26 22:44:37 +02:00
Strong Liu e980f6a1c0 HHH-5168 DB2Dialect generates CROSS JOINs which aren't supported 2010-10-26 15:16:49 +08:00
Steve Ebersole 88f1bbd3ca Updating pom versions to 3.6.1-SNAPSHOT 2010-10-13 15:44:12 -05:00
Steve Ebersole 9aed0daf4d Updating pom versions to 3.6.0.Final 2010-10-13 15:44:12 -05:00
Strong Liu 5dadb4d0de HHH-5598 sybase integration improvement 2010-10-11 17:55:56 +08:00
Steve Ebersole 47eace5163 HHH-5629 - Inconsistent consistency checks for entities already found in session
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20780 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-06 17:39:33 +00:00
Emmanuel Bernard 59ec34d5b6 HHH-5578 fix incorrect use of JDK 6
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20772 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-04 14:05:41 +00:00
Emmanuel Bernard e2f6b83754 HHH-5578 centralize specj property discovery
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20769 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-04 09:46:17 +00:00
Emmanuel Bernard c21ea5e3e1 HHH-5578 implement a cleaner version of getPropertyOverriddenByMapperOrMapsId in the SpecJ case
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20768 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-10-04 09:45:41 +00:00