Hi guys,

I need help.

I'm learning how to use OJB. I've got my head around the PersistanceBroker
API, and ODMG. They're great, I got them to work with (virtually) no
problems (except when running in a GUI test runner, for some odd reason).

My problem now is JDO, and I'd appreciate any help I can get.

My problem is that it works. I realise that this is an odd problem, most
people come here when things don't work...

The problem of course is in trying to understand 'why' it works. I use this
code to get a manager:
  private PersistenceManagerFactoryImpl factory;
  private PersistenceManager manager;
  ...
  factory = PersistenceManagerFactoryImpl.getInstance();
  manager = factory.getPersistenceManager();

Then I just go ahead and start using queries. Why does this work. I've got
a .jdo file that describes my entities (called sams.jdo), and it's in my
classpath, but it's not referenced anywhere in my code. I have a
repository.xml that describes my MySQL connection, and the repository_user
it also describes the entities (but not in the format that JDO would
expect).

So, can anyone tell me why this is working?


Thanks in advance.

Cheers,

Bryan

    b r y a n   d o l l e r y
c h a o s   e n g i n e e r s
     www.ChaosEngineers.co.nz
             +64 (0)21 330607


--
To unsubscribe, e-mail:   <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>

Reply via email to