Commit Graph

2302 Commits

Author SHA1 Message Date
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
Steve Ebersole d2c88d55df HHH-5647 - Develop release process using Gradle 2010-10-12 15:39:33 -05:00
Gail Badner ee6bde2957 change h2 to 1.2.140; add DVCC=TRUE to TestingDatabaseInfo 2010-10-12 13:20:06 -07:00
Strong Liu 4550cdf688 HHH-5649 improve eclipse support with migration to gradle 2010-10-12 16:30:02 +08:00
Steve Ebersole bea71a4562 HHH-5616 - Switch to Gradle for builds .. incorrect .gitignore 2010-10-11 17:46:16 -05:00
Steve Ebersole 2443fede65 HHH-5616 - Switch to Gradle for builds .. incorrect .gitignore 2010-10-11 17:43:42 -05:00
Steve Ebersole b5f4f8aebc HHH-5616 - Switch to Gradle for builds 2010-10-11 16:42:44 -05:00
Steve Ebersole 9440bb8181 HHH-5616 - Switch to Gradle for builds 2010-10-11 14:41:50 -05:00
Steve Ebersole f8acf15d41 HHH-5616 - Switch to Gradle for builds ... applied javadoc and source jar creation tasks 2010-10-11 14:41:50 -05:00
Steve Ebersole d18170e490 HHH-5616 - Switch to Gradle for builds .. disable hem tests due to tcl needing to be given to shrinkwrap stuff 2010-10-11 14:41:50 -05:00