Hi David,
One more problem with XDoclet:
it doesn't export relations between a tables, like one-to-many, many-to-one... (I talk about hbm2ddl Ant task).
Is the a solution ?
--awt
david wrote:
True Middlegen does not generate the sql-type for the mapping documents. Maybe this should be an option (on a per-field basis).
A general question: How many users are using middlegen to generate mappings from which they use hbm2ddl to regenerate the schema?
Would it not be best to use the vendors tools to get the schema output. I can see a use for this if your changing database vendors or supporting multiple platforms. In that case you are (possibly) not working bottom up thus hand editing of the mapping documents is acceptable. How many people would be using one database vendors schema as the master then generating the schema for the other supported platforms? Interesting - I support multiple platforms in a current project myself but I am working from XDoclet as the master.