20190401

Date date = new Date();
DateFormat df = DateFormat.getDateTimeInstance();//可以精确到时分秒
df.format(date);

<property name="hibernateProperties">
      <value>
        hibernate.dialect=org.hibernate.dialect.Oracle9Dialect
        hibernate.show_sql=true
      </value>
</property>

猜你喜欢

转载自www.cnblogs.com/wystydy/p/10634632.html
今日推荐