2111 Commits

Author SHA1 Message Date
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
Steve Ebersole
aec8d1a742 HHH-5658 - Better .gitignore 2010-10-14 09:33:20 -05:00
Steve Ebersole
2b11cfcddf HHH-5658 - Better .gitignore 2010-10-14 09:09:31 -05:00
Steve Ebersole
ae557f7f3b Merge branch 'HHH-5655' 2010-10-13 19:16:23 -05:00
Steve Ebersole
06e4f69b93 HHH-5655 - In Gradle build, better account for non-standard local maven repo cache locations 2010-10-13 19:11:08 -05:00
Gail Badner
8575247aaf HHH-5638 : move o.h.engine.jdbc.proxy to o.h.engine.jdbc.internal.proxy 2010-10-13 16:04:04 -07:00
Gail Badner
7f91fb73d5 HHH-5656 : Import ServicesRegistry bootstrap code and service tests 2010-10-13 15:04:05 -07:00
Gail Badner
d4bf11d8ba HHH-5641 : Import JtaPlatform services 2010-10-13 13:16:25 -07:00
Gail Badner
4bdf804a37 Merge branch 'master' of github.com:hibernate/hibernate-core 2010-10-13 13:02:32 -07:00
Gail Badner
2600ac58fe add *~ to .gitignore 2010-10-13 12:57:34 -07:00
mstanleyjones
70f53da5da Edited Envers chapter 2010-10-13 14:27:28 +10:00
mstanleyjones
e34e464103 Edited the JPA chapter. 2010-10-13 14:12:31 +10:00
mstanleyjones
5d6317e715 Edit the Annotations tutorial. 2010-10-13 13:35:50 +10:00
Misty Stanley-Jones
8c809ab976 Edits to Getting Started Guide 2010-10-13 11:36:27 +10:00
Gail Badner
a23796c92d HHH-5618 : Support legacy connection providers 2010-10-12 15:20:46 -07:00
Steve Ebersole
0b9888e0e5 Merge branch 'master' of github.com:hibernate/hibernate-core
Conflicts:
	build.gradle
2010-10-12 15:49:09 -05:00
Steve Ebersole
39749511e2 HHH-5647 - Develop release process using Gradle 2010-10-12 15:41:27 -05:00