2/13/2023 0 Comments Sun.jdbc.odbc.jdbcodbcdriver jar![]() In lodge to connect to MS Access, nosotros cry for type 1 JDBC driver, too known equally JDBC ODBC couplet driver together with the degree inwards question, JdbcOdbcDriver is driver implementation to connect to Open database connectivity driver installed inwards machine. In lodge to charge driver, nosotros purpose Class.forName("") together with this method throws, if ClassLoader is non able to honor the requested degree ( ) in CLASSPATH. If you lot remember, In lodge to opened upward SQL connector to database, outset measurement is to charge together with register the driver. Normally, inwards pre Java 8 world, mistake comes when you try to connect to Microsoft Access database from Java using JDBC together with JDBC ODBC couplet driver is non available inwards classpath. In lodge to solve this error, simply use Jackcess library or a commercial driver similar HXTT. Microsoft Access, but unfortunately you lot cannot purpose it from JDK 8 onward. This degree is required to connect whatever database using Object database connectivity driver e.g. ![]() ![]() ![]() exception comes inwards Java 8 because it has removed the JDBC ODBC couplet driver degree "" from JDK together with JRE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |