-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've figured out how to import existing tables if anyone is interested.

Setup your jdbc driver
Create a new project
Right click and create a new Database.  I created an empty one
Switch to the jdbc tab on the right
Choose the appropriate URL for your DB and fill in the info
Type in Username and password and click connect at the bottom
After you're connected switch to the Structure tab
Right click on Jdbc Database icon
Choose Import Entities

Check everything

Import

Done

R
Jakob Braeuchi wrote:

| hi antonio,
|
| how can i import existing tables ?
|
| jakob
|
| Antonio Gallardo wrote:
|
|> Brian McCallister dijo:
|>
|>> Druid is really cool, but I have never actually gotten the code
|>> generation to work. When I hook it to an existing DB, import the
|>> entities and go to code generation and I get an error saying datatypes
|>> are set on all of my foreign keys =/
|>
|>
|>
|> Hi Brian:
|>
|> You need to define "DD equiv." field for your datatypes at the database
|> level:
|>
|> Select the database.
|> Select the "Data Types" tab.
|> For every datatype define the datatype you want to use in Java. Example:
|> Druid Type --> DD equiv.
|> bit    --> Boolean
|> Varchar    --> String,
|>
|> etc.
|>
|> Then try again.
|>
|> BTW, try better the CVS version, because the official release had some
|> bug
|> in OJB generation.
|>
|> Best Regards,
|>
|> Antonio Gallardo.
|>
|>> -Brian
|>>
|>> On Wednesday, November 12, 2003, at 05:19 PM, Antonio Gallardo wrote:
|>>
|>>
|>>> Gus Heck dijo:
|>>>
|>>>> This is probably a terribly noob question, but is there a good way to
|>>>> generate my object mappings for the repository.xml? Seems like a lot
|>>>> of
|>>>> tedium to do it for more than one or two classes.
|>>>
|>>>
|>>> Hi Gus:
|>>>
|>>> Druid - http:// druid.sf.net/ - Please, download it from the CVS.
|>>>
|>>> Best Regards,
|>>>
|>>> Antonio Gallardo
|>>>
|>>>
|>>> ---------------------------------------------------------------------
|>>> 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]
|>>
|>
|>
|>
|> ---------------------------------------------------------------------
|> 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]
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/uOaU+cV9vuB27SARAvFZAJ9O5ZK41NGku94fXEnx7xxJ+CePPQCg+f3f
l3ffuBhMB+ibWEIuYIxKZ6U=
=QjIb
-----END PGP SIGNATURE-----



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



Reply via email to