Hello, I'm trying to use Middlegen to generate Hibernate mapping documents and persistent Java objects (POJOS), from a legacy database. Middlegen reads the database metadata, generates the Hibernate mapping documents, an generates the POJO .java files. It also, before the Ant build file gets to the point where it compiles the POJOS, goes in the other direction and uses <hibernatedoclet> to create the Hibernate mapping documents from the Java files. This step fails for me on table T_WEBADSCHEDULEHIST because it says the corresponding class TWebadschedulehist "misses ID property". I think it misses this property because the table has no primary key defined.
Is there a way around this? I suppose I could comment out the running of XDoclet from Middlegen's ant script, but it seems like this would be common with legacy systems that (sadly) sometimes fail to identify primary keys. Thanks, David ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user