Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Can't find 'Default Schema' property for eclipselink

I've done something similarly a few months ago.

Don't have time to describe it much now, but you define a
sessionCostomizer in persistence.xml
that then does specific things after certain events.

http://github.com/domdorn/RestServiceFramework/blob/master/storage/src/main/webapp/WEB-INF/classes/META-INF/persistence.xml

http://github.com/domdorn/RestServiceFramework/blob/master/storage/src/main/java/com/dominikdorn/tuwien/evs/rest/eclipselink/StorageSchemaSessionCustomizer.java

http://github.com/domdorn/RestServiceFramework/blob/master/storage/src/main/java/com/dominikdorn/tuwien/evs/rest/listener/PreparePersistenceListener.java

hope it helps.

kind regards,
dominik

-- 
Dominik Dorn
http://dominikdorn.com
http://twitter.com/domdorn

Tausche Deine Lernunterlagen auf http://www.studyguru.eu !


Back to the top