Unless you need the server time, you can just provide it with "new Date()"
-----Original Message----- From: Arunkumar Pillai [mailto:[email protected]] Sent: 4. december 2015 09:41 To: [email protected] Subject: Help in Inserting current Timestamp Hi is there any way to insert the current date time using apache meta model. like we give now() in mysql and postgresql My code def run(callback: UpdateCallback): Unit = { val table: Table = schema.getTableByName("TABLE_NAME") callback.insertInto(table).value("id",id).value("CurrentTimeStamp",?).execute(); } } ) Help would be appreciated -- Thanks and Regards Arun
