public enum ZeroDateOption extends Enum<ZeroDateOption>
This option indicates special handling when MySQL server returning "zero date".
| 列挙型定数と説明 |
|---|
EXCEPTION
Just throw a exception when MySQL server return "zero date".
|
USE_NULL
Use
null when MySQL server return "zero date". |
USE_ROUND
Use "round" date (i.e. "0001-01-01 00:00:00" or "0001-01-01")
when MySQL server return "zero date".
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static ZeroDateOption |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ZeroDateOption[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final ZeroDateOption EXCEPTION
Now will throws R2dbcNonTransientResourceException.
public static final ZeroDateOption USE_NULL
null when MySQL server return "zero date".public static final ZeroDateOption USE_ROUND
This option is only for compatibility with certain code and NOT recommended.
public static ZeroDateOption[] values()
for(ZeroDateOption c: ZeroDateOption.values()) System.out.println(c);
public static ZeroDateOption valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合Copyright © 2018–2020. All rights reserved.