Skip to content

lucasrpb/playMongoDemo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 8 commits behind czihong:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
This app is used to show how to connect mongodb in play 2.0 framework via morphia.

PS:Please inspect these three files, 
	app/models/Group.java,
	app/controllers/Application.java
	project/Build.scala

One more thing, after download the source code, do remember add the mongodb-java-driver and morphia jar files into project class path.



after the Build.scala has loaded, 

morphia jar file at 
{play2-home-dir}/repository/cache/com.google.code.morphia/morphia/jars

mongo-java-driver jar file at 
{play2-home-dir}/repository/cache/org.mongodb/mongo-java-driver/jars

About

playMongoDemo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published