That worked. Thanks for clearing this up.
--
View this message in context:
http://drools.46999.n3.nabble.com/ConcurrentModificationException-loading-facts-from-db-Hibernate-tp4018431p4018437.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
$unitPrices : ArrayList() is bound to a collected list. The first insertion of
a fact from this list cancels the activation and results in this ArrayList
becoming modified.
Copy the List before iterating over it, e.g.
ArrayList copiedList = new ArrayList( $unitPrices );
for( Pricelist pr
In my use case, I have ~ 200,000 rows in a table that I need lookup in order
to price an item. Rather than load the entire table into working memory,I'm
trying load the relevant rows (based on a matching criteria) and load those
as facts and then have my rules evaluate the loaded facts. Based on th