Permalink
Browse files

upgraded to cloudfoundry-runtime 0.8.0 and spring-data-mongodb 1.0.0.M4

  • Loading branch information...
1 parent 286614e commit 14f5b6493222ad40f4d7d45ca441b274ccc6f9a2 @markfisher markfisher committed Sep 18, 2011
@@ -9,10 +9,10 @@
<version>1.0.0-BUILD-SNAPSHOT</version>
<properties>
<java-version>1.6</java-version>
- <org.cloudfoundry-version>0.7.1</org.cloudfoundry-version>
+ <org.cloudfoundry-version>0.8.0</org.cloudfoundry-version>
<org.cloudfoundry-group>org.cloudfoundry</org.cloudfoundry-group>
<org.springframework-version>3.1.0.M2</org.springframework-version>
- <org.spring-data-mongo-version>1.0.0.M3</org.spring-data-mongo-version>
+ <org.spring-data-mongo-version>1.0.0.M4</org.spring-data-mongo-version>
<org.aspectj-version>1.6.11</org.aspectj-version>
<org.slf4j-version>1.5.10</org.slf4j-version>
</properties>
@@ -1,6 +1,6 @@
package org.cloudfoundry.services;
-import static org.springframework.data.document.mongodb.query.Criteria.where;
+import static org.springframework.data.mongodb.core.query.Criteria.where;
import java.io.IOException;
import java.io.PrintWriter;
@@ -15,10 +15,10 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.dao.DataAccessException;
-import org.springframework.data.document.mongodb.CollectionCallback;
-import org.springframework.data.document.mongodb.MongoDbFactory;
-import org.springframework.data.document.mongodb.MongoTemplate;
-import org.springframework.data.document.mongodb.query.Query;
+import org.springframework.data.mongodb.MongoDbFactory;
+import org.springframework.data.mongodb.core.CollectionCallback;
+import org.springframework.data.mongodb.core.MongoTemplate;
+import org.springframework.data.mongodb.core.query.Query;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -11,7 +11,7 @@
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.1.xsd">
- <bean id="mongoTemplate" class="org.springframework.data.document.mongodb.MongoTemplate">
+ <bean id="mongoTemplate" class="org.springframework.data.mongodb.core.MongoTemplate">
<constructor-arg ref="mongoDbFactory"/>
</bean>

0 comments on commit 14f5b64

Please sign in to comment.