db2.properties 1.2 KB

12345678910111213141516171819202122232425262728
  1. #
  2. # see http://schemaspy.sourceforge.net/dbtypes.html
  3. # for configuration / customization details
  4. #
  5. description=IBM DB2 with the 'App' Driver
  6. connectionSpec=jdbc:db2:<db>
  7. db=database name
  8. driver=COM.ibm.db2.jdbc.app.DB2Driver
  9. # you can use the -cp command line option if you prefer
  10. driverPath=c:/Program Files/IBM/SQLLIB/java/db2java.zip
  11. # return text that represents a specific :view / :schema
  12. selectViewSql=select text from syscat.views where viewname=:view and viewschema=:schema
  13. # return table_name, constraint_name and text for a specific :schema
  14. selectCheckConstraintsSql=select constname constraint_name, tabname table_name, text from syscat.checks where tabschema=:schema
  15. selectTableIdsSql=select tableid table_id, tabname table_name from syscat.tables where tabschema=:schema
  16. selectIndexIdsSql=select iid index_id, indname index_name, tabname table_name from syscat.indexes where tabschema=:schema
  17. # regular expression used in conjunction with -all (and can be command line param '-schemaSpec')
  18. # this says which schemas to include in our evaluation of "all schemas"
  19. # basically .* (at the end) matches anything and the rest of it says "except schemas starting with SYS"
  20. schemaSpec=(?!^SYS.*$).*