I am using it to connect to different database by providing database connectors in it, can you please provide a sample to connect get tables metadata information using JDBC or something from DB2 Mainframe .
will surely remember next time to use code tags , thanks
User Profile
Collapse
-
cannot connect to DB2 mainframe for getting tables from metadata
i am trying to get all tables from metadata for mainframe DB2 but not able to get any .
Can anybody please help
...Code:try { conn = (Connection) dbConnection.getConnection("connctor for IBM DB2"); dbmd = conn.getMetaData(); tableSet = dbmd.getTables(null, null, null, new String[] { "TABLE" }); tableList = new ArrayList<String>(); while (tableSet.next()) {Last edited by Rabbit; May 27 '15, 03:33 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
No activity results to display
Show More
Leave a comment: