Package com.google.enterprise.connector.util.database

Examples of com.google.enterprise.connector.util.database.JdbcDatabase


   * Test FakeDataSource. This will produce a disabled JdbcDatabase.
   * Trying to create a ConnectorPersistentStore based upon a disabled
   * database should throw a SQLException.
   */
  public void testFakeDataSource() throws Exception {
    JdbcDatabase database = new JdbcDatabase(new FakeDataSource("Fake"));
    ConnectorPersistentStoreFactory factory =
        new ConnectorPersistentStoreFactory(database);

    try {
      ConnectorPersistentStore cpStore =
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.util.database.JdbcDatabase

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.