Package org.hibernate.ogm.datastore.couchdb.utils.backend.json.designdocument

Examples of org.hibernate.ogm.datastore.couchdb.utils.backend.json.designdocument.EntitiesDesignDocument


  private DatabaseTestClient getDatabaseTestClient(CouchDBDatastore dataStore) {
    if ( !dataStore.exists( AssociationsDesignDocument.DOCUMENT_ID, true ) ) {
      dataStore.saveDocument( new AssociationsDesignDocument() );
    }
    if ( !dataStore.exists( EntitiesDesignDocument.DOCUMENT_ID, true ) ) {
      dataStore.saveDocument( new EntitiesDesignDocument() );
    }

    Client client = ClientBuilder.newBuilder().build();
    WebTarget target = client.target( dataStore.getDatabaseIdentifier().getDatabaseUri() );
    ResteasyWebTarget rtarget = (ResteasyWebTarget) target;
View Full Code Here

TOP

Related Classes of org.hibernate.ogm.datastore.couchdb.utils.backend.json.designdocument.EntitiesDesignDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.