do you mean you actually do the "create table XXX" statements from your testcase? I was perhaps wrongly assuming you were talking about the OJB tests, for which the db is definitely NOT created in the testcases - it is created by a torque task...
sorry, missed your other error on my first reply, I have no clue! Russell > -----Original Message----- > From: Marcus Ahnve [mailto:marcus.ahnve@;lecando.com] > Sent: Friday, October 18, 2002 1:41 AM > To: OJB Users List > Subject: Re: Hsqldb in memory > > > My db is set up by the testcase so they're in the same > process. Could it > be a connection pooling thing? If several connections are made to the > "." db, will they find the same db? > > Russell Smyth wrote: > > The problem you are (probably) having is one process > creates the db, but a > > different one > > is running the tests - so the db "dissapears" - in memory > db only lives in > > the process in > > which it is created. > > > > you could try modifying the build.xml and change all "fork" > parameters to > > "false" to force > > all running in a single process... > > OK, I tried this but I got this instead: > > > [org.apache.ojb.broker.ta.PersistenceBrokerFactoryDefaultImpl] INFO: > Already created persistence broker instances: 0 > [DEFAULT] FATAL: loader constraints violated when linking > org/xml/sax/XMLReader > class > ------------- ---------------- --------------- > ------------- Standard Error ----------------- > java.lang.LinkageError: loader constraints violated when linking > org/xml/sax/XML > Reader class [....] > > Ouch! Any clues? > > Regards /Marcus > > -- > Marcus Ahnve email: [EMAIL PROTECTED] > Lecando AB Office: +46-(0)8-634 94 18 > Sweden Mobile: +46-(0)70-462 19 18 > www.lecando.com ICQ#: 4564879 > > PGP: 891C 2F84 7CA2 F9F7 9B87 EC2F D93B 961B 4441 9BA2 > B941 DB1A > > > > -- > To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>
