|Parameterized SessionCustomizer with spring (or without) [message #1002069]
||Thu, 17 January 2013 16:45
| Alexander Bätz
Registered: August 2012
I want to use the snowflake id generator created by twitter. to do this i have to configure the snowflake sequence in my sessioncustomizer with certain parameters (datacenterid, serverid, ...).|
what is the best (cleanest) way to give these values to my customizers?
I allready figured out that there is no way for me to supply an actual customizer instance to eclipselink (like i can do with datasources).
I'm using spring and spring-orm to configure my persistence context, maybe this helps.
Powered by FUDForum
. Page generated in 0.02266 seconds