Re: [appfuse-user] Appfuse 2.0 & Hibernate Tools Console Configuration issue

2007-11-18 Thread RoyPorter
Have you added your project onto the classpath for the hibernate console configuration? Roy. wernerlauwers wrote: > > Hi > > I have an issue in getting a valid Hibernate Tools console configuration > with my appfuse 2.0 based project. Maybe this should go to the hibernate > tools forum, but

Re: [appfuse-user] deploying to tomcat 5.5

2007-11-15 Thread RoyPorter
Rob, Rob Hills wrote: > > Question 2 - I use the Tomcat Maven plugin reasonably successfully on my > dev Windows server and anticipate using it to deploy to staging and > production Tomcat servers on linux boxes with fewer problems - there's a > know issue with redeploying apps to Tomcat on

Re: [appfuse-user] Is there any way to tell the ClassLoader to not load a class upon redeploy?

2007-11-15 Thread RoyPorter
Does the same thing happen if you're using hot deploying under Tomcat? I've recently left a lead architect position at another company, where the 'DAO layer' was basically SAP JCO calls. I never had the issue you're getting here. I never tried jetty however, the code was based on a version of Eq

Re: [appfuse-user] Duplicate Users in List

2007-11-13 Thread RoyPorter
mraible wrote: > > On 10/29/07, George.Francis <[EMAIL PROTECTED]> wrote: >> >> OK, I have now iteratively added Users to a Set in UserController. >> Is this really a necessary step for anyone wanting to use Hibernate in >> their >> AppFuse app? > > No, it shouldn't be necessary. I remember a

Re: [appfuse-user] Possible bug in UniversalManager?

2007-11-13 Thread RoyPorter
I appreciate this is some time after you asked your question, but to anybody else out there looking for a similar issue solution, check this for an explanation: http://www.nabble.com/apfuse2%2Bhibernate---GenericDaoHibernate-getAll-returns-duplicate-entities-%28users%29-tf3227657s2369.html#a89662

Re: [appfuse-user] can DBUNIT maven plugin load data from multiple files?

2007-10-29 Thread RoyPorter
ros wrote: > > Hi All! > > An isse submited to http://jira.codehaus.org/browse/MOJO-941 > > Thanks! > > ros > > I've just uploaded a patch onto the Jira issue above to implement this. -- View this message in context: http://www.nabble.com/can-DBUNIT-maven-plugin-load-data-from-multiple-

Re: [appfuse-user] How to get labels and fields side-by-side

2007-10-29 Thread RoyPorter
I had a similar issue, although with 2.0M5 You should have something similar to this in your struts.xml If it still isn't working, you may need to do as I did and copy the template directory out of the struts jar, and have it under you webapp directory. At the time I put this down to App

Re: [appfuse-user] CRUD generation for models with non numeric version fields

2007-10-09 Thread RoyPorter
This is an excerpt from the model: /** * Date/time record was last changed */ private Date lastChanged; /** * Returns the property last Changed. * @return the lastChanged date */ @Version @Temporal (value = TemporalType.TIMESTAMP) public Date

[appfuse-user] CRUD generation for models with non numeric version fields

2007-10-08 Thread RoyPorter
Our model classes have a lastChangedDate which doubles up as the version field for the model, and a trace of when the record was last changed. When using the appfuse plugin to generate the CRUD code, sample data is created with incorrect entries in the lastChangedDate fields - i.e. '1' rather tha