You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by le...@apache.org on 2014/06/25 23:17:10 UTC
svn commit: r1605602 - /gora/site/trunk/content/current/gora-cassandra.md
Author: lewismc
Date: Wed Jun 25 21:17:09 2014
New Revision: 1605602
URL: http://svn.apache.org/r1605602
Log:
GORA-349 Update Datastore specific mapping documentation with new default root element
Modified:
gora/site/trunk/content/current/gora-cassandra.md
Modified: gora/site/trunk/content/current/gora-cassandra.md
URL: http://svn.apache.org/viewvc/gora/site/trunk/content/current/gora-cassandra.md?rev=1605602&r1=1605601&r2=1605602&view=diff
==============================================================================
--- gora/site/trunk/content/current/gora-cassandra.md (original)
+++ gora/site/trunk/content/current/gora-cassandra.md Wed Jun 25 21:17:09 2014
@@ -12,7 +12,7 @@ enables [Apache Cassandra](http://cassan
##Gora Cassandra mappings
Say we wished to map some Employee data and store it into the CassandraStore.
- <gora-orm>
+ <gora-otd>
<keyspace name="Employee" host="localhost" cluster="Gora Cassandra Test Cluster">
<family name="p"/>
<family name="f"/>
@@ -25,10 +25,10 @@ Say we wished to map some Employee data
<field name="ssn" family="p" qualifier="info:sn"/>
<field name="salary" family="p" qualifier="info:sl"/>
</class>
- </gora-orm>
+ </gora-otd>
Here you can see that we require the definition of two child elements within the
-<code>gora-orm</code> mapping configuration, namely;
+<code>gora-otd</code> mapping configuration, namely;
The <b>keyspace</b> element; where we specify: