db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karan malhi <karan.ma...@gmail.com>
Subject Re: installSchema goal
Date Mon, 05 Sep 2005 15:31:44 GMT

Thanks Michael,

Also, do i have to installSchema for all inheritance configuration after 
each test run? This is because for relationship tests i know i just need 
to installSchema once, but for inheritance tests , the moment i run the 
test the second time, i get a primary key / duplicate key exception.

Michael Watzek wrote:

> Hi Karan,
> you may install a schema of a particular configuration executing
> maven -Djdo.tck.cfglist=<configuration> InstallSchema
> Replace <configuration> by a configuration file name which you find in 
> "test/conf". All configuration files have the suffix ".conf".
> If you want to install a particular schema for application identity, 
> then execute
> maven -Djdo.tck.cfglist=<configuration> 
> -Djdo.tck.identitytypes=applicationidentity InstallSchema
> Does this help?
> Regards,
> Michael
>> Is there a property for the installSchema goal where i can specify 
>> that i want schema1.sql of applicationIdentity to be created i.e. if 
>> i run installSchema i would like to be more specific than specifying 
>> whether i want applicationIdentity or datastoreidentity schemas to be 
>> installed.

Karan Singh

View raw message