This error is happing:
com.orientechnologies.orient.core.exception.ODatabaseException: Error on
retrieving record #5:0 (cluster: orole)
For explaination:
Iam using orientdb as ObjectDatabase. I ask for multithreading problems.
But their was no help so I build a workaround.
On each thread, the database will be opened. Online 5 Threads are writing
on it. Each in a roundrobin.
I get this error when I am trying to start the javafx window.
val db = OODatabase.db()
> ODatabaseRecordThreadLocal.INSTANCE.set(db.getUnderlying)
> val orderList = new ObservableBuffer() ++=
> db.query[java.util.List[Order]]( new OSQLSynchQuery("select from Order")
> ).toList//.map(_.orderList).flatten
>
> homeTableOrderDate.cellValueFactory = {e => {
> ODatabaseRecordThreadLocal.INSTANCE.set(db.getUnderlying)
> new
> StringProperty(e.value,"createDate",sdf.format(e.value.createDate))
> }}
>
> homeViewTable.items.getValue.addAll(orderList)
>
Also I get a huge number of errors while I am trying to upload new data in
orientdb.
Please, this time, a help would be perfect.
Thanks
André
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.