java - What is the best way to persist the time a service has been restarted in MYSQL database -
i trying save time java service restarted on debian server mysql server. java application dropwizard project. tried doing java, requires object creation , data access object, hibernate config file , mapping file. seems overdo, there easier way achieve this?
hibernate option can use access database, not way. if don't want use hibernate can use direct connection using jdbc
https://docs.oracle.com/javase/tutorial/jdbc/basics/connecting.html
that should going how setup connection , how use it.
Comments
Post a Comment