Package dev.king.universal.shared
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
-
Constructor Details
-
UniversalUtil
public UniversalUtil()
-
-
Method Details
-
syncObjects
public void syncObjects(@NonNull @NonNull java.sql.PreparedStatement statement, java.lang.Object... objects) throws java.sql.SQLExceptionSynchronize the objects param in the prepared statement- Parameters:
statement
- is the statement created in universal providerobjects
- is the vararg parameter of your sql query- Throws:
java.sql.SQLException
- requires in the JDBC provider
-