Roberto Acevedo
- Forum posts: 2
Feb 4, 2014, 4:00:47 AM via Website
Feb 4, 2014 4:00:47 AM via Website
I'm creating an application that would pull data from a database. The problem is that for some reason it throws a ClassNotFoundException when executing the following line of code
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
I've made this work on a regular Java application. Hence, I already added the jar file as part of the class path. I've done the same things I did for the regular java application, and it breaks only in Android...
Should I be doing something extra for android application?
Thanks.
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
I've made this work on a regular Java application. Hence, I already added the jar file as part of the class path. I've done the same things I did for the regular java application, and it breaks only in Android...
Should I be doing something extra for android application?
Thanks.
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.