Skip to main content

Posts

Showing posts from July, 2005
Made database connection class for my project that using mysql jdbc. I'm putting the code here incase anyone may find it usefull. Or you can download it from http://vc-digital.com/ConnectionDB.java /* * Created on March 25, 2005 * */ package sim; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.sql.*; import java.util.Scanner; import java.lang.String; /** * This source code is license under GPL * Still working on password encryption * You may use it, hack it and do what ever you want but please put my name as a credit if you * are using this code for your application... * If you find this code usefull for you please donate to the poor and homeless in your * hood... giving to others will make you a better person. Trust me... * Author o3ng. Contact me for any suggestion or question at avenpace@gmail.com * */ class ConnectionDB { private String [] cfg, cfgx; p