Codota Logo
uk.ac.ebi.intact.core.util
Code IndexAdd Codota to your IDE (free)

How to use uk.ac.ebi.intact.core.util

Best Java code snippets using uk.ac.ebi.intact.core.util (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Drops and creates the schema, initializing intact. Beware that it commits transactions
 */
public static void resetSchema() throws IntactTransactionException {
  resetSchema(true);
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Creates a schema and initialize the database
 */
public static void createSchema() {
  createSchema(true);
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Drops the current schema, emptying the database
 */
public void dropSchema() throws IntactTransactionException {
  SchemaUtils.dropSchema();
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Whether to log or not SQL statements
 *
 * @param showSql
 */
public static void setPrintSql(boolean showSql) {
  if (showSql) {
    for (Logger logger : LOG_HIBERNATE_SQL) {
      setLoggerLevel(logger, Level.DEBUG);
    }
  } else {
    for (Logger logger : LOG_HIBERNATE_SQL) {
      setLoggerLevel(logger, Level.INFO);
    }
  }
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Generates the DDL schema for HSQL DB.
 * @return an array containing the SQL statements
 */
public static String[] generateCreateSchemaDDLForHSQL() {
  return generateCreateSchemaDDL(HSQLDialect.class.getName());
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

public static void renderIntactObjectAsTree( IntactObject intactObject ) {
  renderIntactObjectAsTree( intactObject, null );
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Generates the UPDATE DDL schema for PostgreSQL .
 * @return an array containing the SQL statements
 */
public static String[] generateUpdateSchemaDDLForPostgreSQL(Connection connection) throws SQLException {
  return generateUpdateSchemaDDL(PostgreSQLDialect.class.getName(), connection);
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Drops and creates the schema, initializing intact. Beware that it commits transactions
 */
public static void resetSchema() throws IntactTransactionException {
  resetSchema(true);
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Creates a schema and initialize the database
 */
public static void createSchema() throws IntactTransactionException {
  createSchema(true);
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Whether to log or not SQL statements
 *
 * @param showSql
 */
public static void setPrintSql(boolean showSql) {
  if (showSql) {
    for (Logger logger : LOG_HIBERNATE_SQL) {
      setLoggerLevel(logger, Level.DEBUG);
    }
  } else {
    for (Logger logger : LOG_HIBERNATE_SQL) {
      setLoggerLevel(logger, Level.INFO);
    }
  }
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Generates the DDL schema for PostgreSQL.
 * @return an array containing the SQL statements
 */
public static String[] generateCreateSchemaDDLForPostgreSQL() {
  return generateCreateSchemaDDL(PostgreSQLDialect.class.getName());
}
origin: uk.ac.ebi.intact.core/intact-core

public static void renderIntactObjectAsTree( IntactObject intactObject ) {
  renderIntactObjectAsTree( intactObject, null );
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Generates the UPDATE DDL schema for HSQL .
 * @return an array containing the SQL statements
 */
public static String[] generateUpdateSchemaDDLForHSQL(Connection connection) throws SQLException {
  return generateUpdateSchemaDDL(HSQLDialect.class.getName(), connection);
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Drops and creates the schema, initializing intact. Beware that it commits transactions
 */
public void resetSchema() throws IntactTransactionException {
  SchemaUtils.resetSchema();
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Creates a schema
 * @param initializeDatabase If false, do not initialize the database (e.g. don't create Institution)
 */
public void createSchema(boolean initializeDatabase) throws IntactTransactionException {
  SchemaUtils.createSchema(initializeDatabase);
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Whether to log or not SQL statements
 *
 * @param showSql
 */
public static void setPrintSql(boolean showSql) {
  if (showSql) {
    for (Logger logger : LOG_HIBERNATE_SQL) {
      setLoggerLevel(logger, Level.DEBUG);
    }
  } else {
    for (Logger logger : LOG_HIBERNATE_SQL) {
      setLoggerLevel(logger, Level.INFO);
    }
  }
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Generates the DDL schema for Oracle 9i.
 * @return an array containing the SQL statements
 */
public static String[] generateCreateSchemaDDLForOracle() {
  return generateCreateSchemaDDL(Oracle9iDialect.class.getName());
}
origin: uk.ac.ebi.intact.core/intact-core

/**
 * Drops and creates the schema, initializing intact. Beware that it commits transactions
 */
public static void resetSchema() throws IntactTransactionException {
  resetSchema(true);
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

/**
 * Creates a schema and initialize the database
 */
public static void createSchema() {
  createSchema(true);
}
origin: uk.ac.ebi.intact/intact-core

/**
 * Drops and creates the schema. Beware that it commits transactions
 * @param initializeDatabase If false, do not initialize the database (e.g. don't create Institution)
 *
 */
public void resetSchema(boolean initializeDatabase) throws IntactTransactionException {
  SchemaUtils.resetSchema(initializeDatabase);
}
uk.ac.ebi.intact.core.util

Most used classes

  • LogUtils
    Utilities to help with the login
  • SchemaUtils
    IntAct schema utils, that contains methods to create/drop the database schema, create DDLs...
  • ClassUtils
    TODO comment this
  • DebugUtil
    Class for debugging / logging purposes
  • HashCodeUtils
    Hashcode utilities.
  • IntactFtpClient,
  • IntactFtpFile
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now