Hi,
There is no way to fix this directly, but there may be an easy workaround (depending on what Authenticated WebApplication does).
Effectively we need to override newRequestCycle() in the WebApplication-class to allow it to create the DataRequestCycle.
If you override the newRequestCycle in the WebApplication class something like this (assuming you can do that in your class and it doesn't break AuthenticatedWebApplication):
@Override
public RequestCycle newRequestCycle(Request request, Response response) {
Set<String> set = new HashSet<String>();
set.add("name of your persistence-unit"); // this is where you add your persistence units;
return new DataRequestCycle(this,
(WebRequest) request, response, set);
}
wadi wrote:
Hi! Is there a way to make this compatible?Why isn't it an Interface?
thanks in advance,
Regards,
Wadi