by balamt | Aug 5, 2021 | Java, Microservice, Springboot
Composite Key with JPA and Hibernate In this article let discuss on How to map Composite Key with JPA and Hibernate Domain Model A relational database composite key contains two or more columns which together for the primary key of a given table. In the diagram...
by balamt | Aug 5, 2021 | Java, JSP, MySql, Servlet
Load BLOB images from SQL and display in JSP page using Java Servlet In this article let discuss on Load BLOB images from SQL and display in JSP page using Java Servlet we will guide you how to write code for displaying images stored in database on a JSP page within...
by balamt | Aug 5, 2021 | Java, Microservice
Difference between Entity vs Model Difference between Entity vs Model Entity: An entity represents a single instance of your domain object saved into the database as a record. It has some attributes that we represent as columns in our tables. Model: A model typically...
by balamt | Aug 4, 2021 | Java, MySql
What is JDBC Clob data type? how to store and read data from it? CLOB stands for Character Large Object in general. SQL Clob is a built-in datatype and is used to store huge amount of characters data. Using this datatype, you can store data up to 2,147,483,647...
by balamt | Aug 23, 2020 | Java, Program
What is Streams? Stream is a new abstract layer introduced in Java 8, It represents a sequence of objects from a source, which supports aggregate operations. To understand better, lets take basic sql function distinct. SELECT DISTINCT(USER_TYPE_ FROM...
by balamt | Oct 27, 2019 | How-To, Interview, Java
I was wondering always, why it is always main method is the starting point for the Java program. Well When i was matured enough to read the Java Specification i learnt why and whether can it be changed ? Okay Lets See !! Why main method ? Main method is the starting...