Hi.
Is it possible to connect to a database using JDBC with a configuration file? I understand and can implement the alternate methods such as "Class.forName( "...."); " and "Connection connection = DriverManager. getConnection(" .....");" etc, but I am struggling to come up with a solution for a configuration file (which I have, which specifies the driver and database url.
Any tips or reading recommendations would be greatly appreciated.
Is it possible to connect to a database using JDBC with a configuration file? I understand and can implement the alternate methods such as "Class.forName( "...."); " and "Connection connection = DriverManager. getConnection(" .....");" etc, but I am struggling to come up with a solution for a configuration file (which I have, which specifies the driver and database url.
Any tips or reading recommendations would be greatly appreciated.
Comment