views:

26

answers:

1

I'm currently using grails with classes storing java.util.Date fields als DATETIME. However I need the precision / miliseconds to be stored as well which I think is not possible with MySQL.

If I switch to PostgreSQL, will it store my Dates with milisecond precision (or is it easy to configure it this way)?

+1  A: 

Yes, Hibernate / PostgreSQL can also store milisecond precision, no problem. Use the Hibernate timestamp datatype.

Frank Heikens