This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Okay, so I've got a school project due in a couple days that requires I take a file I created and turn it into a database with a GUI, then connect it to the database so I can write to it and read from it, etc. I've got everything done, but no matter what I do, what tutorial I read, I can't get it to connect to the database when I run the program. The GUI comes up ready to accept input, but I get a box that says DB Failure, Unable to Connect to Database. I've entered the login and password info, I've opened the correct port in my firewall, I'm not getting any other errors besides this, and I have no idea where to go from here. I'm including the code for my Connection class HERE. If anyone has any idea what I've done wrong, please let me know ASAP.
EDIT: I should probably mention I'm using a Derby database.
Subreddit
Post Details
- Posted
- 11 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/java/commen...