Hello,
I use RIFE's persistence layer in my web app, but would like to test it
outside my servlet container.
I had a look at this entry
http://rifers.org/wiki/display/RIFE/GuideCookbookNonweb, but i still
can't figure out how to apply it to solve my problem.
My DAO looks like this :
public class PersonDAO {
static final Logger logger = Logger.getLogger(PersonDAO.class);
static GenericQueryManager manager = GenericQueryManagerFactory
.getInstance(Datasources.getRepInstance().getDatasource("mysql"),
Person.class);
public static long insert(Person person) {
try {
manager.install();
} catch (Throwable t) {
}
return manager.save(person);
}
}
Thanks for your help.
Laki
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users