Advertisement

1 - 10 of 75 containing alltags:("preparedstatement") (0 seconds)
In the code below, I use a parameterized PreparedStatement to access an Oracle database. If I set the parameter with setInt, it works fine. If I use setLong, I don't get any records, and no error. ...
Zones: JavaDate Answered: 07/12/2003 Grade: A Views: 0
index.jsp ============================================= <% session.putValue("USER_INT_KEY", "INVALID"); session.putValue("option_chosen", "gen_rev"); %> <HTML> <HEAD> <TITLE></TITLE> </HEA...
Zones: JavaDate Answered: 10/22/2001 Grade: A Views: 0
i am using preparedstatement, and i wish to use LIKE in my sql.                selectUserEmailStrLg = "select login_memid, login_email, login_memtype from login where login_email like '%?%' "+   ...
Zones: JavaDate Answered: 04/10/2003 Grade: A Views: 0
I have a statement I'd like to prepare that includes an IN clause.  Say... I want to find all orders IN (?), where ? is an unknown number of order ids.  Is this possible with PreparedStatements, or...
Zones: JavaDate Answered: 11/21/2003 Grade: A Views: 114
Dear all, i have this code. What i intended to do is get the user's date, dd/MM/yyyy and based on this user's entried date, i wish to retrieve all the data in the same month with it... this is m...
Zones: JSPDate Answered: 11/28/2003 Grade: A Views: 0
I have created a prepared statement and run the query. The query is successfully run but no results are returned when there are results that match the criteria in the db.   PreparedStatement sta...
Zones: ProgrammingDate Answered: 01/13/2005 Grade: B Views: 0
Hi, Please kindly assist 1. what is  PreparedStatement ps ;     ? 2. what is setString(1, name); ? 3. what is ps.executeUpdate(); ?   related to JSP and database Thanks.
Zones: JavaDate Answered: 10/22/2005 Grade: A Views: 0
Hi, I have a prepared statement on an in query - something like this select * from customers where id in ? I want to pass a string like "1,2,3" to the setXXX function. The problem being th...
Zones: JavaDate Answered: 06/16/2006 Grade: A Views: 0
i get this error,my problem is with auto increment in oracle. java.sql.SQLException: Invalid column index       at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)       at oracl...
Zones: JavaDate Answered: 07/03/2006 Grade: A Views: 0
How usefull is it  in cases where you open a connection, execute a statement and close the connection (and hence the prepared statement as well). I think its only usefull when you are using the...
Zones: JavaDate Answered: 09/15/2006 Grade: A Views: 5