Exactly that code is tested inside RIFE and works perfectly:
http://rifers.org:8088/viewrep/rifers/rife/trunk/src/unittests/com/
uwyn/rife/database/querymanagers/generic/beans/BinaryBean.java?r=HEAD
Are you sure that 'data' is not a reserved word as far as MySQL is
concerned?
On 1-dec-05, at 17:29, Keith Lea wrote:
I can make some code:
class Bean {
public int getid() { .. }
public void setId(int) { .. }
public byte[] getData() { .. }
public void setData(byte[]) { .. }
}
void method() {
GenericQueryManager<Bean> gqm = ...;
gqm.restore(1);
}
My code is not more complicated than that. I can't step with
debugger into databasedrivers.Common or I would try to see what the
problem is there.
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users