Package org.adempiere.db.oracle.config
Class ConfigOracle
- java.lang.Object
-
- org.adempiere.db.oracle.config.ConfigOracle
-
- All Implemented Interfaces:
IDatabaseConfig
public class ConfigOracle extends Object implements IDatabaseConfig
Oracle Configuration- Version:
- $Id: ConfigOracle.java,v 1.3 2006/07/30 00:57:42 jjanke Exp $
- Author:
- Jorg Janke
-
-
Constructor Summary
Constructors Constructor Description ConfigOracle()
ConfigOracle
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
discoverDatabases(String selected)
Discover Databases.String
getDatabaseName(String nativeConnectioName)
Get real database name from native connection profile name return from discoverDatabasesString
getName()
Get Database Namevoid
init(ConfigurationData configurationData)
InitString
test(IDBConfigMonitor monitor, ConfigurationData data)
Test
-
-
-
Method Detail
-
init
public void init(ConfigurationData configurationData)
Init- Specified by:
init
in interfaceIDatabaseConfig
-
discoverDatabases
public String[] discoverDatabases(String selected)
Discover Databases. To be overwritten by database configs- Specified by:
discoverDatabases
in interfaceIDatabaseConfig
- Parameters:
selected
- selected database- Returns:
- array of databases
-
getDatabaseName
public String getDatabaseName(String nativeConnectioName)
Description copied from interface:IDatabaseConfig
Get real database name from native connection profile name return from discoverDatabases- Specified by:
getDatabaseName
in interfaceIDatabaseConfig
- Returns:
- Database name
-
test
public String test(IDBConfigMonitor monitor, ConfigurationData data)
Test- Specified by:
test
in interfaceIDatabaseConfig
- Parameters:
monitor
-data
-- Returns:
- error message or null if OK
-
getName
public String getName()
Description copied from interface:IDatabaseConfig
Get Database Name- Specified by:
getName
in interfaceIDatabaseConfig
- Returns:
- database short name
-
-