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]
- Re: reverse-db (yet again) Jeremy
- Re: reverse-db (yet again) Robert S. Sfeir
- Re: reverse-db (yet again) Jason McKerr
- Re: reverse-db (yet again) Robert S. Sfeir
- RE: reverse-db (yet again) Ricardo Tercero Lozano
- Re: reverse-db (yet again) Jeremy
- AW: reverse-db (yet again) Florian Bruckner
- Locking exception with OJB 0.9.8 and JBoss Guido Beutler