Re: [appfuse-user] AppFuse 1.9.4 with Hibernate annotations.

2007-02-19 Thread Matt Raible
I don't know exactly how to do this because I haven't done it myself. For build.xml, my guess is you'd just need to remove the hibernatedoclet target and any references to it. As far as using annotations instead of Commons Validator - I don't believe that's possible with Struts 1.x. It is possib

Re: [appfuse-user] AppFuse 1.9.4 with Hibernate annotations.

2007-02-19 Thread Irshad Buchh
Thanks Matt for the reply. We have already done this bit. What changes do we have to put in the build.xml file? Just give us an idea of the ant targets that need to change? Also can we replace the struts validator xdoclet tags with java annotations. We will like to get rid of xdoclet tags and repl

Re: [appfuse-user] AppFuse 1.9.4 with Hibernate annotations.

2007-02-19 Thread Matt Raible
You should be able to look at AppFuse 2.x's data/hibernate module to see what the new code will look like. Basically, you'll need to change your *.java model objects to use annotations and your sessionFactory to use AnnotationSessionFactoryBean. Matt On 2/19/07, Irshad Buchh <[EMAIL PROTECTED]>

[appfuse-user] AppFuse 1.9.4 with Hibernate annotations.

2007-02-19 Thread Irshad Buchh
Hi, We have a production application based on AppFuse 1.9.4. (Hibernate+Struts). We would like to replace the xdoclet tags in pojos with the annotations(Hibernate and Struts). Accordingly the ant targets (Hibernate Doclet etc.) would get changed. Can someone point us the optimal path to do this.