Constant Field Values


Contents
org.clazzes.*

org.clazzes.jdbc2xml.sax.JDBC2XMLSchemaHelper
public static final String XML2JDBC_RESOURCE_PATH "org/clazzes/jdbc2xml/jdbc2xml.xsd"

org.clazzes.jdbc2xml.schema.impl.DerbyDialect
public static final String defaultDriverName "org.apache.derby.jdbc.EmbeddedDriver"

org.clazzes.jdbc2xml.schema.impl.MSSQLServerDialect
public static final String defaultDriverName "com.microsoft.sqlserver.jdbc.SQLServerDriver"

org.clazzes.jdbc2xml.schema.impl.MySQLDialect
public static final String defaultDriverName "com.mysql.jdbc.Driver"

org.clazzes.jdbc2xml.schema.impl.OracleDialect
public static final String defaultDriverName "oracle.jdbc.driver.OracleDriver"

org.clazzes.jdbc2xml.schema.impl.PostgreSQLDialect
public static final String defaultDriverName "org.postgresql.Driver"

org.clazzes.jdbc2xml.tools.Main
public static final String syntax " Syntax 1 (java call): jdbc2xml command options\n Syntax 2 (using wrappers): command options\n\n commands:\n\n [--]jdbc2xml dumps a DB to a XML file\n needs --[from-]url jdbcurl --[to-]file file\n\n [--]xml2jdbc restors a DB from a XML file (empty DB expected)\n needs --[from-]file file --[to-]url jdbcurl\n\n [--]jdbc2jdbc copies a DB to another DB\n needs --from-url jdbcurl --to-url jdbcurl\n\n [--]xml2xml copies a XML file (e.g. to extract a schema-only file)\n needs --from-file file and --to-file\n\n [--]jdbcping tests a DB connection an prints out some server info\n needs --[from-]url jdbcurl\n\n [--]jdbcextr extracts parts of a DB to a XML file\n needs --[from-]url jdbcurl --[to-]file file\n\n [--]help prints this syntax description\n not available as wrapper, call jdbc2xml --help\n\n options prefixes:\n --from-* specifies the data source\n --to-* specifies the data destination\n from- resp. to- can be omitted expect where the command requires\n clear distinction, e.g. --to-url and --from-url for jdbc2jdbc\n\n options for specifiying db access:\n JDBC URL to access the DB (like jdbc:servertype://host[:port]/db[?options]):\n --from-url \"jdbcurl\"\n --to-url \"jdbcurl\"\n --url \"jdbcurl\"\n User to access the DB (some drivers can parse that from the URL):\n --from-user user\n --to-user user\n --user user\n Password to access the DB (some drivers can parse that from the URL):\n --from-password password\n --to-password password\n --password password\n\n options for specifiying an xml file (Win32 wrapper needs absolut paths!):\n --from-file file\n --to-file file\n --file file\n The given filenames may contain compressed input. The implementation instantiates\n an appropriate inflating/deflating stream if the filename ends with .gz or .bz2\n\n options for restricting the extend of what is beeing processed:\n --tables table1,table2,...\n only processes on given tables, not on all\n --exclude-tables table1,table2,...\n exclude the given tables from beeing processed\n --no-data\n do not process the data rows\n --no-constraints\n do not create constraints\n --schema-only\n combines --no-data and --no-constraints\n\n expert options\n --drop-tables\n Drop the affected tables before actually importing a dump.\n If --tables or --exclude-tables is given, only tables affected\n by the so-specified filter are dropped.\n --compression <n>\n Overrides the default bzip2 output compression, if --to-file ends with .bz2\n --timezone timezoneid\n forces a timezone\n --from-driver drivername\n --to-driver drivername\n --driver drivername\n allows to select a JDBC driver, overriding autoselection\n --jdbc-drivers jarfilename[;jarfilename...]\n tells the unix wrapper scripts to add these to the classpath\n --batch-size n\n for *2jdbc, changes the batch size for inserts (def.: 1000)\n --check-xml-schema\n for xml2* commands, this enables schema checking the xml file\n --pretty, --no-pretty\n for *2xml, forces resp. supresses pretty printing of xml data\n --to-lower\n for *2xml, forces the transformation of SQL identifiers to lower case in the generated XML files.\n --to-upper\n for *2xml, forces the transformation of SQL identifiers to upper case in the generated XML files.\n --keep-internal-indices\n for *2xml, write internal indices, which are internally generated\n by the RDMBS\n --create-fk-indices\n for xml2*, create an extra index on the columns of each each foreign key.\n --transactional\n for jdbc2*, start a read-only transaction while fetching the contents of the database.\n expert properties of jdbc URLs\n mysql (?p1=v1&p2=v2&...):\n useCursorFetch=true\n forces the driver to use cursor based fetching saving RAM,\n allows fetching very large tables in jdbc2*\n MS SQL Server (;p1=v1;p2=v2;...):\n selectMethod=cursor\n forces the driver to use cursor based fetching saving RAM,\n allows fetching very large tables in jdbc2*\n\n verbosity options:\n Usually Fatals, Errors, Warnings are printed, to change this use these:\n --quiet\n suppresses any output, only return code tells about success\n --verbose\n increases verbosity to Info\n --debug\n hides any eventual information between lots of spam lines\n --debug-startup\n invites wrapper scripts to log their startup processing\n\n"



Copyright © 2012. All Rights Reserved.