anonymous wrote : I'm getting the same problem. I'm wondering whether it's mySql because I've been told it's concurrent transaction handling is poor. I'm going to move to Postgres today to see if there are any improvements.
|
| Thanks, AL.
I am pretty sure it isn't down to mysql's concurrency ability but I did think it might be some configuration issue or one with the drivers. Grateful for the feedback.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072920#4072920
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072920
Hi,
The requirement for us is to keep only the MFU nodes in in-memory cache. We are planing to use LFUEvictionpolicy so that it removes least frequently used nodes. But the problem here is that when the server goes off and comes up again, how to make the cache loader load only the MFU data into in-memory cache. We doubt whether the LFUPolicy is persisting the counter status. Can anyone please help us on this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072917#4072917
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072917
Hibernate only uses the discrimnator value if it is really needed (single table strategy). Since the class type for the strategy joined is clear by itself the discriminator value will be null. You can use the following hack to work around this:
| /*
| * This is workaround for a hibernate bug:
| * -> http://opensource.atlassian.com/projects/hibernate/browse/ANN-140?page=all
| */
| @Column(name="DISCRIMINATOR",length=31)
| public String getDiscriminatorValue() {
| DiscriminatorValue discriminatorValueAnnotation = this.getClass().getAnnotation(DiscriminatorValue.class);
| if (discriminatorValueAnnotation != null) {
| return discriminatorValueAnnotation.value();
| }
| return this.getClass().getSimpleName();
| }
|
| public void setDiscriminatorValue(String dummy) {
| }
|
You will have to tweak it to use an integer as the discriminator value.
Regards
Felix
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072913#4072913
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072913
Hi all,
I've two littles questions...
1 - When I make a zip file with the "Save Without Deploying..." button, the zip file contain all classes for actions, assignment etc... I would like to know why there is here ?? Are they written on data base ??
2 - My second question is linked whith the first one... I thought that jBPM took a simple xml file for parameter... If there is the classes in the package, I suppose that jBoss use there... How can I do to reproduce the exact behavior of the deployement used by jBoss ?? (with web-console)
Thanks in advance for your reactions ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072911#4072911
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072911