Verified Owner
Top Methods
org.jabref.logic.shared

public Interface DatabaseConnection

Known Direct Implementers
org.jabref.logic.shared.DBMSConnection
Imports
java.sql.Connection, .SQLException

Method Summary

Modifier and TypeMethod and Description
public Connection
public DatabaseConnectionProperties
public DatabaseConnection
openNewConnection()

Opens an additional connection to the same database.

Method Detail

getConnectionback to summary
public Connection getConnection()
getPropertiesback to summary
public DatabaseConnectionProperties getProperties()
openNewConnectionback to summary
public DatabaseConnection openNewConnection() throws SQLException

Opens an additional connection to the same database. Long-running blocking operations (such as the notification listener's polling) need their own connection, because a connection serializes all operations running on it; a lost connection is replaced this way.