org.hibernate.TransactionException - is thrown when I try to call page.getPlainText() in a multi-threaded ExecutorService.
The exception starts from Page.getCompiledPage() function.
Looks like concurrent queries to the SQL database are not allowed. Any way to make this process faster?
--
You received this message because you are subscribed to the Google Groups "jwpl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jwpl+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
As far as I know, we never tried this with multi threading.So sorry, no idea how to fix this.
2016-10-25 21:11 GMT+02:00 Nitish Gupta <gnni...@gmail.com>:
I am trying to parse pages in a multithreaded fashion for faster parsing.org.hibernate.TransactionException - is thrown when I try to call page.getPlainText() in a multi-threaded ExecutorService.
The exception starts from Page.getCompiledPage() function.
Looks like concurrent queries to the SQL database are not allowed. Any way to make this process faster?
--
You received this message because you are subscribed to the Google Groups "jwpl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jwpl+uns...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jwpl+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jwpl+unsubscribe@googlegroups.com.