Advertisement
Guest User

SchemaSpy PostgreSQL invocation batch file

a guest
Mar 10th, 2011
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.24 KB | None | 0 0
  1. @echo off
  2.  
  3. rem   schemaSpy generates documentation and graphs from a specified schema in
  4. rem   your database.
  5. rem   Run this batch file with the schema name as a parameter.
  6.  
  7. rem Change this to go to the right JDBC driver in your NetBeans installation
  8. set driver="%ProgramFiles%\NetBeans 6.8\ide12\modules\ext\postgresql-8.3-603.jdbc3.jar"
  9.  
  10. rem This runs schemaSpy on the specified schema.
  11. java                                                                             ^
  12.     -jar       schemaSpy*.jar                                                    ^
  13.     -t         pgsql                                                         ^
  14.     -host      myhost                                                        ^
  15.     -db        mydb                                                          ^
  16.     -s         %1                                                            ^
  17.     -u         myuname                                                       ^
  18.     -o         %1                                                            ^
  19.     -dp        %driver%                                                      ^
  20.     -connprops ssl\=true;sslfactory\=org.postgresql.ssl.NonValidatingFactory ^
  21.     -pfp -hq
  22.  
  23. rem This will open your default browser.
  24. start %1\relationships.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement