I'm using Appfuse 2.0-rc1 Struts 2 Basic against Oracle 9. I am using appfuse-maven-plugin version 2.0. When I run appfuse:gen-model it seems to me the tool is fetching records from Oracle's ALL_TABLES data dictionary. It finally fails on a 'Duplicate class name' because my ALL_TABLES contains duplicate table names owned by different schema owners.
I followed some threads (including here http://www.nabble.com/Error-with-appfuse:gen-model-on-oracle-9-(Appfuse-2.0-rc1-Struts-2-Basic)-t4421565s2369.html) and followed Matt's advice regarding the hibernate.reveng.xml under src/main/resources. It has no effect. I'm still getting log messages from org.hibernate.cfg.reveng.JDBCReader attempting to poll different schema's tables, some of which names go against the patterns I defined. I then tried to down grade AMP to 2.0-m3-SNAPSHOT which is suppose to take hibernate.reveng.xml into account (based on David L.Whitehurst's blog on http://www.jroller.com/dlwhitehurst/entry/maven_mojo_love_for_the) but when I ran it, it could not find the Oracle driver and failed. I gave up then. In fact, the more I look into this issue, the more confused I get. What's the verdict? is AMP 2.0 gem-model working for Oracle? Can I some how control the reverse engineering process when generating models from DB? This is a crucial feature for me. Please help. Thanks. -- View this message in context: http://www.nabble.com/Is-hibernate.reveng.xml-ignored-by-AMP--How-to-control-reverse-eng--tf4480248s2369.html#a12775143 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]