/dev/Vitor Mussatto

/dev/Vitor Mussatto

Desenvolvedor Java, Groovy e Golang
 

Blog

Últimos posts

Moving the blog I am moving the blog to a new server outside github pages I will keep posting here and there as a mirror, let’s see how things go =) The link: New Blog
Em: VM Blog, Publicado em 18/02/2018, Cliques: 21
This post has the intention of exploring new Java 8 features like Lambda. Lambda Expressions Is a feature already present in other languages, and this enables us to write more readable code (...)
Em: VM Blog, Publicado em 06/06/2017, Cliques: 66
Hereby a few examples about how to use stream + filter to get all elements matching some kind of conditions. Example 1 - Integer array List listTest = DataFactory.createListInteger(10); List (...)
Em: VM Blog, Publicado em 05/06/2017, Cliques: 70
The exception This exception happens when there is one physical table mapping two or more logical table names. This happened to me because there where multiple @JoinColumns using the same co (...)
Em: VM Blog, Publicado em 14/11/2016, Cliques: 161
Appending is a really common operation when programming, but how do we append two arrays / slices in Golang? Well, first lets try the regular way: myStringSlice := []string{"first", "second" (...)
Em: VM Blog, Publicado em 09/11/2016, Cliques: 137
Lately I have been studying JPA / Hibernate on Spring boot, and I got a strange exception on startup (on gradle bootRun): org.hibernate.MappingException. Problem ocurred because I had mixed (...)
Em: VM Blog, Publicado em 05/11/2016, Cliques: 151
One of the worst pains in Java is having to stop / start a server at each simple change in the code (reload it). Pretty much all IDEs provide support for hot code swapping with A LOT of limi (...)
Em: VM Blog, Publicado em 02/11/2016, Cliques: 131
This post will cover a small sample about how to capture or recover from panic in Golang. Lets check this scenario: var secondVar interface{} secondVar = 10 //.... //some code secondString = (...)
Em: VM Blog, Publicado em 23/10/2016, Cliques: 138
Lets say you have an interface in Golang, and for some reason you want to cast it. How do we do that? var myVar interface{} ... myVar = secondVar.(string) But what happens when myVar is not (...)
Em: VM Blog, Publicado em 22/10/2016, Cliques: 148
This post contains samples and considerations about the basics of Java Threads, excluding the executors framework (executors framework will be in a future post). The code will cover the two (...)
Em: VM Blog, Publicado em 14/10/2016, Cliques: 159