All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.plugins.jdbc.statements.UpdateStatement.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






UpdateStatement (org.spincast:spincast-framework 1.0.0 API)












org.spincast.plugins.jdbc.statements

Interface UpdateStatement

    • Method Detail

      • update

        int update()
        Execute the update and return the number of affected rows.
      • update

        <T> List<T> update(ResultSetHandler<T> resultSetHandler)
        Execute the update and return a result set.

        This can be used with a RETURNING clause.

      • setCase

        void setCase(String paramName,
                     String columnNameToCheck,
                     Map<?,?> map)
        Adds a CASE statement, using the key and values of the given map. For example : CASE WHEN mapKey1 = 1 then mapVal1 WHEN mapKey2 = 2 then mapVal2 END

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy