NetBeans Forums

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

Embedded JavaDB problem.

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



Joined: 09 Jan 2010
Posts: 15
Location: Bangalore

PostPosted: Sat Jan 09, 2010 8:31 am    Post subject: Embedded JavaDB problem. Reply with quote

I want to say first that I have already tried reading all similar posts and found no answer Confused

In the Services window I right-clicked and chose Connect using on the JavaDB ( Embedded ) driver. It then says I must first have a database Rolling Eyes . The only way figured out by me was to create database using Right Click > Start Database on the Java DB node. The problem is that this creates a Network Database and not an Embedded Database Sad .

Can anybody suggest a way to create an Embedded Database using the Services window so that instead of writing code, I can use netbeans to create my tables ? Question
Back to top
Zilog



Joined: 09 Jan 2010
Posts: 3
Location: Cluj-Napoca

PostPosted: Sat Jan 09, 2010 9:21 pm    Post subject: Reply with quote

You have to select services, database node, driver node then select java DB (embedded) connect using new database connection window appears. In the database field write the database name like this mydabase;create=true, don't forget create =true, type an username and an password and click ok an embedded database is created.

Or you can write directly in the URL field jdbc:derby:mydatabase;create=true insert user and password and click ok!
Hope I could help! please excuse my english writing :)
Back to top
narayanasparta



Joined: 09 Jan 2010
Posts: 15
Location: Bangalore

PostPosted: Mon Jan 11, 2010 12:08 pm    Post subject: Reply with quote

Thank you. This solves my problem Very Happy . Thanks a lot.
I am a new user too.

My software is almost over Wink. I will post a link to it for you to download Cool. It can plot 2D graphs in 2 coordinate systems and 3D in 3 coordinate systems. It can solve expressions. There is support for custom creation of variables, functions and graphs. It is just a mathematics desktop software.
Back to top
Zilog



Joined: 09 Jan 2010
Posts: 3
Location: Cluj-Napoca

PostPosted: Mon Jan 11, 2010 4:50 pm    Post subject: Reply with quote

Glad I could help! Very Happy

I just found out how to create an embedded derby database after some hours of serching the web, the I saw your post with the same problem and made an account to post a reply. Good luck with your software and don't forget the link Cool

I am trying to develop an software for a friends small business but I am still in the beginning phase where I have to find out some of the functionalities of netbeans Smile
Back to top
narayanasparta



Joined: 09 Jan 2010
Posts: 15
Location: Bangalore

PostPosted: Sat Jan 16, 2010 6:47 am    Post subject: Reply with quote

My email address is : narayanasparta@gmail.com

The link to the software setup file is : http://cid-bc0e40856e10ebaf.skydrive.live.com/self.aspx/.Public/SHIVANAND%5E4S%20PROJECTS/EmeraldMath13120100Beta.exe

You can also find the link at : http://chromehub.webs.com/apps/links/

Thanks for all your help Smile
Back to top
Zilog



Joined: 09 Jan 2010
Posts: 3
Location: Cluj-Napoca

PostPosted: Tue Jan 19, 2010 3:16 pm    Post subject: Reply with quote

Just installed java 3d and I am trying out your App but I am not quite sure how it works Sad and I have an question: how have you made the installer do you have an guide or an link to something similar! Smile

My App is far from finish but I will post an link to it if I have done something worthy of showing:)

my email adress is nicusor_petrici at yahoo dot com !
Back to top
narayanasparta



Joined: 09 Jan 2010
Posts: 15
Location: Bangalore

PostPosted: Wed Feb 10, 2010 3:39 pm    Post subject: Java 3D Reply with quote

Since making the end user find the right installation files for Java 3D is very difficult compared to installation of Java, I suggest you make two different versions of your software and add these files to the the directory ( or folder ) where you have the program or .jar file :

These can be taken from (java 3d intallation folder) \ lib \ ext to your folder
1.j3dcore.jar
2.j3dutils.jar
3.vecmath.jar

And do not forget to copy everything from (java 3d intallation folder) \ bin to your folder so that those files are available at runtime. Very Happy

If you do not get it, I have made windows 32 and windows 64 bit versions of the application. For your reference, install it and peek into the installation directory to see for yourself. My site is here : http://chromehub.webs.com/apps/links/

Refer for further details : http://www.excelsior-usa.com/kb/000028.html
Back to top
Sophia Clark



Joined: 04 Sep 2010
Posts: 10

PostPosted: Mon Sep 06, 2010 10:02 am    Post subject: embedded database Reply with quote

Hi,
I am using netbeans 6.9 I have created database in services window in javaDB by default it gives me clientDriver but i want embedded driver on an existing database. how to do it.

Please help.
Thanx.
Back to top
Franz
Posted via mailing list.





PostPosted: Wed Sep 08, 2010 5:17 pm    Post subject: Embedded JavaDB problem. Reply with quote

Hi,

Am 06.09.2010 12:02, schrieb Sophia Clark:
Quote:
Hi,
I am using netbeans 6.9 I have created database in services window in javaDB by default it gives me clientDriver but i want embedded driver on an existing database. how to do it.

have you tried
http://wiki.netbeans.org/GetStartedwithJavaDB

Quote:
Load the Apache Derby embedded JDBC driver
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");

Regards
fg
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans 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