Hi,

reverse-db2 isn't finished yet. There was some refactoring in metadata
handling within OJB and during this process a few things were commented out
in reverse-db2, so it is possible that you hit one of these spots, it is
also possible that the function you are trying to use isn't implemented yet.

If you want to generate repository.xml and java classes from an existing
database, reverse-db (the old tool) should work for you.

regards,
Florian

> -----Ursprungliche Nachricht-----
> Von: C F [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 26. Februar 2003 23:29
> An: [EMAIL PROTECTED]
> Betreff: Am I using reverse-db2 right?
>
>
>
> Hello,
>
> I've read the archives so know there are lots of problems with
> reverse-db2 right now.  So my question isn't really about a bug
> or anything, I just want to know if I'm trying to use it right
> before I give up (I don't see any doc on usage).  I want to
> create a new OJB repository from an existing database.  I run
> reverse-db2, open my database, it goes through and finds and
> displays all the objects fine.  Then I do "file -> new ojb
> repository" and it opens a new window.  I'm kind of at a loss on
> what to do from there.  The tried dragging a few objects from my
> database window to my new repository window and it always ends up
> in an error in my console saying it can't find that object class
> (of whatever object I was dragging)...
>
> java.lang.ClassNotFoundException: mytable
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
>
> <snip>
>
> Am I doing it right, and I'm just hitting another bug or is there
> another way to do this?
>
> I'm using PostgreSQL 7.2 and latest OJB from CVS.
>
> Thanks!!
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to