Giter VIP home page Giter VIP logo

morphia's Introduction

Basic Introduction

Morphia provides an annotation-driven approach to mapping POJO based entities into and out of MongoDB. As such, Morphia is an ODM (or Object Document Mapper).

To use, add Morphia to your Java SE or EE project alongside the mongo-java-driver (which Morphia depends on). Then, create POJOs representing your entities just like you would with JPA entities. Finally, either use Morphia's Datastore interface to store and retrieve entities, or hand that responsibility to a type-safe DAO that can extend from the shipped BasicDAO.

Downloads

Jar files are downloadable from Maven Central.

Maven users: Releases are available in Central. Snapshots are available via OSS Sonatype.

</tr>
	<td>Artifact ID</td><td>morphia</td>
</tr>
<tr>
	<td>Version</td><td>1.2.2</td>
</tr>
Maven Dependency
Group IDcom.github.jmkgreen.morphia

Documentation

The wiki has quite a lot of good example code. It was copied over from the original GoogleCode site.

Maven Site docs are here.

JavaDoc packages are available for more detailed IDE-based help.

GitHub gists are welcomed from contributors.

Testing

jUnit tests form part of this project. If these are green, it's shippable!

Bugs / Support

The original Google Group remains active for discussion, although please take care to note if you are using the original project's code or the code from this fork.

Please use the GitHub issues tracker to report problems and make requests. A jUnit test case illustrating a bug has a higher chance of getting a fix that a more vague text description of course.

Contributions

Fork this project, do you work, and ask for a pull request!

Building

You will need:

  • JDK 1.5 or better (1.6 and 1.7 are tested)
  • Mongod running on localhost, on the default port.

License

Apache, v2.

History

This project is a fork of http://code.google.com/p/morphia/, taken from SVN trunk at revision 1826 (Jul 2012). This original work was authored by Scott Hernandez et al.

The intention of this fork is to:

  1. Improve the documentation
  2. Maintain compatibility with newer MongoDB driver releases
  3. Fix and improve the code

Travis Continuous Integration Build Status

Hopefully this thing is routinely green. Travis-CI monitors new code to this project and tests it on a variety of JDKs.

Build Status

morphia's People

Contributors

aolshevskiy avatar benmccann avatar ctmay4 avatar jendave avatar jmkgreen avatar mutyonok avatar nikos avatar washu avatar xeraa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.