// Load Teradata JDBC driver Class.forName("com.teradata.jdbc.TeraDriver"); #### // Establish the connection Connection connection = DriverManager.getConnection(jdbcUrl, username, password);