I've reworked it a little and put it into its own project:

http://github.com/dchenbecker/scalajpa/tree/master

I've broken things down just a bit and added some more abstract classes to
make it easier to use. In particular, now there's a LocalEM class that uses
java.persistence.Persistence to retrieve the EM, and a JndiEM class that
uses JNDI. Under the test source directory is an example of how to integrate
with Lift, similar to how it's been done up to now. One thing I'm thinking
about doing is reworking it a bit so that ScalaEntityManager becomes a
per-instance usage, in case people want to use these classes outside of
Lift. Right now it's very geared toward using a singleton accessor and using
a per-thread management of instances. Please send me any questions or
comments.

Cheers,

Derek

PS - I'm going to talk to David B. to see if this can be hosted as a maven
module on scala-tools.org so that you can just drop it in your POM in the
future.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to