Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9075249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:49:31+00:00 2026-06-16T18:49:31+00:00

This is in continuation to my previous question I’m trying to embed a derby

  • 0

This is in continuation to my previous question

I’m trying to embed a derby database in my web application. I’m able to embed it, though I am facing glitches. Here’s the snapshot of my project structure.

Project structure

I wonder why class.forName("org.apache.derby.jdbc.EmbededDriver") is throwing exception?

java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbededDriver

To overcome this, I have used

DriverManager.registerDriver(new org.apache.derby.jdbc.EmbeddedDriver());

Which works well. Why is it so? Also, Where would it create database if coded like this. I cannot spot the database.

connection = DriverManager.getConnection("jdbc:derby:MyDbTest;create=true");

I checked in tomcat webapps and eclipse workspace, I didn’t find database.

If given this way, I can spot it.

connection = DriverManager.getConnection("jdbc:derby:E:/MyDbTest;create=true");
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:49:32+00:00Added an answer on June 16, 2026 at 6:49 pm
    class.forName("org.apache.derby.jdbc.EmbededDriver")
    

    Threw an exception because there is a ‘d’ missing from embedded.

    See here for information about specifying the location of databases on the file system.

    connecting to a file-based derby database

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is in continuation to my previous question . I am trying to
This question is continuation to my previous question over stack overflow how-to-download-images-asynchronously-from-web-server . I
This is a continuation of my previous question .NET regex engine returns no matches
This question is a continuation of my previous question here zend models architecture (big
This is continuation of my previous question Android: Music Player gets started itself after
This is the continuation of my previous question. deleting lines from text files based
This is in continuation to my previous question which was closed cause of similarity
This is a continuation of my previous question which I posted when I wasn't
This question is in continuation to my previous question, in which I asked about
This is a continuation from a previous stackoverflow question. I've renamed some variables so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.