Re: [base] how to get a db connection after call dc.commit()

2006-12-15 Thread Keith Ching
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

[base] how to get a db connection after call dc.commit()

2006-12-15 Thread Keith Ching
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

Re: [base] Réplicates in base 2

2006-12-15 Thread Johan Enell
I think I should answer this. There is still some features in the Base1PluginExecuter to be done. It tries to simulate the plug-in execution of BASE 1.2.17 and that process was a little bit more complex then I first thought. Q1? -Why 3 Bioassay sets are created by this plugin ? (I clicked onl

Re: [base] Réplicates in base 2

2006-12-15 Thread Emmanuel Courcelle
I don't know much about the BASE 1 plugins. What do you think is buggy? /Nicklas Sorry, the html copy-and-paste was not clear; here is a hand-made copy-and-paste: *Name Spots/ValuesReporters