Export for OpenSpending
[contractdashboard.git] / admin / neo4jimporter / target / classes / JDBCExample.class
1
2
3
4
5
6
7
8
9
10
11

	LineNumberTableLocalVariableTablethis
LJDBCExample;main([Ljava/lang/String;)V	java/lang/SystemoutLjava/io/PrintStream;8-------- PostgreSQL JDBC Connection Testing ------------
java/io/PrintStreamprintln(Ljava/lang/String;)Vorg.postgresql.Driver
!#"java/lang/Class$%forName%(Ljava/lang/String;)Ljava/lang/Class;'CWhere is your PostgreSQL JDBC Driver? Include in your library path!
)+* java/lang/ClassNotFoundException,printStackTrace."PostgreSQL JDBC Driver Registered!02jdbc:postgresql://127.0.0.1:5432/contractDashboard2postgres4snmc
687java/sql/DriverManager9:
getConnectionM(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection;<'Connection Failed! Check output console
>+?java/sql/SQLExceptionA,You made it, take control your database now!CFailed to make connection!argv[Ljava/lang/String;e"Ljava/lang/ClassNotFoundException;
connectionLjava/sql/Connection;Ljava/sql/SQLException;


N	') -!/6#7%?&C'D+H,S.[0*\DE
FG)3HI7
FJKL