Hi Brian

I had the same problem.
Antonio gave me the solution and I get my ojb code OK.

Andre

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]



Reply via email to