[JBoss Cache: Core Edition] - How to subclass JDBCCacheLoader
by jorgemoralespou_2
Hi,
We have a requisite to remove old data from datastore that has not been used for a long time, or for example, as a ersult of an scheduled task, for example, every midnight, or data that is in DB for longer than 6 hours.
We are trying to subclass JDBCCacheLoader, to add a timestamp column, so we can remove old data from DB, but this class is not meant for subclassing, so we have to almost rewrite it completely, and aldo configs, and so on.
In JBC 1.4 this process was a lot easier.
Would it be possible to design cache loaders to be subclassable?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222569#4222569
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222569
16 years, 8 months
[JBoss jBPM] - JBPM Data Base - Table's column meaning
by zuipli
Hi,
I have found a lot of posts and scripts about the users/groups Data Base configuration, but I'm not able to find docs about the columns meaning of these tables.
I would like to create my own configuration with my groups and my users, but it's not clear which values place in some fields.
For example what does the column JBPM_ID_GROUP.CLASS_ represents ?
I want to create a new group, I can understand that 'G' (the typical value for this column in the scripts) is Group, but which others values can I use for this column? And the same for TYPE_; in the scripts I found the values are always:
- organisation
- security-role
Are these values pre-defined values ???
Please, if there is an article in the Wiki (that I didn't found) or a Post in the User Forum, put a link to the article/post, because almost always the answer "check the article in the Wiki" is not very useful.
Thanks in advance for you replies.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222564#4222564
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222564
16 years, 8 months
[JBoss jBPM] - Re: Don't see running process in JBPM
by DeanDeen
Thanks for help!
Hmm...
Exactly, something strange is happening with commiting the data. It is same DB (Oracle).
The application it self shouldn't be a problem as if is very simplified.
Process definition looks like this:
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="proces">
<start-state name="start">
</start-state>
<task-node name="opravilo3">
<assignment actor-id="#{actor.id}" />
</task-node>
<task-node name="opravilo4">
<assignment actor-id="#{actor.id}" />
</task-node>
<end-state name="error" />
<end-state name="end" />
</process-definition>
And class:
@Name("opravilo")
public class Opravilo
{
@CreateProcess(definition="proces")
public void startProcess() {
System.out.println("Start Proces...");
}
@StartTask
@EndTask(transition="next")
public void done() {
}
@StartTask
@EndTask(transition="cancel")
public void cancel() {
}
}
Any clues?
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222563#4222563
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222563
16 years, 8 months