rocambille / barista

Barista is a CLI that can assist you while you build your Java application
MIT License
7 stars 15 forks source link

add dates to entity template #26

Closed rocambille closed 5 years ago

rocambille commented 5 years ago

In src/main/resources/templates/barista/Entity.java add:

Resource: https://dev.mysql.com/doc/refman/8.0/en/timestamp-initialization.html

chathurabuddi commented 5 years ago

May I work on this issue?

rocambille commented 5 years ago

May I work on this issue?

yes you can :)

chathurabuddi commented 5 years ago

@wasthishelpful , please review #27

rocambille commented 5 years ago

I am experiencing issue when updating: the returned entity after save has a null creation timestamp.

After some tests, it turns out that's linked to the update process, not the entity. I will open an other issue to address the problem, but this one is solved thanks to your work :)