Some Trials & a lot of Errors
I tried a bunch of framework and other language and I usually feel overwhelm when its time to do something real with what I've learned. So that why I created this site, to write my progress and help some noob like me that stumble into the sames problems.
Browse: Home / Chris

Chris

Chris

How to remove array element in mongodb in java?

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 | Leave a response

Book I’ve read in 2019…

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 | Leave a response

Constructor XXX in enum XXX cannot be applied to given types in mapstruct

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 | Leave a response

How to give a list of value in a where clause in sql (on oracle) ?

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 | Leave a response

April 2018 Book: Unshakeable

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 | Leave a response

Books Q1 2018: Sapien, Digital Fortress, Essentialism & Ready Player One

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 | Leave a response

How to turn a list from a select into a column of another select (Oracle) ?

How to turn a list from a select into a column of another select (Oracle) ?

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 | Leave a response

Tags

2018 2022 app apparment baby book books cleaner date daycare db fantasy draft fantasy sports food foods fridge games gifts grocery hibernate hockey hockey pools ideas inspiration java java.util.List learning List meal plan meal planner motivation mysql oracle productivity retail shopping reviews service social games sql String students The Practice to_date uber wedding

Recent Comments

  • pawan on How to update an entry in an array in mongodb with java MongoTemplate?
  • kevin on Oracle have no Boolean, how to fix this

Calendar

November 2025
MonTueWedThuFriSatSun
 12
3456789
10111213141516
17181920212223
24252627282930
« Dec  

Archives

  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • March 2021
  • February 2021
  • May 2020
  • January 2019

Copyright © 2025 Some Trials & a lot of Errors.

Powered by WordPress and Hybrid.

 

Loading Comments...