[jboss-user] [JBoss Cache: Core Edition] - Re: Custom column in jbosscache table and Custom Loading fro
jorgemoralespou_2
do-not-reply at jboss.com
Fri May 8 05:08:10 EDT 2009
Hi,
Since JBC 3.1.0.GA JDBCCacheLoader is easily subclassable per this request, So you only need to subclass JDBCCacheLoader and JDBCCacheLoaderConfig, and redefine the methods you need, like:
JDBCCacheLoaderConfig.constructCreateTableDDL()
JDBCCacheLoaderConfig.constructUpdateNodeSql()
JDBCCacheLoaderConfig.constructInsertNodeSql()
JDBCCacheLoader.processConfig()
JDBCCacheLoader.populatePreparedStatementForInsert()
JDBCCacheLoader.updateNode()
Hope this helps. We are doing almost the same
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229654#4229654
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229654
More information about the jboss-user
mailing list