Very simple... If you have a DataContext 'dc', then retrieve all schemas or the default schema:
Schema[] schemas = dc.getSchemas(); Schema defaultSchema = dc.getDefaultSchema(); And for each schema you can call... Table[] tables = schema.getTables() 2016-07-05 3:29 GMT-07:00 Arunkumar Pillai <[email protected]>: > Hi > > How to get list of all schemas using apache metamodel ? > > The database may be any ? > > How to get list of all tables for the selected schemas? > > -- > Thanks and Regards > Arun >
