// Path: src/main/java/com/github/mjdbc/type/DbInt.java
// public interface DbInt {
//     /**
//      * @return database object representation.
//      */
//     int getDbValue();
// }
// 
// Path: src/main/java/com/github/mjdbc/type/DbLong.java
// public interface DbLong {
//     /**
//      * @return database object representation.
//      */
//     long getDbValue();
// }
// 
// Path: src/main/java/com/github/mjdbc/type/DbString.java
// public interface DbString {
//     /**
//      * @return database object representation.
//      */
//     String getDbValue();
// }
// 
// Path: src/main/java/com/github/mjdbc/type/DbTimestamp.java
// public interface DbTimestamp {
//     /**
//      * @return database object representation.
//      */
//     Timestamp getDbValue();
// }


import com.github.mjdbc.Bind;
import com.github.mjdbc.Sql;
import com.github.mjdbc.type.DbInt;
import com.github.mjdbc.type.DbLong;
import com.github.mjdbc.type.DbString;
import com.github.mjdbc.type.DbTimestamp;
import java.sql.Timestamp;
import org.jetbrains.annotations.Nullable;
package com.github.mjdbc.test.asset.sql;



/**
 * Sql interface to test various Java types.
 */
public interface DbValueSql {

    @Sql("SELECT integer_field FROM custom_types")
    Integer getNullableInt();

    @Sql("UPDATE custom_types SET integer_field = :value")
    void setNullableDbInt(@Bind("value") @Nullable DbInt value);


    @Sql("SELECT long_field FROM custom_types")
    Long getNullableLong();

    @Sql("UPDATE custom_types SET long_field = :value")
    void setNullableDbLong(@Bind("value") @Nullable DbLong value);


    @Sql("SELECT varchar_field FROM custom_types")
    String getNullableString();

    @Sql("UPDATE custom_types SET varchar_field = :value")
// Path: src/main/java/com/github/mjdbc/type/DbInt.java
// public interface DbInt {
//     /**
//      * @return database object representation.
//      */
//     int getDbValue();
// }
// 
// Path: src/main/java/com/github/mjdbc/type/DbLong.java
// public interface DbLong {
//     /**
//      * @return database object representation.
//      */
//     long getDbValue();
// }
// 
// Path: src/main/java/com/github/mjdbc/type/DbString.java
// public interface DbString {
//     /**
//      * @return database object representation.
//      */
//     String getDbValue();
// }
// 
// Path: src/main/java/com/github/mjdbc/type/DbTimestamp.java
// public interface DbTimestamp {
//     /**
//      * @return database object representation.
//      */
//     Timestamp getDbValue();
// }


// Path: src/test/java/com/github/mjdbc/test/asset/sql/DbValueSql.java
import com.github.mjdbc.Bind;
import com.github.mjdbc.Sql;
import com.github.mjdbc.type.DbInt;
import com.github.mjdbc.type.DbLong;
import com.github.mjdbc.type.DbString;
import com.github.mjdbc.type.DbTimestamp;
import java.sql.Timestamp;
import org.jetbrains.annotations.Nullable;

package com.github.mjdbc.test.asset.sql;



/**
 * Sql interface to test various Java types.
 */
public interface DbValueSql {

    @Sql("SELECT integer_field FROM custom_types")
    Integer getNullableInt();

    @Sql("UPDATE custom_types SET integer_field = :value")
    void setNullableDbInt(@Bind("value") @Nullable DbInt value);


    @Sql("SELECT long_field FROM custom_types")
    Long getNullableLong();

    @Sql("UPDATE custom_types SET long_field = :value")
    void setNullableDbLong(@Bind("value") @Nullable DbLong value);


    @Sql("SELECT varchar_field FROM custom_types")
    String getNullableString();

    @Sql("UPDATE custom_types SET varchar_field = :value")
    void setNullableDbString(@Bind("value") @Nullable DbString value);