パッケージ org.nkjmlab.sorm4j

インタフェース Sorm.FunctionHandler<T,​R>

  • 型パラメータ:
    T -
    含まれているインタフェース:
    Sorm
    機能インタフェース
    これは機能インタフェースなので、ラムダ式またはメソッド参照の割当てターゲットとして使用できます。

    @FunctionalInterface
    public static interface Sorm.FunctionHandler<T,​R>
    Interface for object-relation handling with a return value. This interface is only designed for Sorm interface.
    • メソッドの詳細

      • apply

        R apply​(T t)
         throws Exception
        Will be invoked with an open connection. The handle may be closed when this callback returns.
        パラメータ:
        t -
        戻り値:
        例外:
        Exception