[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem
It seems that if I evict FQN.ROOT, only evicts nodes at primary level, and not its descendants. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171097#4171097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem
I was already working on it, although I didn't thought on passivation, rather in a cache.put for every node. I'll try cache.evict, as it seems rather easier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171056#4171056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem
an idea would be to have a small program that a) starts a new cluster instance which would fetch all in memory state b) this instance uses passivation c) call cache.evict after state retrieval finished d) exit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171042#4171042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem
Is there an easy way to save all in-memory state to Database. I need to update database state, since it may be corrupt, prior to updating my running instances with a patched version of JDBCCacheLoader with the fix you suggested? Any help will be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170947#4170947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader Problem
Hang on, I'm confused - so you don't use Hibernate and you don't make direct JDBC calls, am I correct? You just want to use the JDBCCacheLoader? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164217#4164217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader Problem
sorry to putting wrong word in last post. jboss caching is not used with Hibernate. simple JDBC is used for jboss caching. Please let me know why i am getting this error. Regard, -Manoj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163751#4163751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader Problem
Why would you use a JDBC cache loader when using JBC as a 2nd level cache in Hibernate? Storing stuff in a DB twice over is pretty wasteful, IMO. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163246#4163246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader problem
thanks for spotting this. This is a bug, indeed. I've created http://jira.jboss.com/jira/browse/JBCACHE-1384 It is good that override is false at that point (that means that we do not want to *replace* the existing value). The problem is that overriding logic is broken, the old values override the new ones. Here is my fix: anonymous wrote : if(!override && oldNode != NULL_NODE_IN_ROW && attrs != null) | { |Map newOne = new HashMap(oldNode); |if(attrs != null) newOne.putAll(attrs); |attrs = newOne; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162516#4162516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user