Class UniversalUtil

java.lang.Object
dev.king.universal.shared.UniversalUtil

public final class UniversalUtil
extends java.lang.Object
This class providers basic methods
  • Constructor Summary

    Constructors 
    Constructor Description
    UniversalUtil()  
  • Method Summary

    Modifier and Type Method Description
    void syncObjects​(@NonNull java.sql.PreparedStatement statement, java.lang.Object... objects)
    Synchronize the objects param in the prepared statement

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • syncObjects

      public void syncObjects​(@NonNull @NonNull java.sql.PreparedStatement statement, java.lang.Object... objects) throws java.sql.SQLException
      Synchronize the objects param in the prepared statement
      Parameters:
      statement - is the statement created in universal provider
      objects - is the vararg parameter of your sql query
      Throws:
      java.sql.SQLException - requires in the JDBC provider