ERROR - Cannot instantiate the type SQLType while using Java 8

Error

Cannot instantiate the type SQLType while using Java 8.

Error Type

Compile Time

Sample Code

SQLType sqlType = new SQLType();

Cause

SQLType is an interface and hence cannot be initialized.

Resolution

SQLType sqlType = JDBCType.BIGINT;