J
Jezzer
Hi all,
Sorry if this is the wrong group for this question (happy to be guided
to the correct one).
I'm new to Java, new to websphere, new to OJB. So naturally I'm having
problems getting them all to work!
When I run my OJB test the PersistenceBrokerFactory throws an exception
saying that the default attribute is not set in the jdbc connection
descriptor. This is puzzling because I have set the 'default=yes' in
the repository.xml file (is it this file? - sorry I'm working from
memory because all this stuff is on another pc).
I guess from this that for some reason my OJB.properties file is not
being read. Where should this file be? I've read that it is loaded from
the classpath - I'm not entirely clear on what this means...!
Where do I put this file?
If it is not found would I expect a more serious exception or would OJB
quietly carry on until I tried to create a PersistenceBroker?
Is there some way to get more info on this exception?
Thanks in advance,
Jezzer
Sorry if this is the wrong group for this question (happy to be guided
to the correct one).
I'm new to Java, new to websphere, new to OJB. So naturally I'm having
problems getting them all to work!
When I run my OJB test the PersistenceBrokerFactory throws an exception
saying that the default attribute is not set in the jdbc connection
descriptor. This is puzzling because I have set the 'default=yes' in
the repository.xml file (is it this file? - sorry I'm working from
memory because all this stuff is on another pc).
I guess from this that for some reason my OJB.properties file is not
being read. Where should this file be? I've read that it is loaded from
the classpath - I'm not entirely clear on what this means...!
Where do I put this file?
If it is not found would I expect a more serious exception or would OJB
quietly carry on until I tried to create a PersistenceBroker?
Is there some way to get more info on this exception?
Thanks in advance,
Jezzer