You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by bu...@apache.org on 2014/06/25 23:17:18 UTC

svn commit: r913831 - in /websites/staging/gora/trunk/content: ./ current/gora-cassandra.html

Author: buildbot
Date: Wed Jun 25 21:17:18 2014
New Revision: 913831

Log:
Staging update by buildbot for gora

Modified:
    websites/staging/gora/trunk/content/   (props changed)
    websites/staging/gora/trunk/content/current/gora-cassandra.html

Propchange: websites/staging/gora/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jun 25 21:17:18 2014
@@ -1 +1 @@
-1605601
+1605602

Modified: websites/staging/gora/trunk/content/current/gora-cassandra.html
==============================================================================
--- websites/staging/gora/trunk/content/current/gora-cassandra.html (original)
+++ websites/staging/gora/trunk/content/current/gora-cassandra.html Wed Jun 25 21:17:18 2014
@@ -166,7 +166,7 @@ enables <a href="http://cassandra.apache
 </ul>
 <h2 id="gora-cassandra-mappings">Gora Cassandra mappings</h2>
 <p>Say we wished to map some Employee data and store it into the CassandraStore.</p>
-<div class="codehilite"><pre><span class="nt">&lt;gora-orm&gt;</span>
+<div class="codehilite"><pre><span class="nt">&lt;gora-otd&gt;</span>
   <span class="nt">&lt;keyspace</span> <span class="na">name=</span><span class="s">&quot;Employee&quot;</span> <span class="na">host=</span><span class="s">&quot;localhost&quot;</span> <span class="na">cluster=</span><span class="s">&quot;Gora Cassandra Test Cluster&quot;</span><span class="nt">&gt;</span>
     <span class="nt">&lt;family</span> <span class="na">name=</span><span class="s">&quot;p&quot;</span><span class="nt">/&gt;</span>
     <span class="nt">&lt;family</span> <span class="na">name=</span><span class="s">&quot;f&quot;</span><span class="nt">/&gt;</span>
@@ -179,12 +179,12 @@ enables <a href="http://cassandra.apache
     <span class="nt">&lt;field</span> <span class="na">name=</span><span class="s">&quot;ssn&quot;</span>  <span class="na">family=</span><span class="s">&quot;p&quot;</span> <span class="na">qualifier=</span><span class="s">&quot;info:sn&quot;</span><span class="nt">/&gt;</span>
     <span class="nt">&lt;field</span> <span class="na">name=</span><span class="s">&quot;salary&quot;</span>  <span class="na">family=</span><span class="s">&quot;p&quot;</span> <span class="na">qualifier=</span><span class="s">&quot;info:sl&quot;</span><span class="nt">/&gt;</span>
   <span class="nt">&lt;/class&gt;</span>
-<span class="nt">&lt;/gora-orm&gt;</span>
+<span class="nt">&lt;/gora-otd&gt;</span>
 </pre></div>
 
 
 <p>Here you can see that we require the definition of two child elements within the 
-<code>gora-orm</code> mapping configuration, namely;</p>
+<code>gora-otd</code> mapping configuration, namely;</p>
 <p>The <b>keyspace</b> element; where we specify: </p>
 <ol>
 <li>