If I wanted to implement a JDBC Driver, how would I know which interfaces/abstract classes I would need to implement in order to play successfully? In reading through the source, it looks like there are classes that I would consider both API(e.g. DriverManager) and SPI in the java.sql package.

I've been reading through the documentation but I am yet to find "In order to develop a driver you need to implement Driver, Connection, ResultSet, etc."

FYI - The reason I ask is that I am developing an API that includes a Provider. I'm trying to determine the best way to structure and document my code.

有帮助吗?

解决方案

Looks like you should consult a JDBC specification for understanding what's required to build a JDBC driver. Below is link to JDBC 3 specs from JCP community http://jcp.org/en/jsr/detail?id=54

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top