Yeah, you create a sample database with 'new File(".")'. Actually I
did not connect to an existing database, but the document was enough
for me. And I also did JUnit testing on my DAOs.
For the actual (local) database, you could try to open the file (I
don't remember the location and/or name right now, but it's there in
war or WEB-INF directory).Hope this helps, Alex On Dec 1, 8:40 pm, Zenon <[email protected]> wrote: > As a matter fact I didn't have successfull connecting on the same > database of my application.. > > I can connect to my local db test, but not with my app data. > > If I don't mistake, that link you gave me explain only how to handle a > junit db test > > 2009/12/1 djd <[email protected]>: > > > How about this? > >http://code.google.com/appengine/docs/java/howto/unittesting.html > > > It shows you how to wire the Gae storage to Junit > > > On Dec 1, 1:44 pm, Zenon <[email protected]> wrote: > >> Hi all, > > >> I would to point to the application database with MyJUnitTest. > > >> I did some experiments but none did succesfull. > > >> Any suggest? > > >> Thanks in advance. > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
