Re: [appfuse-user] How to configure customized ReverseEngineeringStrategy in AppFuse2.0

2007-10-19 Thread stonebox2007
Thank you Matt for your answer, I tried to do as http://static.appfuse.org/plugins/appfuse-maven-plugin/gen-model-mojo.html, I changed the configure file hibernate.reveng.xml, when I run command: mvn appfuse:gen-model, it can read my Oracle9i database, but perhaps it did not care about hibernate.r

[appfuse-user] How to configure customized ReverseEngineeringStrategy in AppFuse2.0

2007-10-16 Thread stonebox2007
Hi all, I've implemented a ReverseEngineeringStrategy named MyRevEngStrategy, but how to configure the custermized class MyRevEngStrategy? I think if configured the class correctly, we can run the command 'mvn appfuse:gen-model' to generate POJOs from database. Is there anyone can help me for it?

Re: [appfuse-user] Is hibernate.reveng.xml ignored by AMP? How to control reverse eng?

2007-10-15 Thread stonebox2007
hi mraible, I have did it as your configuration, but failed again (mvn appfuse:gen-model access Oracle 9i) below is error message: 17:41:28,234 WARN org.hibernate.cfg.reveng.JDBCReader - Rev.eng. strategy did not report any primary key columns for PATH_VIEW 17:41:28,250 WARN org.hibernate.cfg.r

Re: [appfuse-user] how to create a model for a table and some other problems

2007-10-15 Thread stonebox2007
For your question 1), you can use file hibernate.reveng.xml, to config which table you want be excluded, so you can only generate the tables you want. (My email: [EMAIL PROTECTED]) Matthew Wu wrote: > > Hi, this is my first time use the forum, I am from Dalian China, thanks a > lot. > I have th

[appfuse-user] mvn appfuse:gen-model on Oracle9i error

2007-10-15 Thread stonebox2007
When I run the command 'mvn appfuse:gen-model', reading table definition from Oracle9i database, but the AppFuse Maven Plugin have some error, can read all other object definitions, and prompt an error : 16:45:07,593 WARN org.hibernate.cfg.reveng.JDBCReader - Rev.eng. strategy did not report any