Hi Bryan,

Bryan Dollery wrote:
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...
Yes, that's new! Maybe we need a new entry in the FAQ: "help me, it's working..." :-)

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?

Our JDO prototype is no very strict. It does not rely on jdo enhanced bytecode and it does also not rely on a *.jdo file.
It is completely happy with a normal repository.xml.

Please don't expect our jdo frontent to be a complete implementation. It is a *prototype*.

cheers,
Thomas

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>






--
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