All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.prettyprint.hom.openjpa.CassandraStoreConfiguration Maven / Gradle / Ivy

There is a newer version: 3.0-04
Show newest version
package me.prettyprint.hom.openjpa;

import org.apache.openjpa.conf.OpenJPAConfigurationImpl;
import org.apache.openjpa.lib.conf.ProductDerivations;

public class CassandraStoreConfiguration extends OpenJPAConfigurationImpl {

  public CassandraStoreConfiguration() {
    super(false, false);

    // override the default and the current value of lock manager plugin
    // from our superclass to use the single-jvm lock manager
    lockManagerPlugin.setDefault("version");
    lockManagerPlugin.setString("version");
    addString("me.prettyprint.hom.classpathPrefix");
    addString("me.prettyprint.hom.keyspace");
    addString("me.prettyprint.hom.clusterName");
    addString("me.prettyprint.hom.hostList");

    ProductDerivations.beforeConfigurationLoad(this);
    loadGlobals();
    
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy