Permalink
Browse files

update to datastore snapshot

  • Loading branch information...
graemerocher committed Nov 17, 2011
1 parent c596eb6 commit 39f2fe62f6d68e9accbe2a63d0011f53c2c4e0cb
View
@@ -22,7 +22,7 @@ commonsCliVersion = "1.2"
commonsCollectionsVersion = "3.2.1"
commonsIOVersion = "2.1"
commonsLangVersion = "2.6"
-datastoreVersion = "1.0.0.RC1"
+datastoreVersion = "1.0.0.BUILD-SNAPSHOT"
gantVersion = "1.9.6"
gdocEngineVersion = "1.0.1"
groovyVersion = "1.8.4"
@@ -179,7 +179,7 @@ public Object doCall() {
};
registerDependencies(dependencyManager, compileTimeDependenciesMethod, commonsExcludingLoggingAndXmlApis, "commons-logging", "xml-apis", "commons-digester");
- String datastoreMappingVersion = "1.0.0.RC1";
+ String datastoreMappingVersion = "1.0.0.BUILD-SNAPSHOT";
ModuleRevisionId[] compileDependencies = {
ModuleRevisionId.newInstance("aopalliance", "aopalliance", "1.0"),
ModuleRevisionId.newInstance("com.googlecode.concurrentlinkedhashmap", "concurrentlinkedhashmap-lru", "1.2_jdk5"),
@@ -59,7 +59,7 @@ public GrailsApplication getGrailsApplication() {
}
public MappingConfigurationStrategy getMappingSyntaxStrategy() {
- return new GrailsGrailsDomainMappingConfigurationStrategy();
+ return new GrailsDomainMappingConfigurationStrategy();
}
@Override
@@ -77,7 +77,7 @@ protected PersistentEntity createPersistentEntity(Class javaClass) {
return new GrailsDomainClassPersistentEntity(domainClass, this);
}
- private class GrailsGrailsDomainMappingConfigurationStrategy implements MappingConfigurationStrategy {
+ private class GrailsDomainMappingConfigurationStrategy implements MappingConfigurationStrategy {
public boolean isPersistentEntity(Class javaClass) {
return grailsApplication.isArtefactOfType(DomainClassArtefactHandler.TYPE, javaClass);
}
@@ -86,6 +86,13 @@ public boolean isPersistentEntity(Class javaClass) {
return null;
}
+ /**
+ * @see #getPersistentProperties(Class, org.grails.datastore.mapping.model.MappingContext, org.grails.datastore.mapping.model.ClassMapping)
+ */
+ public List<PersistentProperty> getPersistentProperties(PersistentEntity entity, MappingContext context, ClassMapping classMapping) {
+ return null;
+ }
+
public List<PersistentProperty> getPersistentProperties(Class javaClass, MappingContext context, ClassMapping mapping) {
return null;
}

0 comments on commit 39f2fe6

Please sign in to comment.