org.apache.derby.tools
Class ij

java.lang.Object
  extended byorg.apache.derby.tools.ij

public class ij
extends java.lang.Object

ij is Derby's interactive JDBC scripting tool. It is a simple utility for running scripts against a Derby database. You can also use it interactively to run ad hoc queries. ij provides several commands for ease in accessing a variety of JDBC features.

To run from the command line enter the following:

java [options] org.apache.derby.tools.ij [arguments]

ij is can also be used with any database server that supports a JDBC driver.


Method Summary
static java.lang.String getArg(java.lang.String param, java.lang.String[] args)
           
static void getPropertyArg(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
static java.sql.Connection startJBMS()
           
 
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)
                 throws java.io.IOException
Throws:
java.io.IOException - thrown if cannot access input or output files.

getArg

public static java.lang.String getArg(java.lang.String param,
                                      java.lang.String[] args)

getPropertyArg

public static void getPropertyArg(java.lang.String[] args)
                           throws java.io.IOException
Throws:
java.io.IOException

startJBMS

public static java.sql.Connection startJBMS()
                                     throws java.sql.SQLException,
                                            java.lang.IllegalAccessException,
                                            java.lang.ClassNotFoundException,
                                            java.lang.InstantiationException
Throws:
java.sql.SQLException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException


Apache Derby 10.0 API Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.