Why exception exporting query result on Derby ?
- From: MikeRam <ing.ramundo@xxxxxxxxxx>
- Date: Sun, 27 Apr 2008 16:30:27 +0200
q="SELECT * FROM "+dbTable+" WHERE "+FieldName+" BETWEEN ? AND ? ORDER BY ID";
q="CALL SYSCS_UTIL.SYSCS_EXPORT_QUERY('"+q+"','"+OutFile+"', null, null, null)";
stm=cn.conn.prepareStatement(q);
stm.setString(1, sd.StringDataOraInizio);
stm.setString(2, sd.StringDataOraFine);
stm.executeUpdate();
I use Apache Derby but,
When i execute the attached code i receive an exception java.sql.SQLException: No input parameters.
The same query in other point of my program do not produce an exception.
Maybe i can't use system procedure with parameter ?
Thanks
.
- Follow-Ups:
- Re: Why exception exporting query result on Derby ?
- From: MikeRam
- Re: Why exception exporting query result on Derby ?
- From: Arne Vajhøj
- Re: Why exception exporting query result on Derby ?
- Prev by Date: The Joaillerie, or J12 H1748 is styled in white gold. It is a 38mm automatic timepiece that is constructed in a hi-tech ceramic black case. It is known for its diamonds and baguette-cut rubies. There are 12 versions of this edition. The Joaillerie is one of the most desired from the J12 series due to its amazing visual appeal.
- Next by Date: Re: Why exception exporting query result on Derby ?
- Previous by thread: The Joaillerie, or J12 H1748 is styled in white gold. It is a 38mm automatic timepiece that is constructed in a hi-tech ceramic black case. It is known for its diamonds and baguette-cut rubies. There are 12 versions of this edition. The Joaillerie is one of the most desired from the J12 series due to its amazing visual appeal.
- Next by thread: Re: Why exception exporting query result on Derby ?
- Index(es):
Relevant Pages
|
|