lib/commands/resource.rb in spring-gen-0.1.1 vs lib/commands/resource.rb in spring-gen-0.1.2
- old
+ new
@@ -44,10 +44,10 @@
@annotation_import = "import javax.persistence.Entity;"
template "templates/resource/test/integration/#{config.repository_technique}/sampleData.xml.erb",
"#{content_root}/src/test/resources/sampledata/#{@model_name.downcase}SampleData.xml"
when "mongodb"
@repository_import = "mongodb.repository.MongoRepository"
- @repository_type = "MongoRepository<#{@model_name},Long>"
+ @repository_type = "MongoRepository<#{@model_name},String>"
@annotation_import = 'import org.springframework.data.mongodb.core.mapping.Document;'
@entity_annotation = "@Document"
template "templates/resource/test/integration/#{config.repository_technique}/SampleData.java.erb",
"#{content_root}/src/test/java/#{fs_path}/integration/#{@model_name.downcase}/#{@model_name}SampleData.java"
when "neo4j"
\ No newline at end of file