No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
[COLOR=Plum] [SIZE=4]:?: I want C and C++ technical Model Question and Answers for my campus interview . :sad: IT is very important to me so please if u had means send it to me.[/SIZE][/COLOR] MY E-MAIL Addrs, | |
Re:
I need a little help connecting to a database in Java. The example in the book I have uses the following: [code] static final String JDBC_DRIVER = "com.ibm.db2j.jdbc.DB2jDriver"; static final String DATABASE_URL = "jdbc:db2j:books"; [/code] It goes on to use it: [code] System.setProperty("db2j.system.home", "C:/mysql"); Class.forName(JDBC_DRIVER); connect = DriverManager.getConnection(DATABASE_URL); [/code] First … |