| Author |
Database Migration (Migrating only Tables, leaving Views)
|
Tauri Valor
Ranch Hand
Joined: Aug 03, 2005
Posts: 166
|
|
Hi Im doing a Database Migration from HSQL to DERBY.. I need to migrate only the tables in the HSQL to DERBY.. But when I use the following code : The above code migrates tables but it also migrates Views and creates new tables in detination database with the name of the view in source database. Now I need to get only the tables leaving out the views... Can any one pls track out the problem ? Thanks, Sud
|
A Moment's insight is sometimes worth a Life's experience.
|
 |
Tauri Valor
Ranch Hand
Joined: Aug 03, 2005
Posts: 166
|
|
Hi I found the solution myself Once I got the list of tables and views, I checked the tableType = rs.getString("TABLE_TYPE") value to know if it is Table or a View. Hope this helps somebody.... Cheers, Sudheer.
|
 |
 |
|
|
subject: Database Migration (Migrating only Tables, leaving Views)
|
|
|