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

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

There is a newer version: 2.2.0
Show newest version






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












org.spincast.plugins.jdbc.statements

Class UpdateStatementDefault

    • Constructor Detail

      • UpdateStatementDefault

        public UpdateStatementDefault(Connection connection)
    • Method Detail

      • update

        public int update()
        Description copied from interface: UpdateStatement
        Execute the update and return the number of affected rows.
        Specified by:
        update in interface UpdateStatement
      • setCase

        public void setCase(String paramName,
                            String columnNameToCheck,
                            Map<?,?> map)
        Description copied from interface: UpdateStatement
        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
        Specified by:
        setCase in interface UpdateStatement
      • createUniqueParamName

        protected String createUniqueParamName()

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy