Codota Logo
DatabaseObject.getName
Code IndexAdd Codota to your IDE (free)

How to use
getName
method
in
liquibase.structure.DatabaseObject

Best Java code snippets using liquibase.structure.DatabaseObject.getName (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: liquibase/liquibase-hibernate

  protected org.hibernate.mapping.Table findHibernateTable(DatabaseObject example, DatabaseSnapshot snapshot) throws DatabaseException {
    HibernateDatabase database = (HibernateDatabase) snapshot.getDatabase();
    MetadataImplementor metadata = (MetadataImplementor) database.getMetadata();

    Collection<Table> tmapp = metadata.collectTableMappings();
    Iterator<Table> tableMappings = tmapp.iterator();

    while (tableMappings.hasNext()) {
      org.hibernate.mapping.Table hibernateTable = tableMappings.next();
      if (hibernateTable.getName().equalsIgnoreCase(example.getName())) {
        return hibernateTable;
      }
    }
    return null;
  }
}
liquibase.structureDatabaseObjectgetName

Popular methods of DatabaseObject

  • getSchema
  • getSnapshotId

Popular in Java

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • IsNull (org.hamcrest.core)
    Is the value null?
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