Hey Jason,

How did you get it to work with Postgres? I tried in vain a few times, even with the 0.9.9 rev. Which postgres driver are you using? Tried with the JDBC 3.0 driver that comes with 7.3

R
On Monday, Feb 10, 2003, at 16:24 US/Eastern, Jason McKerr wrote:

I dunno what the problem is. I've used the reverse tool successfully on
oracle and Postgres. Maybe it's not picking up relationships because
MySQL doesn't support RI?

-Jason

On Mon, 2003-02-10 at 13:02, Jeremy wrote:
OK, now that I know the new version supports MySQL and now that I know
that the schema with a MySQL DB would always be represented as empty. I
still am not getting what I expect to happen. I connect to my db
server, read the database I want to generate classes and mapping for,
then save xml. The file generated as repository.xml, is severely
lacking in things like mapping. Also, 'Generate Java' doesn't seem to
be generating anything at all. I must be missing something very
obvious. I am using MySQL 4.0.7 gamma and
mysql-connector-java-2.0.14-bin.jar (RH7.3, OJB 0.9.9, J2sdk1.4.1). I
am trying to generate the mapping and java classes for an existing db.

Here is all I can get the reverse-db tool to accomplish:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE descriptor-repository SYSTEM "repository.dtd">
<descriptor-repository version="0.9.9">
<jdbc-connection-descriptor
jcd-alias="default"
default-connection="true"
platform="XXXX"
jdbc-level="1.0"
driver="XXX"
protocol="XXX"
subprotocol="XXX"
dbalias="XXX"
username="XXX"
password="XXX">
</jdbc-connection-descriptor>


</descriptor-repository>

Sorry to bother with something that is probably obvious, but really
there is no documentation at all on this topic, and I am starting to
worry that I will have to manually generate the mappings and classes for
this big 'ol database.

Thanks, Jeremy


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

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

R

--
Robert S. Sfeir
Senior Java Engineer
National Institutes of Health
Center for Information Technology
Department of Enterprise Custom Applications
[EMAIL PROTECTED]


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

Reply via email to