0

My problem is that I don't even know what I am looking for ... I created an app that should save data even without an internet connection and than update it into a External Server running SQL.I need to have my application to store the data into the pc itself

How do I accomplih that? What am I looking for? Derby?

1
  • Thanks. I´ll look into it. I'll let you know how it workrd. Commented Sep 14, 2014 at 15:04

1 Answer 1

1

in your code use static final String DB_CONNECTION = "jdbc:mysql://127.0.0.1/dataBasename"

Sign up to request clarification or add additional context in comments.

3 Comments

I'm guessing that's Derby. I'll see how that works. Thanks for repleying
That's actually MySQL, which isn't what you want (unless you want everyone that installs your program to also install MySQL). What m4rtin said, Derby or H2 - I have a program that transparently switches from them to PostgreSQL.
i just give him a code exemple he can change the jdbc driver as he like

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.