Hi all,
I am trying to assert (or insert) a large number of facts (or
DataClass objects) in to a session, what i am doing right now is to
insert them one by one as
---------------------
while (line != null) {
str = bufRead.readLine();
session.insert(new DataClass(line, str));
line = bufRead.readLine();
}
---------------------
My question: is there an efficient way to insert all facts at once, so
that it takes less time?
Thanks,
Senlin