Hi Tom,
Stripersist pulls info from the persistence.xml file to try to figure
out what classes to use. If it can't find those it tries to find
entities in the classpath looking through both jars and class files. It
/should/ work like you're expecting it to. What servlet engine are you
using? Are the jars that need to be scanned stored under /WEB-INF/lib?
Aaron
Tom Coleman wrote:
I'm ramping up on Stripersist and have a question about entity scanning.
I have some persistent classes in a jar file that I would ilke to use
with Stripersist.
I'm working from the stripersist-1.0-example.war, and it seems that
the only path that is scanned for entities is /WEB-INF/classes.
In order to get my application to work I had to move the persistent
classes out of the jar.
Is there any way to configure Stripersist to have it scan for entities
in a jar?
(Sorry if this is a dumb question.)
------------------------------------------------------------------------
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users