if i remove
labeledExtract.countLabeledExtracts();
it all works fine.. i guess there wouldn't be any other labeled extracts
since i'm making new
extracts each time anyway..
Keith Ching wrote:
thanks for the help and clarification.. i will debug anew and compare
to the test code.
-keith
N
thanks for the help and clarification.. i will debug anew and compare to
the test code.
-keith
Nicklas Nordborg wrote:
Keith Ching wrote:
Hi,
I am trying to write a plugin to automatically make objects from sample
-> rawbioassay.
however, after you call dc.commit() it closes the connecti
Keith Ching wrote:
> Hi,
>
> I am trying to write a plugin to automatically make objects from sample
> -> rawbioassay.
> however, after you call dc.commit() it closes the connection. what is
> the normal way to
> re-establish a connection? dc.reconnect() does not seem to work.
> getting a ne
sorry.. here is the stack trace if i don't call dc.commit() until after
looping through all the samples.
net.sf.basedb.core.BaseException: net.sf.basedb.core.data.ExtractData
at net.sf.basedb.core.HibernateUtil.loadData(HibernateUtil.java:1120)
at net.sf.basedb.core.Extract.countLabeledExtracts(E
Hi,
I am trying to write a plugin to automatically make objects from sample
-> rawbioassay.
however, after you call dc.commit() it closes the connection. what is
the normal way to
re-establish a connection? dc.reconnect() does not seem to work.
getting a new dc via
dc = sc.newDbControl(); do