NetBeans Forums

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

how to connect the derby(java db) by netbean?

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



Joined: 05 Mar 2011
Posts: 1

PostPosted: Sat Mar 05, 2011 11:17 am    Post subject: how to connect the derby(java db) by netbean? Reply with quote

I found many tutorial in the website:
http://db.apache.org/derby/papers/DerbyTut/ij_intro.html#ij_connect

http://db.apache.org/derby/papers/DerbyTut/embedded_intro.html


but it does not work at netbean,
the code can not compile, and netbean said there is no driver class...

public String driver = "org.apache.derby.jdbc.EmbeddedDriver"; ... Class.forName(driver).newInstance();


it there any tutorial teach how to use database in writing mobile programme?
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