Example usage for java.sql DatabaseMetaData typeNoNulls

List of usage examples for java.sql DatabaseMetaData typeNoNulls

Introduction

In this page you can find the example usage for java.sql DatabaseMetaData typeNoNulls.

Prototype

int typeNoNulls

To view the source code for java.sql DatabaseMetaData typeNoNulls.

Click Source Link

Document

Indicates that a NULL value is NOT allowed for this data type.

Usage

From source file:com.tesora.dve.db.NativeType.java

public NativeType isNullable(boolean nullable) {
    setNullability((short) (nullable ? DatabaseMetaData.typeNullable : DatabaseMetaData.typeNoNulls));
    return this;
}