code4copy

code4copy

    • Sheel S Prabhakar
      • Privacy Policy
  • Postgres JDBC and Hibernate Using JSONB Type

    While working with Postgres JSONB type and Java, if we assign the value of type UUID as a string then we will get the following exception. To assigning value incorrect way is given below, if you are using PreparedStatement. First, in the query, you need to write input param par as given below for the…

    March 14, 2021
  • Postgres JDBC and Hibernate Using UUID Types

    While working with Postgres UUID type and Java, if we assign the value of type UUID as a string then we will get the following exception. To assigning value incorrect way is given below, if you are using PreparedStatement. If the value of UUID is a string type, then first you need to convert it…

    March 14, 2021
  • How to write Java Postgres JDBC JUnit Test

    Postgres is one of the leading open-source RDBMS for developing applications using Java. As now development involves more and more TDD, we need to write Junit tests that can run independently on any build environment without the dependency on any required Database engine. For the Postgres database, I found one very handy Java lib that…

    March 13, 2021
  • How to validate UUID String in Java

    Many times we are supposed to get a string and that should be a valid UUID or GUID. Unfortunately Java UUID class don’t provide any function to validate whether a string is valid UUID or not. In many places, you will see to use the UUID java class function fromString, if any exception then the…

    March 12, 2021
  • Kafka Spring Boot Stateless Stream Processing

    Kafka Spring Boot  Stateless Stream Processing

    Kafka Streams is a client library that is used to process a stream of messages on a topic and either store it within Kafka or send it to some other Kafka topic. One can check complete documentation of Kafka Streams. In Kafka Stream, I will show with one example, how one can use Spring boot…

    March 9, 2021
  • Kafka Spring Boot Example of Producer and Consumer

    Kafka Spring Boot Example of Producer and Consumer

    Apache Kafka is open-source and widely used software for event stream platform. It is mainly used for service integration, data integration, creating data pipelines and real-time data analytics, and many. You can get more details from here Apache Kafka. For development, it has libs for almost every development platform. In this post, I am going…

    March 6, 2021
  • Apache Kafka Installation on Ubuntu 20

    Apache Kafka Installation on Ubuntu 20

    Apache Kafka is an event streaming platform that is very scalable and reliable. Kafka is developed using Java, so for running Kafka you need java runtime/ JDK on your PC. In this post, I will tell you to step by step guide to install and run Kafka for learning and development purposes on Ubuntu 20.…

    February 28, 2021
  • Install and Configure Postgres on Ubuntu 20, VirtualBox, and Windows

    Install and Configure Postgres on Ubuntu 20, VirtualBox, and Windows

    In this post, I will write complete steps to install and configure Postgres RDS on Ubuntu 20 running on a VirtualBox over Windows 10 host. Installing Postgres on Ubuntu 20 For easiness connect Ubuntu instance using Putty windows client. Now you can easily copy and paste commons on the putty console. Steps to install Postgres…

    February 25, 2021
  • Telnet Client Installation on Windows 10

    Telnet Client Installation on Windows 10

    Telnet client on windows is one utility that enabled telnet protocol. This utility has been used to check TCP bidirectional connections between TCP servers. We generally use it to test listening port is reachable or not from one client. By default, it is not installed on Windows 10. You can install this very easily by…

    February 25, 2021
  • Change Default GIT Author and Committer in Eclipse GIT Plugin

    Change Default GIT Author and Committer in Eclipse GIT Plugin

    While working in Eclipse IDE and GIT plug-in for Eclipse, Author and Commiter filed is set by default to PC name and current user as displayed in pic given below. But in most cases, we want to do commits with our Git user and email id, You can set author and committer while committing. But…

    January 26, 2021
←Previous Page
1 … 3 4 5 6 7 … 21
Next Page→

code4copy

Proudly powered by WordPress