You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/10 16:42:06 UTC

[GitHub] [netbeans] cpramirez opened a new issue #3755: Include Java 8 time classes in the Entity Class Creation Wizard

cpramirez opened a new issue #3755:
URL: https://github.com/apache/netbeans/issues/3755


   ### Description
   
   The Wizard that creates the Entity Classes from Database uses the java.util.Date by default.
   
   It would good if could be updated to work with the more modern Java8 Time classes, basically because they are the updated versions of it and have less problems with the handling of the time-zones and conversions of them when retrieving/storing the information in the database.
   
   ### Use case/motivation
   
   I do not know how difficult would be, but probably the best option would be to allow the user to choose if they want to use java.util.Date or java.time classes, in a similar way to how they choose if they want to use Collection, Set or List for the relationships.
   
   I want to remove the uses of Date from my projects and it is time consuming have to review all new entities to replace it for its best equivalent, but that is my particular case. Other people may need to use it for compatibility reasons, for example.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists