org.pentaho.di.repository.Repository.deleteDatabaseMeta()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(90)

本文整理了Java中org.pentaho.di.repository.Repository.deleteDatabaseMeta方法的一些代码示例,展示了Repository.deleteDatabaseMeta的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.deleteDatabaseMeta方法的具体详情如下:
包路径:org.pentaho.di.repository.Repository
类名称:Repository
方法名:deleteDatabaseMeta

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 ) {

相关文章

Repository类方法