Class LitebridgeDriverManagerDataSource

java.lang.Object
org.litebridgedb.orm.tx.LitebridgeDriverManagerDataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource

public class LitebridgeDriverManagerDataSource extends Object implements DataSource
A simple DataSource implementation that utilises DriverManager to create connections. It provides basic functionality for connection management by encapsulating a URL, username, and password to connect to a database.

This class implements the DataSource interface and delegates connection retrieval to the DriverManager class, making it suitable for lightweight database connection management.

Thread safety is not guaranteed. Ensure proper synchronisation for concurrent access.