Re: storing objects
Hans Novak <[email protected]> Thu, 13 Sep 2007 14:51:05 +0200
| Newsgroups | gmane.comp.jakarta.ojb.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Allesandro, first of all 2. questions: if it works together with ojb, why i get an error, if i want to start my standard app, when mandragora.jar is included in classpath of my app ? (everything else is like it was). I get an "no default-connection" error. I must alway add the lib, if i want to test it and remove it, when developing on the main app (its not nice) 2nd, it must be a problem with the path. ojb_blank projekt have 3 additional xml files, repository.xml, // the file, who describes the 3 following xml files) repository_user.xml // my database repository_database.xml // the database props default-connection="true" are existing repository_internal.xml //the ojb hi low seuenzer I use the ojb blank project with ant also to generate the xml files ans other things. the path structure of ojb_blank are: ./ //root dir with OJB.properties needed by ojb_blank and ant ./lib // alle needed libs ./src/java //java classes ./build // the build dir with the xml files like above and things like the dtd, file, log4j.properties etc. ./build/database //the sql generation and xml files there are much more dirs, but not important to mandragora, i think. Hans