Skip to content

Tag: java

Mapping one to one relationships in Spring Boot

I am trying to map a User with a certain Table in a one to one relationship. This here is my code, id appreciate if u take a look at it: User class: The Table class: Answer You don’t mapped parent entity with child entity properly.In parent table object of CTable is currenTable and you mapped by with ta…

How to define Nested enum type in GraphQL schema

I have an enum defined in graphql schema as below: But the WILDCARD query, can be further specified as STARTSWITH, ENDSWITH and CONTAINS, So can we achieve something like below while defining Schema or Answer There are no such nested enums in GraphQL schema. You can consider to model it using two separate fie…

Installing jenkins on Linux Mint 20.2

I’ve Linux Mint 20.2 Cinnamon and I tried to install jenkins. Detailed steps for installation is as below: 1. Installing java – installed via apt I’ve also added JAVA_HOME in ~/.zshrc which gives: 2. Installing jenkins I’ve tried with different versions of java, yet the same error. Wha…

Java Calendar clear() changes DST

First, I want to state that I know the Java Calendar class is being supplanted by other libraries that are arguably better. Perhaps I’ve stumbled upon one of the reasons Calendar has fallen out of favor. I ran into frustrating behavior in Calendar as it regards to the overlapping hour at the end of dayl…