Hi,
When i add the mandragora jar to my project and start my standard main
class, i get this error when calling:
broker = PersistenceBrokerFactory.defaultPersistenceBroker();
org.apache.ojb.broker.PBFactoryException: There was no
'default-connection' attribute enabled in the jdbc connection descriptor
at
org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.defaultPersistenceBroker(Unknown
Source)
at
org.apache.ojb.broker.PersistenceBrokerFactory.defaultPersistenceBroker(Unknown
Source)
at
de.repcom.osfaktura.core.db.PartnerFactoryCore.<init>(PartnerFactoryCore.java:30)
at de.repcom.osfaktura.gui.partner.PartnerFrm.<init>(PartnerFrm.java:52)
at de.repcom.osfaktura.aStartups.PartnerCore.<init>(PartnerCore.java:42)
at de.repcom.osfaktura.aStartups.PartnerCore.main(PartnerCore.java:28)
when i remove the madragora jar from my project, it works fine.
Every other files, prperties, etc are untouched.
It seems like, that mandragora search the repositories on the wrong dir
and change my system settings also.
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
i think it very important, that the ojb-blank project have a - i will it
call - "unusual" directory structure and according to this my project
too (i wrote it in the last mail)
It is very important for me, that i can use the hole ojb-blank project
with the buld file, to generate all neede files etc., because in
development phase we change often times the database structure or
similar and dont want to change all related prperties.
I had not the time, to make a new Project, to test it and i dont have a
web-development enviroment here.
so i can sadly only help and test on standard java apps ... ;-)
if you find the time, get the ojb_blank projekt and try to merge it with
mandragora.
if you like, i can send you my hole app without jars etc as zip to your
email - the finel app would be opensource, so no problem :-)
Hans
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]