Hi Hans, you get an error on your application or on Mandragora?
I understand that you start your application without mandragora.jar and all is ok then add the mandragora.jar in your classpath , use it to test , and is ok. then you remove mandragora. jar to go back your main app and is all ok. But if you start your app with mandragora.jar in classpath is ok or get an error in your main app too? you go to the test of mandragora and get the error, you back to your main application and get error or not? Can you tell me how do you lookup the persistence broker in your app? Mandragora just do: broker=PersistenceBrokerFactory.defaultPersistenceBroker(); To use the three file for the repository is not a problem. I use too except the repository- user I keep waiting your news On 9/13/07, Hans Novak <[EMAIL PROTECTED]> wrote: > > 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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >