本文整理了Java中org.pentaho.di.repository.Repository.deleteDatabaseMeta
方法的一些代码示例,展示了Repository.deleteDatabaseMeta
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.deleteDatabaseMeta
方法的具体详情如下:
包路径:org.pentaho.di.repository.Repository
类名称:Repository
方法名:deleteDatabaseMeta
[英]Remove a database connection from the repository
[中]从存储库中删除数据库连接
代码示例来源:origin: pentaho/pentaho-kettle
@Override
public void deleteDatabaseMeta( String s ) throws KettleException {
getDelegate().deleteDatabaseMeta( s );
}
代码示例来源:origin: pentaho/pentaho-kettle
public void delDatabase( String databasename ) {
try {
rep.deleteDatabaseMeta( databasename );
refreshTree();
} catch ( KettleException e ) {
new ErrorDialog( shell,
BaseMessages.getString( PKG, "RepositoryExplorerDialog.Connection.Delete.UnexpectedError.Title" ),
BaseMessages.getString( PKG, "RepositoryExplorerDialog.Connection.Delete.UnexpectedError.Message" ), e );
}
}
代码示例来源:origin: pentaho/pentaho-kettle
mb.open();
} else {
repository.deleteDatabaseMeta( databaseMeta.getName() );
reloadLoadedJobsAndTransformations();
代码示例来源:origin: pentaho/pentaho-kettle
if ( !rep.getSecurityProvider().isReadOnly() ) {
try {
rep.deleteDatabaseMeta( db.getName() );
worked = true;
} catch ( KettleException dbe ) {
内容来源于网络,如有侵权,请联系作者删除!