Commit Graph

2127 Commits

Author SHA1 Message Date
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
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
Hardy Ferentschik 461354be09 HHH-5693 Update creation of URLClassloader for resource loading
This is necessary, because of changes of the loction of the test classes.
It used to be target/test-classes, now it is target/classes/test
2010-10-26 11:08:32 +02:00
Hardy Ferentschik 7eedcfea4e HHH-5693 Update the filtered resource files to use @@ as token for filtering
Tokens use now the @property@ syntax instead of ${property}, because underneath
ant filtering is used. Also remove hibernate.connection.isolation property which
is irrelevant for these tests.
Update gradle build script to use filtering when copying the bundle resources.
The script also adds a new compilation task for just compiling the metamodel.
Seems to be needed for Mac.
2010-10-26 11:01:39 +02:00
Hardy Ferentschik dde0e64495 HHH-5693 Update version of metamodel generator to 1.1.0.CR1 2010-10-26 10:55:02 +02:00
Strong Liu 98f41bd6a8 HHH-5168 DB2Dialect generates CROSS JOINs which aren't supported 2010-10-26 15:12:14 +08:00
Galder Zamarreño 1f012f8b36 Merge branch 'hhh5599' 2010-10-19 09:33:55 +02:00
Galder Zamarreño 514b3a28c0 [HHH-5599] (NPE occurs when using Infinispan as L2 Cache) Protect against null cleaned and use conditional removes on pending puts 2010-10-19 09:32:49 +02:00
Steve Ebersole 1a8aca99db Merge branch 'metamodel-import' 2010-10-15 15:37:09 -05:00
Steve Ebersole 40cd2bcd02 HHH-5662 - Import the initial work 2010-10-15 15:35:30 -05:00
Steve Ebersole 6ea31ce779 HHH-5662 - Import the initial work 2010-10-15 13:56:33 -05:00
Galder Zamarreño 6b8d3f7f70 Merge branch 'master' of github.com:hibernate/hibernate-core 2010-10-15 18:26:31 +02:00
Galder Zamarreño 2de00decc6 [HHH-5669] (Fix gradle build issues with Infinispan 2LC) Fix several issues to get build and unit tests working. Upgraded to Infinispan 4.2.0.ALPHA3 as well. 2010-10-15 18:24:44 +02:00
Steve Ebersole 960326510f HHH-5662 - Import the initial work 2010-10-14 16:37:14 -05:00