Need a MySql class template

I am looking for at template class that connects to a sql server and can get, store and update the database. Is there a template anyone know off?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

See the following and linked examples
there are frameworks, try hibernate/ibatis!
Mick BarryJava DeveloperCommented:
commons dbutils has great helper methods

C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

MickeysAuthor Commented:
well the first link was how to connect to a sql server. But what about reading, writing an update?

The other does that work? I have to include some new package or what?
Mick BarryJava DeveloperCommented:
dbutils provides utility methods that can take some of the repetitiveness out of jdbc coding.
there isn't really a template than you can use, not any that are worth using anyway. Most end up making your code more complicated than it needs to be.
MickeysAuthor Commented:
might be a stupied question but when I download the package I get commons-dbutils-1.2-src.....shouldnt I get some kind of package.jar??? I cant just add that folder. That will give error
Mick BarryJava DeveloperCommented:
thats the source distro, theres also a binary distrubution that contains jar

MickeysAuthor Commented:
aha. So all I do is download that package. Take out the xx.jar and add it to my project. Then I use the example code to make it work?
Mick BarryJava DeveloperCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.