Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これらは私が渡すデータです。
2010 年 3 月 8 日 6:37:16 午前
私はdbテーブルでdatetime型として宣言された列を持っています。同様のクエリを実行する別のJavaクラスがあるため、機能しなかったのは怪しいですが、dbに渡すことに成功しました。
挿入する前に、(または joda-time APIparse / convertを使用して) 値を「文字列」にする必要があります。SimpleDateFormatdate-time
parse / convert
SimpleDateFormat
date-time