Subversion Repositories DevTools

Rev

Rev 4543 | Rev 5908 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4543 Rev 4619
Line 56... Line 56...
56
import java.sql.Connection;
56
import java.sql.Connection;
57
import java.sql.DriverManager;
57
import java.sql.DriverManager;
58
import java.sql.SQLException;
58
import java.sql.SQLException;
59
import java.sql.ResultSet;
59
import java.sql.ResultSet;
60
import java.sql.ResultSetMetaData;
60
import java.sql.ResultSetMetaData;
61
 
-
 
-
 
61
import com.erggroup.jats.TimedBufferedReader;
62
 
62
 
63
public class ReleaseManagerSelect
63
public class ReleaseManagerSelect
64
{
64
{
65
  public static void main(String[] args)
65
  public static void main(String[] args)
66
  {
66
  {
Line 96... Line 96...
96
    //
96
    //
97
    // Initiate the connection
97
    // Initiate the connection
98
    //
98
    //
99
    try
99
    try
100
    {
100
    {
-
 
101
 
-
 
102
        //  Load the Oracle JDBC driver
-
 
103
        try {
-
 
104
            Class.forName("oracle.jdbc.OracleDriver") ;
-
 
105
            System.out.println("Oracle JDBC driver loaded ok.");
-
 
106
         
-
 
107
        } catch (Exception e) {
-
 
108
            System.out.println("Exception: " + e.getMessage());
-
 
109
            System.exit(1);
-
 
110
        }
-
 
111
 
101
        Connection conn = DriverManager.getConnection( url, user, passwd);
112
        Connection conn = DriverManager.getConnection( url, user, passwd);
102
        System.out.println( "Status:Connection Opened" );
113
        System.out.println( "Status:Connection Opened" );
103
        System.out.println( "ConnectionOpened:" );
114
        System.out.println( "ConnectionOpened:" );
104
 
115
 
105
        //
116
        //