NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
rnphuff
Joined: 05 Jan 2010 Posts: 6 Location: Los Angeles, CA
|
Posted: Tue Jan 05, 2010 2:36 am Post subject: J2ME Database Connection Problem |
|
|
I am developing a mobile program with an embedded database with Net Beans. I have all of it pretty much done, but the database is giving me a hard time. I am trying to connect to it but keep getting errors. I have looked all over online, and every example tells me to import java.sql or javax.sql. I have tried this but can not get Net Beans to import these. I have tried numerous libraries and API to no avail. How do I import java.sql into my midlet? Thank you.
Roger |
|
| Back to top |
|
 |
Brad Schmidt Posted via mailing list.
|
Posted: Tue Jan 05, 2010 3:23 am Post subject: Re: J2ME Database Connection Problem |
|
|
This example works for most, but perhaps it's the example you've already tried. Have a look and decide for yourself.
http://www.java-tips.org/java-me-tips/midp/connecting-to-databases-like-mysql-sql-server-or-oracle-on-j2me-de.html
Brad
On 1/5/2010 3:36 AM, rnphuff wrote: | Quote: | | Quote: | I am developing a mobile program with an embedded database with Net Beans. I have all of it pretty much done, but the database is giving me a hard time. I am trying to connect to it but keep getting errors. I have looked all over online, and every example tells me to import java.sql or javax.sql. I have tried this but can not get Net Beans to import these. I have tried numerous libraries and API to no avail. How do I import java.sql into my midlet? Thank you.
Roger
| |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|