User Profile

Collapse

Profile Sidebar

Collapse
s302015
s302015
Last Activity: Nov 5 '15, 10:54 AM
Joined: May 27 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 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
    See more | Go to post

    Leave a comment:


  • 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()) {
    ...
    See more | Go to post
    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
Working...