Hi Benjamin,
You didn't mention which Gora module you are using or planning on using so
I'll just state my most recent Gora project and hopefull
the analogy will be clear.
I was building large dictionary maps for different document frequency
thresholds of Solr indexes. I wanted to store the dictionary maps and some
other metadata into Cassandra. For simplicity lets say thresholds were 10,
20 and 50. This meant that each grouping would be stored as a different
keyspace in Cassandra. I could then push data there by editing the keyspace
name in gora-cassandra-mapping.xml accordingly, ensuring that the correct
file was on the classpath and running my code to load this into Cassandra.
I must admit not much of the Gora code is used at all.
This of course uses Cassandra... and it may not be the best solution but it
did the job for me no bother at all and was very very quick and writing the
data down into Cassandra.
hth
Lewis

On Wednesday, August 21, 2013, Sznajder ForMailingList <
[email protected]> wrote:
> Hi
>
> I need to keep to a DB values (String) with status 0 or status 1.
> I need to fetch from the DB some values with status 0 and process them
for then passing their status to 1 and re-pushing them...
>
>
> I thought about a solution:
> Keeping two tables "Table_status_0" and "Table_status_1"...
>
> But, how can we keep data in two different tables using GORA (the two
tables have the same key/values objects)
>
>
> Or, maybe, do you have a better idea for fixing this issue?
>
> Benjamin
>

-- 
*Lewis*

Reply via email to