Commit Graph

2139 Commits

Author SHA1 Message Date
Yoryos Valotasios 38cd2fe25c SQLServer2005Dialect: Made some comments more specific 2010-11-23 00:46:48 +02:00
Yoryos Valotasios 2ae06c9469 SQLServer2005Dialect: removed useless commented code 2010-11-23 00:44:02 +02:00
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
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
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
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
Hernán Chanfreau b919969497 Fix for HHH-4646 and HHH-5177
- Read audited properties from subclasses first, then check recursively on superclasses.
- Chech on superclasses only if a class is audited
- Calculate if the "current" class of the recursion is audited at class level.
- Created ComponentAuditedPropertiesReader subclass for AuditedPropertiesReader to use for reading component audited properties inside classes
- Created a protected method in AuditedPropertiesReader, letting the subclass do their job.
- Ordered the code to be more understandable.
2010-10-29 19:57:47 +02:00
Hernán Chanfreau 873fe754e3 Fix for HHH-4646 and HHH-5177
added methods isEmpty() and contains(key)
2010-10-29 19:57:47 +02:00
Hernán Chanfreau 5b782a83ea HHH-4646 and HHH-5177
Deleting obsolete tests
2010-10-29 19:57:47 +02:00
Hardy Ferentschik 179837554f HHH-5693 Disable package-info related tests for now 2010-10-29 14:59:16 +02:00
Yoryos Valotasios 895e1bf716 HHH-2655: Modified the SQLServer2008Dialect to make use of the ROW_NUMBER function for queries with limit 2010-10-28 21:36:16 +03:00
Strong Liu ca009f5340 HHH-3873 DB2Dialect.getLimitString raise DB2 error message when called with limit=0 2010-10-28 16:22:05 +08:00
Hardy Ferentschik f0967db638 HHH-5693 remove obsolete ant build file 2010-10-26 15:37:05 +02:00
Hardy Ferentschik 2b2fb03aa4 HHH-5693 Moved the bundlesTargetDir creation outside copy task 2010-10-26 14:47:51 +02:00
Hardy Ferentschik c3dd29af3f Merge branch 'master' of github.com:hibernate/hibernate-core 2010-10-26 12:03:26 +02:00
Hardy Ferentschik e660463523 HHH-5693 Change way the target directory is discovered
Depending on wether the tests are run from the command line (Gradle) or IDE (Idea at least) the path will vary. For this reason one cannot just navigate back in the path. Instead I am assuming that there is a 'target' directory.
2010-10-26 12:03:09 +02:00
Hardy Ferentschik 2d501faa8a HHH-5693 Added comment about the need for two compilations 2010-10-26 11:12:31 +02:00