Please give me some advice !! I am very grateful for how to insert the system time to the MySQLS database in the background. The data type in the database is Datetime. Note that I do not want to set the data type to Timestamp, which is an object file that I generate in reverse order, this also makes me puzzled. The database clearly writes Datetime, but the generated data is converted into Timestamp,
Please give me some advice !! I am very grateful for how to insert the system time to the MySQLS database in the background. The data type in the database is Datetime. Note that I do not want to set the data type to Timestamp, which is an object file that I generate in reverse order, this also makes me puzzled. The database clearly writes Datetime, but the generated data is converted into Timestamp,
Please give me some advice !! I am very grateful.
How to insert the system time to the MySQLS database in the background. The data type in the database is Datetime. Note that I do not want to set the data type to Timestamp,
This is an object file that I generated in reverse order. It is also confusing to me here. The database clearly writes Datetime, but the generated file changes to Timestamp,
Object files:
Public class Qtliuyan implements java. io. Serializable {
// Fields
Private Integer id;
Private Timestamp createtime;
Private String nrong;
Private Integer dpid;
Private String tel;
Entity hbm. xml file