[Note: I see that template parsing is rather wobbly. The JIRA has to
be fixed in
org.drools.template.parser.DefaultTemplateContainer, and I think there are other
"holes" in the parseTemplate method.]
Roger,
while my previous suggestion avoids the NPE, it may not be the
adequate solution for your
Hi Wolfgang,
We were able to get the code to work based on your previous suggestions.
Your following recommendation is definitely more elegant and complete. Many
thanks for following up. Most grateful!
Roger
On Thu, Nov 11, 2010 at 12:56 AM, Wolfgang Laun wrote:
> [Note: I see that template par
Hi Salaboy, Kris
I managed to do the persistence to Oracle and that is not by creating an
xml file but by adding annotations to the org.drools.task file and I mean by
this:
for example org.drools.task.Deadline
- the column name [date] reserved word for oracle. So what I did is
the
Hello.
I'm using Drools in a system of alarms. I have a drl file with rules in
wich I have defined events that are java classes. I have defined timed
events and interval events. My idea is that an external timer inserts some
interval events time to time. Well, the thing is that I need update an
Hi, friends
I'd like to add xml config to fix this this problem. Because
sometimes, for different databases, we may need different mappings.
E.g. we may need varchar2 in Oracle other than varchar in others.
I've read some other one's note to say that it is better to define the
relationship of ent
Ok so drools will not be garbage collecting the facts (as I'm not calling
dispose()) and I've to retract them manually.
I was wondering cannot there be any way in which I can define expiry time
for facts in the same way I declare for events i.e. @expiry
--
View this message in context:
http://
You should enable the option for dump creation with:
-Ddrools.dump.dir="yourDirectory"
so you can take a look at the generated code
(Process_com_test_sample_0.java) and maybe debug it.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Help-me-understand-this-dr
On 11/11/2010 10:46, Ayush wrote:
> Ok so drools will not be garbage collecting the facts (as I'm not calling
> dispose()) and I've to retract them manually.
>
> I was wondering cannot there be any way in which I can define expiry time
> for facts in the same way I declare for events i.e. @expiry
U
On 11 November 2010 11:11, anais wrote:
>
> Hello.
>
> I'm using Drools in a system of alarms. I have a drl file with rules in
> wich I have defined events that are java classes. I have defined timed
> events and interval events. My idea is that an external timer inserts some
> interval events ti
Hi All,
I Have an issue with Human Task in Drools. I have a simple scenario.
Start --> Human Task1 ---> Human Task2 ---> Human Task3 ---> End
I persisted the Task Service as well as the Human Task info to Oracle.
But what is happening is that I have the Human Task1 once completed
Thank you very much. That's what I need to know.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Updating-interval-events-tp1881686p1882499.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
r
Hello,
Can you please assist with two issues that I have related to gwt-console,
1. In gwt-console after starting a simple process with one human task (the
sample process from eclipse with one human task before ending) and clicking
the diagram button (as shown on the screencast
http://people.red
Hi List,
I'm trying to count the number of objects I have in the Working Memory
using accumulate, but I'm having a ClassCastException thrown at me.
Using a variant with collect, everything work OK.
Can someone shed some light on this issue?
Is it related to https://jira.jboss.org/browse/JBRULES-
Can you show us the stack trace? What version of Drools are you using?
In Drools 5.1+, collect is just syntax sugar... internally, collect
is implemented using accumulate.
Edson
2010/11/11 :
> Hi List,
>
> I'm trying to count the number of objects I have in the Working Memory
> using a
The suggested workaround (before this was fixed) is to use
count(1)
which achieves the same effect.
-W
On 11 November 2010 19:30, wrote:
> Hi List,
>
> I'm trying to count the number of objects I have in the Working Memory
> using accumulate, but I'm having a ClassCastException thrown at me.
Concerning the "old" unsolved question I would be happy if someone could give
me an answer for these questions:
1) What's the advantage of creating StatefulKSessions with an environment?
(JPA-Persistence excluded)
2) Is the session id (ksession.getId();) depending on the environment?
3) Can globa
Can you please elaborate on "Have it store each inserted object in a
time based eviction queue and it'll remove things for you." i.e. how can I
do it?
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Removing-facts-from-statefulknowledgeSession-s-memory-tp187
17 matches
Mail list logo