Package org.eclipse.edc.sql
Class DriverManagerConnectionFactory
java.lang.Object
org.eclipse.edc.sql.DriverManagerConnectionFactory
- All Implemented Interfaces:
ConnectionFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(String jdbcUrl, Properties properties) Creates a fresh connection to the specified database
-
Constructor Details
-
DriverManagerConnectionFactory
public DriverManagerConnectionFactory()
-
-
Method Details
-
create
Description copied from interface:ConnectionFactoryCreates a fresh connection to the specified database- Specified by:
createin interfaceConnectionFactory- Parameters:
jdbcUrl- the JDBC url.properties- the properties.- Returns:
- a new Connection.
-