db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jdo Wiki] Update of "TestRunner" by MichelleCaisse
Date Wed, 08 Jun 2005 20:40:29 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jdo Wiki" for change notification.

The following page has been changed by MichelleCaisse:
http://wiki.apache.org/jdo/TestRunner

------------------------------------------------------------------------------
  Currently, the jar files are created and then the directory tree is deleted.  However, the
classes have to be re-enhanced every time an orm or xml file is modified so that the jar file
can be recreated.  To avoid this, we will not delete the tree, thus there is no need to create
a jar file.
  
  
- == Mapping designator ==
+ == Mapping and Schema Names ==
  
- There may be multiple orm files for a single persistence capable (pc) class or package.
 The orm files are distinguished by different mapping designators in their filenames.  For
example, a given test configuration may run a set of tests on databases derby and mysql with
mapping 4.  The mapping metadata files are package-derby4.orm and package-mysql4.orm; the
schema files are derby/schema4.xml and mysql/schema4.xml.
+ There may be multiple orm files for a single persistence capable (pc) class or package.
 The orm files are distinguished by different mapping designators in their filenames.  For
example, a given test configuration may run a set of tests on databases derby and mysql with
mapping 4.  The mapping metadata files are package-derby4.orm and package-mysql4.orm; the
schema files are derby/schema4.xml and mysql/schema4.xml. maven passes javax.jdo.option.Mapping=<database
+ mapping designator> to the test, for example javax.jdo.option.Mapping=derby4.
+ 
+ An invocation of maven installs all schemas into the database at once, each into its own
named schema.  The schema name is hard-coded into the .sql DDL file and is named by the identity
type and mapping designator, for example applicationidentity4.  The schema name may be specified
either with the <orm> schema attribute or with the javax.jdo.mapping.Schema property.
To avoid having to add the schema information to each  orm file, the property are passed to
the test on the command line.  
  
  == Test Data ==
  
@@ -113, +115 @@

  
  == Identity Type ==
  
- (See question 3 in the Configuration Files section.)
+ See question 3 in the Configuration Files section.
  
  == Security ==
  

Mime
View raw message