db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: [jira] Commented: (JDO-354) org.apache.jdo.tck.api.persistencemanager.lifecycle.MakePersistent may fail on teardown
Date Wed, 29 Mar 2006 16:23:11 GMT
Hi Michael,

Probably a different JIRA issue should track this.

Thanks,

Craig

On Mar 29, 2006, at 8:21 AM, Craig Russell (JIRA) wrote:

>     [ http://issues.apache.org/jira/browse/JDO-354? 
> page=comments#action_12372278 ]
>
> Craig Russell commented on JDO-354:
> -----------------------------------
>
> When the tests were written, I think we didn't know exactly what we  
> were going to test, and made extra classes persistent in order to  
> have some flexibility.
>
> Now that the tests are complete, it's not clear to me that we will  
> ever extend the test cases so we don't need to keep the extra  
> classes in the sql and orm.
>
> So it's ok with me to remove the extras.
>
>> org.apache.jdo.tck.api.persistencemanager.lifecycle.MakePersistent  
>> may fail on teardown
>> --------------------------------------------------------------------- 
>> ------------------
>>
>>          Key: JDO-354
>>          URL: http://issues.apache.org/jira/browse/JDO-354
>>      Project: JDO
>>         Type: Bug
>>   Components: tck20
>>     Versions: JDO 2 beta
>>     Reporter: Michelle Caisse
>>     Assignee: Michelle Caisse
>>      Fix For: JDO 2 final
>>  Attachments: JDO-354.patch
>>
>> When invoked from a configuration that does not use the default  
>> schema, MakePersistent fails because it queries for classes to  
>> tear down that do not exist in the current schema.
>> testMakePersistent
>>>> (org.apache.jdo.tck.api.persistencemanager.lifecycle.MakePersistent 
>>>> )
>>>> javax.jdo.JDOFatalException:
>>>> Exception during tearDown
>>>> 	at org.apache.jdo.tck.JDO_Test.tearDown(JDO_Test.java:329)
>>>> 	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:251)
>>>> 	at org.apache.jdo.tck.util.BatchTestRunner.doRun
>>>> (BatchTestRunner.java:107)
>>>> 	at org.apache.jdo.tck.util.BatchTestRunner.start
>>>> (BatchTestRunner.java:147)
>>>> 	at org.apache.jdo.tck.util.BatchTestRunner.main
>>>> (BatchTestRunner.java:122)
>>>> NestedThrowablesStackTrace:
>>>> javax.jdo.JDODataStoreException: Error executing JDOQL query  
>>>> "SELECT
>>>> THIS.DEPARTMENT_ID,THIS.DEPTID,THIS."NAME" FROM
>>>> datastoreidentity7.DEPARTMENT
>>>> THIS" : Schema 'DATASTOREIDENTITY7' does not exist
>>>> ERROR 42Y07: Schema 'DATASTOREIDENTITY7' does not exist
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the  
> administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message