You Are Here:

Community: Developer Discussion Boards

#1 Old 9210 and database - 2003-11-07, 16:37

Join Date: Nov 2003
Posts: 1
Petri79
Offline
Registered User
Does anyone know is it possible to connect to your own created database? I've made a program and i wan't it to show data from Ms access database, is it possible? I know how to use sql queries and so on.
I have made jdbc connections and sql queries in Java, but it seems that emulator doesn't have jdbc driver... when trying to use String JDBCDriver = "sun.jdbc.odbc.JdbcOdbcDriver";
i get error message that tells it didn't find the driver.
Reply With Quote

#2 Old 2003-11-07, 20:06

Join Date: Jun 2003
Posts: 4,325
Location: Cheshire, UK
grahamhughes's Avatar
grahamhughes
Offline
Forum Nokia Champion
If you're using Personal Java, you might be better to post this in the Personal Java area.

The error message is probably because you have no such class as sun.jdbc.odbc.JdbcOdbcDriver in your JRE. This class is specific to ODBC, and requires ODBC support on the device. In turn, to read an Access database, ODBC requires the Access library files (DLLs).

Unless there is a specific driver for supporting databases on the Nokia 9210, your best bet is probably to find a free database engine, written in Java, which you can port to the 9210.

(I should add that my Personal Java experience comes only from working on PocketPC - which doesn't support ODBC, even though it's "Windows"! - and not Nokia phones.)

Graham.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia