wangscript / warp-persist

Automatically exported from code.google.com/p/warp-persist
0 stars 0 forks source link

warp-persist requires javax.servlet.Filter #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an inject w/ warp-persist using Guice without javax.servlet.Filter on 
the classpath 

Original issue reported on code.google.com by jboy...@gmail.com on 12 Oct 2007 at 7:12

GoogleCodeExporter commented 9 years ago
Can you post your module config? Unless you use UnitOfWork.REQUEST, it should 
not
load the SPR filter class at all.

This may be an oversight on my part when using Jpa, however--can you confirm 
that the
problem occurs with Jpa and not Hibernate? I will double check this on my side 
too.

Original comment by dha...@gmail.com on 18 Oct 2007 at 9:16

GoogleCodeExporter commented 9 years ago
This looks like it's caused by JpaBindingSupportsetUnitOfWork(UnitOfWork
unitOfWork){...} which tries to instantiate SessionPerRequestFilter.   

Original comment by shawn.ho...@gmail.com on 2 Mar 2008 at 2:21

GoogleCodeExporter commented 9 years ago
fixed in warp-persist 1.0. Please use the versioned jar (or the 
/tags/warp-persist-1.0proper source path).

Original comment by dha...@gmail.com on 2 Mar 2008 at 6:26