Use the JDBC driver org.ldbc.jdbcDriver instead of the regular database driver, and the url jdbc:ldbc:<vendor-database-url> instead of jdbc:<vendor-database-url>.
It is not required to register the JDBC driver of the underlying driver as well; the LDBC driver will do that.
Example (connecting to a PointBase database using LDBC):
Class.forName("org.ldbc.jdbc.jdbcDriver");
Connection
conn=DriverManager.getConnection("jdbc:ldbc:pointbase:sample",user,password);
You may need to 'switch' the code to the JDK you use, or you may
need to rename / delete the Oracle adapter. For details, see 'How to Build'.
LDBC is fully standard compliant. Unfortunately, all major database
are not, that is why LDBC is required. The LDBC driver ensures that all
JDBC methods behave the same for all (major) databases. LDBC does not
define a new database API, but it documents and enforces the expected
behaviour. LDBC fixes problems and incompatibilities of specific
databases and JDBC drivers.