Connecting Tech Pros Worldwide Forums | Help | Site Map

persistence

Newbie
 
Join Date: Nov 2007
Posts: 2
#1: Nov 22 '07
I m quite new to prgramming in java and need help.
wish to make a persistable class, while mapping the values of variables in this class to a database. can anyone give me an example of how this can be done.?

Newbie
 
Join Date: Nov 2007
Posts: 2
#2: Nov 22 '07

re: persistence


Quote:

Originally Posted by mukoma

I m quite new to prgramming in java and need help.
wish to make a persistable class, while mapping the values of variables in this class to a database. can anyone give me an example of how this can be done.?

You will need to use JDBC (the Java Database Connectivity API). This is quite a large topic, much larger than a simple post here could cover. I recommend you take a read of the JDBC Tutorial.
Newbie
 
Join Date: Nov 2007
Posts: 2
#3: Nov 28 '07

re: persistence


thanks a lot. m looking into that area now .
Reply