Object Translator

com.informix.ormapper
Class Version

java.lang.Object
  |
  +--com.informix.ormapper.Version

public class Version
extends java.lang.Object

External: This class prints Object Translator version information and tests a JDBC connection.

Run from command prompt as:
    java com.informix.ormapper.Version
This class prints the version information of Object Translator, Java, and the JDBC driver. This could be useful to check if the environment has been set correctly to run Object Translator-generated code.

You can also run this class from a command prompt with a JDBC URL:
    java com.informix.ormapper.Version jdbc:informix-sqli://[...]
In addition to printing the version information, the class makes sure that the database can be connected properly using the specified URL.

NOTE: Object Translator requires the Java 2 platform and the Informix JDBC 2.1x driver to work.


Method Summary
static void main(java.lang.String[] args)
          The executable main method that prints the version information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
The executable main method that prints the version information.
Parameters:
url - Optional JDBC connection URL.
driverName - Optional JDBC driver class name. Default is com.informix.jdbc.IfxDriver.

Object Translator

Copyright © 1999-2000 Informix Software, Inc.