Java/MySQL: Working with data in classes
Posted
by
skiwi
on Stack Overflow
See other posts from Stack Overflow
or by skiwi
Published on 2013-06-28T10:13:41Z
Indexed on
2013/06/28
10:21 UTC
Read the original article
Hit count: 254
What is the best way to deal with accessing/modifying tables in a database? I have read about the Data Access Object approach, but none of the resources I have found so far indicate a clear implementation of it.
So assume you have a database with a table called accounts that has columns id, name, password and email. How would you properly access it within Java? I mean most people know how to do SQL statements, but that is not really the point.
I hope people here can be of help.
Regards.
© Stack Overflow or respective owner