Commit Graph

2440 Commits

Author SHA1 Message Date
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
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