Hi,


I am just checking out Roo and I really looks promising Great work!

Using the default persistence setup like
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
works without any problems. A "perform tests" runs nicely.

However if I switch to the App Engine using
persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE --applicationId mysampleid

the automatic tests fail. "perform tests" runs yields a:
org.springframework.dao.EmptyResultDataAccessExcep tion: No results for query: SELECT FROM Timer o WHERE o.id = :id

Is there anything I am missing? Yes - I am a beginner, so maybe I just oversaw something. But as I stated - HYPERSONIC_IN_MEMORY works without any problems...


I attached the roo log and the exception below.


Thanks!


Raphael

roo log Spring Roo 1.1.4.RELEASE [rev f787ce7]
project --topLevelPackage com.simpletest
persistence setup --provider HIBERNATE --database HYPERSONIC_IN_MEMORY
entity --class ~.Timer --testAutomatically
field string --fieldName message --notNull
hint controllers
controller all --package ~.web
selenium test --controller ~.web.TimerController
gwt setup
perform tests //WORKS!
//switch to GAE
persistence setup --provider DATANUCLEUS --database GOOGLE_APP_ENGINE --applicationId mysampleid
perform tests //FAILS!




the exception is:
org.springframework.dao.EmptyResultDataAccessExcep tion: No results for query: SELECT FROM Timer o WHERE o.id = :id
at org.springframework.orm.jpa.EntityManagerFactoryUt ils.convertJpaAccessExceptionIfPossible(EntityMana gerFactoryUtils.java:294)
at org.springframework.orm.jpa.aspectj.JpaExceptionTr anslatorAspect.ajc$afterThrowing$org_springframewo rk_orm_jpa_aspectj_JpaExceptionTranslatorAspect$1$ 18a1ac9(JpaExceptionTranslatorAspect.aj:15)
at com.simpletest.Timer_Roo_Entity.findTimer_aroundBo dy6(Timer_Roo_Entity.aj:112)
at com.simpletest.Timer_Roo_Entity.ajc$interMethod$co m_simpletest_Timer_Roo_Entity$com_simpletest_Timer $findTimer(Timer_Roo_Entity.aj:1)
at com.simpletest.Timer.findTimer(Timer.java:1)
at com.simpletest.Timer_Roo_Entity.ajc$interMethodDis patch1$com_simpletest_Timer_Roo_Entity$com_simplet est_Timer$findTimer(Timer_Roo_Entity.aj)
at com.simpletest.TimerIntegrationTest_Roo_Integratio nTest.ajc$interMethod$com_simpletest_TimerIntegrat ionTest_Roo_IntegrationTest$com_simpletest_TimerIn tegrationTest$testRemove(TimerIntegrationTest_Roo_ IntegrationTest.aj:129)
at com.simpletest.TimerIntegrationTest.testRemove(Tim erIntegrationTest.java:1)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runRefle ctiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallabl e.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExpl osively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod .evaluate(InvokeMethod.java:20)
at org.springframework.test.context.junit4.statements .RunBeforeTestMethodCallbacks.evaluate(RunBeforeTe stMethodCallbacks.java:74)
at org.springframework.test.context.junit4.statements .RunAfterTestMethodCallbacks.evaluate(RunAfterTest MethodCallbacks.java:82)
at org.springframework.test.context.junit4.statements .SpringRepeat.evaluate(SpringRepeat.java:72)
at org.springframework.test.context.junit4.SpringJUni t4ClassRunner.runChild(SpringJUnit4ClassRunner.jav a:240)
at org.junit.runners.BlockJUnit4ClassRunner.runChild( BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner. java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRu nner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentR unner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRu nner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRu nner.java:184)
at org.junit.internal.runners.statements.RunBefores.e valuate(RunBefores.java:28)
at org.springframework.test.context.junit4.statements .RunBeforeTestClassCallbacks.evaluate(RunBeforeTes tClassCallbacks.java:61)
at org.junit.internal.runners.statements.RunAfters.ev aluate(RunAfters.java:31)
at org.springframework.test.context.junit4.statements .RunAfterTestClassCallbacks.evaluate(RunAfterTestC lassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.ja va:236)
at org.springframework.test.context.junit4.SpringJUni t4ClassRunner.run(SpringJUnit4ClassRunner.java:180 )
at org.apache.maven.surefire.junit4.JUnit4TestSet.exe cute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.ex ecuteTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.in voke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$C lassLoaderProxy.invoke(ProviderFactory.java:103)
at $Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.i nvokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.r unSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main (ForkedBooter.java:69)