In org.apache.ojb.odmg.DatabaseImpl.open, the code reads:
public void open(String name, int accessMode) throws ODMGException
{
PersistenceBroker broker = null;
try
{
// Get a Persistence Broker instance, to load repository
broker =
PersistenceBrokerFactory.defaultPersistenceBroker();
broker.open(name,null,null);
}
catch (Throwable ex)
{
throw new DatabaseNotFoundException("OJB can't open
repository " + name + "\n"
+ ex.getMessage());
}
finally
{
if (broker != null)
{
broker.close();
}
}
}
If I pass in a name other than "repository.xml", I get an exception
that it can't find repository.xml.
--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>
- Re: Name for repository.xml David Corbin
- Re: Name for repository.xml Armin Waibel
- Re: Name for repository.xml David Corbin
