Posts by MarcusJPL • 61 points
3 posts
-
1
votes2
answers711
viewsA: Using Maven or Spring Boot?
You can also configure in just one application.yml spring: profiles: active: ${activatedProperties} --- spring: profiles: homolog logging: file: /springLogs/autenticador.log level: org: hibernate:…
-
1
votes2
answers333
viewsA: Delete data with the @Manytoone interface
If Voce wants to remove only the product, it would only update the requested object pointing product as null, the Order update would remove the product entity, and the Order-Product mapping could…
-
4
votes2
answers976
viewsA: How to calculate the time difference?
I always have a Dateutil in the applications to consult this kind of thing. In Java 8 has new approaches. But follow there, I hope to help. public static int diferencaEmHoras(Date dataInicial, Date…