NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

J2ME Database Connection Problem

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
rnphuff



Joined: 05 Jan 2010
Posts: 6
Location: Los Angeles, CA

PostPosted: Tue Jan 05, 2010 2:36 am    Post subject: J2ME Database Connection Problem Reply with 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
Brad Schmidt
Posted via mailing list.





PostPosted: Tue Jan 05, 2010 3:23 am    Post subject: Re: J2ME Database Connection Problem Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo