How to retrieve sequences metadata from JDBC?
I am trying to retrieve different kind of metadata of my Oracle DB from Java code (using basic JDBC). For example, if I want to retrieve the list of tables with _FOO suffix, I can do something like: Connection connection = dataSource.getConnection(); DatabaseMetaData meta = connection.getMetaData(); ResultSet tables = meta.getTables(connection.getCatalog(), null, "%_FOO", new String[] { "TABLE" }); // Iterate on the ResultSet to get information on tables... Now, I want to retrieve all the sequences from my database (for example all sequence named S_xxx_FOO ). How would I do that, as I don't