<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
Most of the drools examples that I seen, will for have an example
that process address, look for address with a given post/zip code
etc on a data source that is already loaded in the knowledge
session, but it include no description of how the data was loaded in
the knowledge session.<br>
<br>
I have a reference database of trading containers , the database
describes the source, destination, contents etc, relationships
between for example a container may have have many sources and many
destinations. Destinations and sources may be shared between
different containers.<br>
<br>
The database is normalised to keep source/destination information as
a single place table, with link tables to define the relationship
between the different containers and places<br>
<br>
Q. What is the best way of loading my information in to a knowledge
session? <br>
<br>
Expand all the many to many relationship in to a single pojo
objects with multiple references to other pojos or is there a better
way?<br>
<br>
source destination<br>
eg Container foo England,
England <br>
England
France<br>
England
Scotland<br>
France
England<br>
bar England
Germany<br>
England
France <br>
<br>
regards<br>
<br>
<br>
Dave.<br>
<br>
<i><b><br>
</b></i>
</body>
</html>