2 Getting Started - Reference Documentation
Authors: Graeme Rocher
Version: 5.0.8.RELEASE
2 Getting Started
Checking out and Building
The project is currently hosted on Github at .You are free to fork the project from there or clone it anonymously using git:git clone [email protected]:grails/grails-data-mapping.git cd grails-data-mapping
assemble
task:./gradlew assemble
./gradlew install
./gradlew allDocs
build/docs
directory.If you experience PermGen errors when building documentation you may need to increase the JVM permgen inside GRADLE_OPTS
Project Structure
The project is essentially a multi-project Gradle build. There is a core API and then subprojects that implement that API. The core API subprojects include:grails-datastore-core
- The core API, this provides core interfaces for implementing a GORM providergrails-datastore-gorm
- The runtime meta-programming and AST transformation infrastructure behind GORM. Also provides end users APIs likegrails.gorm.CriteriaBuilder
andgrails.gorm.DetachedCriteria
grails-datastore-gorm-support
- Support classes for easing the writing of a GORM plugin for Grailsgrails-datastore-gorm-tck
- The TCK that includes hundreds of Spock specifications that a GORM implementation will need to passgrails-datastore-web
- Classes required to integrate GORM into a web tier
grails-datastore-mongodb/grails-datastore-gorm-hibernate
- GORM for Hibernategrails-datastore-mongodb/grails-datastore-gorm-mongo
- GORM for MongoDB projectgrails-datastore-neo4j
- GORM for Neo4j projectgrails-datastore-redis/grails-datastore-gorm-redis
- GORM for Redis projectgrails-datastore-cassandra/grails-datastore-gorm-cassandra
- GORM for Cassandra project
grails-documentation
. There are documentation projects for the core API, MongoDB, Neo4j, Redis, and Cassandra.Finally the Grails 3 plugins that are used to distribute the GORM implementations to end users can be found in the grails-plugins
directory and the grails2-plugins
directory for Grails 2.x.