Examples of Database


Examples of org.neo4j.server.database.Database

        if (masterCredendials == null) {
            throw new RuntimeException("missing master-credentials in neo4j-server.properties");
        }

        final SingleUserAuthenticationService adminAuth = new SingleUserAuthenticationService(masterCredendials);
        Database database = neoServer.getDatabase();
        GraphDatabaseAPI graphDatabaseAPI = database.getGraph();
        final MultipleAuthenticationService users = new MultipleAuthenticationService(graphDatabaseAPI);

        adminAuthenticationFilter = new AuthenticationFilter("neo4j-admin", adminAuth);
        adminPath = getMyMountpoint(configurator) + "/*";
        webServer.addFilter(adminAuthenticationFilter, adminPath);
View Full Code Here

Examples of org.odmg.Database

        super.dispose();
        synchronized(this.databases) {
            final Set keys = this.databases.keySet();
            for( Iterator i = keys.iterator(); i.hasNext(); )
            {
                final Database db = (Database)i.next();
                try
                {
                    db.close();
                }
                catch( final ODMGException e) {
                    getLogger().error( "OJB-ODMG: Cannot close Database", e);
                }
                i.remove();
View Full Code Here

Examples of org.omegahat.Environment.Databases.Database

if(debug())
System.err.println("Evaluating expression "+expression);

Database db = createCallFrame(args, argNames);

org.omegahat.Environment.Interpreter.Evaluator evaluator;

    evaluator = this;
View Full Code Here

Examples of org.openntf.domino.Database

  // Import data
  // ===================================================================

  public void run() throws IOException {
    try {
      Database db = Factory.getSession().getCurrentDatabase();
      if (deleteAllDoc) {
        deleteAllDocuments(db);
      }
      if (createUsers) {
        createUsers(db);
View Full Code Here

Examples of org.owasp.jbrofuzz.core.Database

   * @param point1
   * @param point2
   */
  public void addFuzzer(final String fuzzerId, String[] encoders, final int point1, final int point2) {

    final Database cDatabase = getFrame().getJBroFuzz().getDatabase();

    if(cDatabase.containsPrototype(fuzzerId)) {

      final String type = cDatabase.getType(fuzzerId);

      mFuzzTableModel.addRow(
          fuzzerId, 
          type, 
          fuzzerId, 
View Full Code Here

Examples of org.palo.api.Database

      ConnectionFactory.getInstance().getConfiguration(psd.host, psd.port, user, pass);
    cfg.setTimeout(120000);
    cfg.setLoadOnDemand(true);
    try {
      Connection con = ConnectionFactory.getInstance().newConnection(cfg);
      Database db = con.getDatabaseByName("Config");
      if (db != null) {
        Cube c = db.getCubeByName("#_connections");
        if (c != null) {
          Dimension conDim = c.getDimensionByName("connections");
          Dimension conAttribDim = c.getDimensionByName("#_connections_");
          ArrayList <Element []> coords = new ArrayList<Element[]>();
          ArrayList <Element> attributes = new ArrayList<Element>();
View Full Code Here

Examples of org.parosproxy.paros.db.Database

    ignoredChannelList = new ArrayList<>();
  }
 
  private TableWebSocket createTableWebSocket() {
    TableWebSocket table = new TableWebSocket();
    Database db = Model.getSingleton().getDb();
    db.addDatabaseListener(table);
    try {
      table.databaseOpen(db.getDatabaseServer());
    } catch (SQLException e) {
      logger.warn(e.getMessage(), e);
    }
    return table;
  }
View Full Code Here

Examples of org.pentaho.di.core.database.Database

    // OK, What's the SQL we need to execute to generate the target table?
    String sql = transMeta.getSQLStatementsString();

    // Execute the SQL on the target table:
    Database targetDatabase =
        new Database( new LoggingObject( "Custom1" ), transMeta.findDatabase( targetDatabaseName ) );
    targetDatabase.connect();
    targetDatabase.execStatements( sql );

  }
View Full Code Here

Examples of org.restsql.core.sqlresource.Database

    final ObjectFactory objectFactory = new ObjectFactory();
    final SqlResourceDefinition def = objectFactory.createSqlResourceDefinition();
    final Query query = objectFactory.createQuery();
    def.setQuery(query);
    final MetaData metaData = objectFactory.createMetaData();
    final Database database = objectFactory.createDatabase();
    database.setDefault(databaseName);
    metaData.setDatabase(database);
    final Table table = objectFactory.createTable();
    table.setRole("Parent");
    metaData.getTable().add(table);
    def.setMetadata(metaData);
View Full Code Here

Examples of org.sfsoft.sentenciassql.util.Database

      Class.forName("com.mysql.jdbc.Driver").newInstance();
      conexion = DriverManager.getConnection("jdbc:mysql://" + servidor + ":3306" + "/" + baseDatos,
          usuario, contrasena);
      JOptionPane.showMessageDialog(null, "Se ha conectado con �xito");
     
      database = new Database(conexion);
     
      cargarDatos();
     
      activarControles();
     
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.