Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jdo
Class Test  view Test download Test.java

java.lang.Object
  extended byjdo.Test

public class Test
extends java.lang.Object

This example is only intended to show how castor should be set up in a standalone environment. For detail examples on the mapping file, database schemas, supported features and their expected behaviors, please consult the JDO test cases instead. JDO Test cases can be found in the full CVS snapshot and located under the directory of src\tests\jdo.


Field Summary
private  JDO _jdo
           
private  Mapping _mapping
           
static java.lang.String DatabaseFile
           
static java.lang.String MappingFile
           
static java.lang.String Usage
           
 
Constructor Summary
Test(java.io.PrintWriter writer)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run(java.io.PrintWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DatabaseFile

public static final java.lang.String DatabaseFile
See Also:
Constant Field Values

MappingFile

public static final java.lang.String MappingFile
See Also:
Constant Field Values

Usage

public static final java.lang.String Usage
See Also:
Constant Field Values

_mapping

private Mapping _mapping

_jdo

private JDO _jdo
Constructor Detail

Test

public Test(java.io.PrintWriter writer)
     throws java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)

run

public void run(java.io.PrintWriter writer)
         throws java.lang.Exception