db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Watzek <mwa.t...@spree.de>
Subject Re: installSchema goal
Date Mon, 05 Sep 2005 15:42:24 GMT
Hi Karan,

the goal is to install schemas only once. Unfortunately, you run into a 
bug. It appears, that there is an exception during tear down when you 
run the test the first time.

Please file a JIRA issue. I'll look into this issue tomorrow.

Regards,
Michael
> 
> 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.
>>>
>>
>>
> 


-- 
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------

Mime
View raw message