Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in java db

 
Punit Jain
Ranch Hand
Posts: 1015
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i created a application using which fetches data from database..
i used jabaDB for that, and i created a database say (MyFirstDb).
but i m only able to use data database in that application, when i m trying to connect to that database in other application, it showing me database could not found...??
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you connecting to the database from both applications? You should TellTheDetails.
 
Punit Jain
Ranch Hand
Posts: 1015
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well i m using eclipse, i added derby jars to my plugins folder of my eclipse, then i created a project into my eclipse which is fetching records from my db, before this i created a database say, (MyFirstDb) into javadb and also created a table and inserted some data, and i successfully fetches record from that table..

but now i created one more project and again i try to connect to MyFirstDb database using this query

but now it showing me database not found.
but again if i go back to my earlier created project in that when i try to connect to MyFirstDb, it connects me..

i just want to know, if i created a database in javadb, do i only able to access that database into that project only in which i have created that???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic