AnyLogic
Expand
Font size
All Implemented Interfaces:
Serializable

@AnyLogicInternalAPI
public class DatabaseDescriptor
extends Object
implements Serializable
See Also:
Serialized Form

Constructor Summary

ConstructorDescription
DatabaseDescriptor(DatabaseType type, String jdbcDriver, String connectionURL, Properties connectionInfo) 
DatabaseDescriptor(DatabaseType type, String jdbcDriver, String connectionURL, Properties connectionInfo, String fileName) 

Method Summary

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, toString, wait, wait, wait

Constructor Details

DatabaseDescriptor

public DatabaseDescriptor(DatabaseType type,
 String jdbcDriver,
 String connectionURL,
 Properties connectionInfo)

DatabaseDescriptor

public DatabaseDescriptor(DatabaseType type,
 String jdbcDriver,
 String connectionURL,
 Properties connectionInfo,
 String fileName)

Method Details

getType

public DatabaseType getType()

getFileName

public String getFileName()

createConnection

public Connection createConnection()
                            throws SQLException
Throws:
SQLException

setExcelStreamingMode

public void setExcelStreamingMode(DatabaseExcelStreamingMode mode)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object