[appfuse-user] APF-936 needs reopening

2008-09-22 Thread Anil Gangolli
I noticed that APF-936 http://issues.appfuse.org/browse/APF-936 seems still to be present, at least in some places, in release 2.0.2 where it is marked fixed. I attached a patch for the case I found in the version of BaseDaoTestCase that is in the appfuse-hibernate-2.0.2.jar How does one reo

[appfuse-user] Invoke a Webservice.

2008-09-22 Thread Mauri Ferreyra
Hi, I want invoke a webservice, I'm using the next code: UserService userService = (UserService) new XFireProxyFactory().create( new ObjectServiceFactory().create(UserService.class), "http://localhost:8080/services/UserService";); users = userService.getUsers(new Use

Re: [appfuse-user] [newbie] - error

2008-09-22 Thread Martin Homik
Check your sample-data.xml for correct syntax and data. dbunit tries to populate your database and fails. This can also be due to a mispelled table or column name or due to a foreign key problem. So, check your jpa annotations and compare with the sample data file. MH cesto wrote: > > Hi, >

Re: [appfuse-user] Separate database settings for testing, staging and production

2008-09-22 Thread Martin Homik
Change the the default database to hsqldb in the end of the pom: org.dbunit.ext.hsqldb.HsqldbDataTypeFactory CLEAN_INSERT org.hibernate.dialect.HSQLDialect tmp hsqldb hsqldb 1.8.0.7 org.hsqldb.jdbcDriver sa Add a profile for production use, such as: prod

Re: [appfuse-user] hibernate save app-user: 'Row was updated or deleted by another transaction'

2008-09-22 Thread Attila
Hello, have You solved the problem? I'm from Hungary... :-) Bye Attila tibi wrote: > > hi, > > i have a candidate which has a one-one relation to user > when i save candidate i want to save changes to the user too. > but i get an: > 'Object of class [org.appfuse.model.User] with identifier

[appfuse-user] Using Spring Injected Objects

2008-09-22 Thread Mohammad Irfan
Hi, I'm using appfuse (tapestry, spring, hibernate) modular project. I have classes that outside of hibernate or tapestry domain but require to execute some of the hibernate query. If I put a setter on the class, the spring won't inject the method, and If I instantiate the hibernate dao class dir

[appfuse-user] About adding changing roles

2008-09-22 Thread overseastars
Hi I need to use two new roles A and B. I already have had them in my database and I've created two new users for each. in addition, I have a new home page instead of useing default mainMenu.jsp. I need to use this home page as a default page, not a login page, when someone just open the link h