By Chris on June 17, 2021
In the previous post, we discuss own we change from using mongorepository to using directly mongodb method to access and modify directly the object in db.In this posts we look at code that was deleting with mongorepository and change it to use directly mongodb method with MongoTemplate. Using MongoTemplate is faster and less likely to […]
Posted in java, mongodb, prog, tips | Tagged java, mongodb, MongoRepository, MongoTemplate |
By Chris on February 10, 2021
I know 2019 is like light years away, but I haven’t had the time to write and you will see that I haven’t had much time to read either in 2019. Having a baby who doesn’t sleep will do that to you. How to be miserable I got this book after watching CGP Grey’s “7 […]
Posted in book | Tagged 2019, book, How to be miserable, The gift of failure, The storm before the storm |
By Chris on May 20, 2020
I was having that weird error when I was working with mapstruct, turn out that the default java version for mapstruct is java 6. Since our project was in java 11 I was getting the error “Constructor XXX in enum XXX cannot be applied to given types”. My starting config was : <dependencies> <dependency> <groupId>org.mapstruct</groupId> […]
Posted in error, java | Tagged java, java8, mapstruts, maven |
By Chris on July 24, 2018
I have a list of guild but I don’t want to call that sql for each guild. (check previous post for the structure) This one is a little easier, you just have to use the IN (PARAMETER, OPERAND, KEYWORD) instead of equal (=) and you give your list of guild you want in it. select […]
Posted in db | Tagged List, oracle, sql, where |
By Chris on April 29, 2018
April was a busy month, I’ve only managed to finish one book. I’ve finished Unsheakable by Tony Robin, a follow-up of is other book Money: Master the game that is shorter and can be read independently. Unshakeable A lot of what is said in Money: master the game is re-told in unshakable, it makes me […]
Posted in book, Review | Tagged 2018, april, book, review, Unshakeable |
By Chris on April 9, 2018
It’s been three month, so I decided to give a little update on the book of 2018, this is a follow up of my list of book of 2017. Sapien Recommended by Bill Gate and many podcast I’ve listened too, Sapien is a brief (a synopsis if you wish) of the history of mankind. He […]
Posted in book, inspiration, Review | Tagged 2018, book, Digital Fortress, Essentialism, List, Ready Player One, reviews, Sapien |
By Chris on April 2, 2018
A old process we had was fetching a list from a query for each player one by one, and adding it in a excel file with other data needed on the player. Seeing that process was slow, we decided to turn it into a query. If we take a close look at the model we […]
Posted in db | Tagged batch, listagg, oracle, sql |
Recent Comments