Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7503687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:19:01+00:00 2026-05-29T21:19:01+00:00

I am trying to pass in startSequenceId , stopSequenceId , orderNumber into the SQL

  • 0

I am trying to pass in startSequenceId, stopSequenceId, orderNumber into the SQL map, however, i don’t wish to use a typed object, i.e. parameterType="com.abc.Order", can i do so?

<select id="getSequenceIdByOrderNumber" parameterType="?" resultType="int">
    select *
    from log
    where seq_id
    between #{startSequenceId} and #{stopSequenceId}
    and order_no = #{orderNumber}
    and rownum = 1
</select>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:19:05+00:00Added an answer on May 29, 2026 at 9:19 pm

    @Chin I’ll post what I had typed anyway with a simple example though you found what your looking for. My example using iBatis 2.3.4

    <select id="retrieveTestXXX" parameterClass="java.util.Map" resultClass="java.lang.Integer">
        SELECT
        example_table.id
        FROM example_table
        WHERE example_table.xx_id = #testId# AND example_table.xx_id = #test2Id#
    </select>
    

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to pass a form value into a global var to be use in
I'm trying to pass in a Base64 string into a C#.Net web application via
I'm trying to pass a complex object (that can be serialized, if that helps)
I'm trying to pass a struct from one object to another. I have the
I'm trying to pass some arguments into a new Powershell remoting session using the
Trying to pass some values into an imagebutton click event, something like this: <asp:ImageButton
Im trying to pass an array that I already found by a query into
I am trying pass a new variable into a template within django-registration. Here is
Im trying to pass some values into a text box from a child page
I'm trying to pass a 2D array of char* into a function. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.