brettwooldridge / SansOrm

A "No-ORM" sane SQL ←→ Java object mapping library
Apache License 2.0
240 stars 42 forks source link

OSGi Support? #31

Open dnebing opened 6 years ago

dnebing commented 6 years ago

I notice that 3.7 has appropriate OSGi bundle headers, but with the heavy use of static members and thread locals, I'm wondering if the library has been tested in an OSGi container and what the circumstances of the testing was?

brettwooldridge commented 6 years ago

SansOrm was used in my company's application, an OSGi container (Equinox), for several years. However, we no longer use OSGi. Additionally, I'm not sure our compliant our application was with the spirit of OSGi. For example, we never used bundle stop (or re-start) during the runtime life of the application.

Fixes for any issues encountered are welcome.