ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Error while getting the value from sequence
Date Wed, 14 Jun 2006 15:31:38 GMT
That means that the query returned more than one row.

Larry


On 6/14/06, suresh.dodda@wipro.com <suresh.dodda@wipro.com> wrote:
>
>  I am using FireBird Data base. when i use the following query
> select gen_id(TIMER_GENERATOR,1) from timer_details;
>
> I am getting the exception
> java.sql.SQLException: Error: executeQueryForObject returned too many
> results.
> when i execute the same query at the command prompt it works fine.
>
> Is problem in Ibatis?.
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>

Mime
View raw message