Commit Graph

2550 Commits

Author SHA1 Message Date
Yoryos Valotasios f6a349bcb8 SQLServer2005Dialect: Moved the small methods on top of the class 2010-11-23 00:25:14 +02:00
Yoryos Valotasios 48239bbbcc Added some comments 2010-11-23 00:22:39 +02:00
Yoryos Valotasios b47dc5aeda SQLServer2005Dialect: modifications in order to support variable limit 2010-11-23 00:19:22 +02:00
Yoryos Valotasios 11a98623e5 Dialect: Improved exception messages by adding the dialect class name 2010-11-15 00:58:57 +02:00
Yoryos Valotasios 71cef3831d SQLServer2005Dialect: Added @Override to the supportsVariableLimit method 2010-11-15 00:33:09 +02:00
Yoryos Valotasios 571318e6e4 Added comments. The dialect should also fix HHH-3936 2010-11-15 00:12:10 +02:00
Yoryos Valotasios ceba976e57 SQLServer2008Dialect should extend SQLServer2005Dialect 2010-11-14 23:56:33 +02:00
Yoryos Valotasios 2964b975ef HHH-3965: registered some more columntypes as varchar(max) and varbinary(max) 2010-11-14 23:55:06 +02:00
Yoryos Valotasios c9833f3eaa HHH-3965 fix, make use of varbinary(max) and varchar(max) 2010-11-14 23:51:15 +02:00
Yoryos Valotasios 9e2902807c Make use of generics for the Dialect and TypeNames class 2010-11-14 23:31:20 +02:00
Steve Ebersole 5d8c5d371b Merge branch 'HHH-5709' of https://github.com/tblachowicz/hibernate-core into tblachowicz-HHH-5709 2010-11-11 11:41:38 -06:00
Hardy Ferentschik ce56969173 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 17:31:46 +01:00
Hardy Ferentschik ff47006731 HV-361 Adding test for @Range constraint 2010-11-11 17:31:46 +01:00
Hardy Ferentschik 0cb3e66eef HV-361 Adding test entity for @Range constraint 2010-11-11 17:31:46 +01:00
Hardy Ferentschik c07ee1a4c0 HV-361 Making sure that multiple column checks are properly added 2010-11-11 17:31:46 +01:00
Hardy Ferentschik c22a6be533 HV-361 Changing existing tests to use @RequiresDialect(DialectChecks.SupportColumnCheck) 2010-11-11 17:31:46 +01:00
Hardy Ferentschik d24a06ee8d HV-361 Formatting and adding/updating copyrights 2010-11-11 17:31:46 +01:00
nandina fd0a463f0e Added comments for changes of HHH-5686 2010-11-11 15:19:25 +01:00
nandina 696fcccd0f Fix for HHH-5686 Changed the generation of HQL query for one to many relations from "select new list(r) from Relation r" to "select r from Relation r". 2010-11-11 15:19:21 +01:00
Strong Liu 97f8ceac9b HHH-5727 Collection member declaration not handling optional AS in HQL. 2010-11-11 19:09:50 +08:00
Yoryos Valotasios ae271db9ba renamed the old SQLServerDialect unit tests to SQLServer2005DialectTestCase 2010-11-10 22:06:42 +02:00
Yoryos Valotasios e3ad6c881e SQLServer2005Dialect: supports sql server 2005 but not 2000 2010-11-10 22:05:23 +02:00
Yoryos Valotasios 2ec009440e SQLServerDialect fallback to the pre HHH-2655 one 2010-11-10 22:03:47 +02:00
Strong Liu 6e565102b5 HHH-5715 revert the change made in hibernate.properties, default is H2 2010-11-10 22:58:30 +08:00
Emmanuel Bernard 42261a61df HHH-5724 display the constraint failures on Bean Validation exception 2010-11-10 13:12:07 +01:00
Tomasz Blachowicz fb26f4c1a0 HHH-5709: New property of PersistentClass finally renamed to jpaEntityName 2010-11-09 09:53:02 +00:00
Strong Liu 4d31c6b88e Merge branch 'HHH-5715' of https://github.com/valotas/hibernate-core into valotas-HHH-5715 2010-11-07 20:21:57 +08:00
Emmanuel Bernard 1adfc0af43 HHH-5705 Fix typo in query 2010-11-06 18:44:44 +01:00
Emmanuel Bernard 5bc23dadc2 HHH-5705 Fix typo 2010-11-06 18:44:36 +01:00
Emmanuel Bernard 0a5e29498a HHH-5701 Add .metadata/* to .gitignore 2010-11-06 18:18:56 +01:00
Yoryos Valotasios 69ed7a9b88 Make use of better method names 2010-11-06 15:39:44 +02:00
Yoryos Valotasios d390f85544 SQLServerDialect: Added comments and refactored some varibles 2010-11-06 15:34:35 +02:00
Yoryos Valotasios b9f84044e6 removed useless wrong assert statement 2010-11-06 15:33:45 +02:00
Yoryos Valotasios 74c9ec6bda Modified the SQLServerDialect in order to replace the distinct keyword with a groub by clause 2010-11-06 14:59:53 +02:00
Yoryos Valotasios 55c822c56e HHH-5715 test case 2010-11-05 11:23:08 +02:00
Hardy Ferentschik c0352429db HHH-5714 Upgraded metamodelgen dependency
The new version  allows now also to use the -s option for generating the sources into a seprate directory.
2010-11-04 10:37:10 +01:00
Tomasz Blachowicz f29fab99a6 HHH-5709: New property added to PersistentClass to hold the name of the entity compliant with JSR-317 spec. Used by JPA2 metamodel. 2010-11-03 14:10:58 +00:00
Tomasz Blachowicz b48c5b601c The name of the entity returned by the JPA2 meta-model EntityType.getName() is now PersistentClass.nodeName.
This guarantees that EntityType.getName() == @Entity.name for classes annotated with JPA2.
2010-11-02 22:06:09 +00:00
Strong Liu ba040a3378 HHH-5700 incorrect test logic of org.hibernate.test.readonly.ReadOnlyCriteriaQueryTest 2010-11-02 20:47:37 +08:00
Strong Liu 528b652d07 HHH-2655 ROW_NUMBER for Paging 2010-11-02 20:39:03 +08:00
Steve Ebersole 61060d13a9 HHH-5706 - Incorrect accounting for 1-based LOB offsets 2010-11-01 13:57:29 -05:00
Steve Ebersole fad1801cbe HHH-5707 - Gradle 0.9-rc-2 2010-11-01 13:44:41 -05:00
Hardy Ferentschik 2a7b091da9 HHH-5693 Revert back to a single compile, but without -s option
When using the two compile steps the package-info.class are getting corrupted. For this reason I am switching back to a single compile, but without the -s option to avoid the problem on Mac. As a result the meta model classes are generated in target/classes/test. On the other hand the build script is simpler, because it relies on more defaults.
2010-11-01 17:50:40 +01:00
Hardy Ferentschik 7b24b764f0 HHH-5693 Re-enable failing tests after fixing the gradle build 2010-11-01 17:47:03 +01:00
Strong Liu 722f96a9c5 remote the out-of-date pom.xml 2010-11-01 15:18:26 +08:00
Strong Liu 54da3d5282 Merge branch 'master' of github.com:hibernate/hibernate-core 2010-11-01 12:21:56 +08:00
Strong Liu a3a732b494 HHH-2655: make use of the ROW_NUMBER function 2010-11-01 12:20:03 +08:00
Yoryos Valotasios 9b32e9462a HHH-2655: bug fix: row_number() function is not zero and so we must increament the given limit and offset by one 2010-10-30 00:04:51 +03:00
adamw c6a6e5cea1 Fix for HHH-4646 and HHH-5177: removing unneeded addPropertiesFromClassRec method 2010-10-29 19:57:48 +02:00
Hernán Chanfreau 65e14bb39b Fix for HHH-4646 and HHH-5177
Adding tests cases:
- MappedSuperclass audited at class level with a NotAuditedSubclass and:
	- Audited subclass at class level
	- Audited subclass at method/field level
- MappedSuperclass audited at method/field level with a NotAuditedSubclass and:
	- Audited subclass at class level
	- Audited subclass at method/field level
2010-10-29 19:57:47 +02:00