how to get country code from ip address
In this post, we will write the code to fetch and read the Country code and Country flag from ip address For this to achieve we will be using “ip-stack”…
Read more »
Swagger with Java
What is Swagger ? Swagger 2 is an open source package written in Java to generate documentation of Swagger compliant APIs. The latest version of swagger uses a set of…
Read more »
Composite key in hibernate
It’s done using @Embeddable and @EmbeddedId annotations. Let’s assume that we are writing an application that manages “WrokspaceTaskHistory” of various clients. Every “WrokspaceTaskHistory” has a unique “WorkspaceTaskHistoryId”. To identify a…
Read more »