Spring JdbcTemplate – Select Specific Columns From Table

Specific Columns Selection Here I am going to show you an example how to select only specific columns from a table. So you only need to select few columns from a table instead of selecting all columns. In other words you are going to fetch those columns which are required for your business purpose.

Create Empty Files For Existing Files In Windows

Empty File Here in this example I am going to show you how to create empty files in Windows system using command line tool. This will reduce your manual efforts for creating empty files for a corresponding list of files in a directory. When there is a requirement for processing a list of files from a folder or directory and…

React Search Functionality In HTML Table

Search Functionality In any tabular format data it is necessary to have a search input so that user can search their intended data using particular text or string. This will help them to find the expected data in a little time than searching the whole HTML table data by navigating to different pages. This example will show you how to…

Prevent New Line In Angular Text Box

Avoid Line Break Sometimes you may need to prevent line break in the comment or remark section where an HTML input element <textarea/> is used. Generally as you type in the text area and press ENTER key to put the next part of string in the new line and it may cause some issues in other activities. For example, your…

Design Of Frontend And Backend In CodeIgniter 4

Codeigniter 4 Frontend and Backend In this tutorial I am going to give you an idea how to build frontend and backend functionalities separately so that the future maintenance would be easier. Frontend generally accessed by the end users of the websites whereas, backend is used by mainly admin users who manage different functionalities of the website. The backend admin…

Codeigniter 4 MySQL AJAX CRUD Example

Codeigniter 4 CRUD In this tutorial I am going to show how to build CRUD (Create Read Update Delete) application using Codeigniter 4 and MySQL database using basic AJAX (Asynchronous JavaScript and XML) technique. I won’t use AJAX technique for all four operations, i.e., fetching (Read), saving (Create), updating and deleting. Out of these four operations, I will use AJAX…

Spring Boot Composite Primary Key Example

Composite Primary Key Composite primary key is a combination of two or more columns in a table. So instead of a single column to be a primary key, more than one column or field is made to be a primary key to uniquely identify the rows in a given table. Let’s say you have created a table called user in your database…

JSF 2 AJAX Example – Check Username Availability

JSF 2 AJAX In this tutorial I am going to show you how to use AJAX (Asynchronous JavaScript And XML) technique in JSF (Java Server Faces) based applications. AJAX is generally used for updating or refreshing a small part of the page because, you may not need to refresh the whole page. Here in this example I am going to…

Spring Boot Cucumber Integration Using Gradle

Cucumber Cucumber is a BDD (behavior driven development) framework for running automated acceptance or integration test cases. Cucumber framework is written in Ruby language, but it is also available in other programming language. Cucumber uses Gherkin parser but the implementation is done using the target language. Cucumber allows the execution of feature documentation written in business-facing text. Cucumber works with…

How To Create Empty Files For Existing Files In Unix

Empty File In this example I will show you how to create empty files for files in Unix or Linux based systems. You may need to create empty files for a list of corresponding files in a directory or folder. To create an empty file generally you may use touch command in Unix shell terminal. It is always simple to…