Thursday, September 11, 2008

Modular JPA

I had some time thinking about modular databases. There comes wonderful modularity when we work with OSGi, but what about our databases. Think of a server plugin that will need some Tables. It should contribute them in eclipse style to the EntityManagerFactory. As this looks very static maybe we could have an extensible Configuration for the factory. Or has someone an idea how to achieve something like that ?