Solving “Syntax error in SQL statement: expected “identifier”

When working with JPA (Java Persistence API) and defining entity classes, it’s crucial to avoid using reserved words as identifiers for attributes or table names. Failure to do so may lead to SQL syntax errors, as demonstrated by the given issue.

In this tutorial, we’ll walk through the steps to resolve the SQL syntax error caused by using reserved words in a JPA entity class.

Read more

Solving java.lang.OutOfMemoryError: Metaspace error

The error java.lang.OutOfMemoryError:Metaspace indicates that you have exhausted an area of JVM which serves as a registry for your application’s Class Metadata. This article is a step-by-step guide to analyze the issue, determine the root cause of it and take actions to resolve it.

Read more

Getting started with Jakarta EE

This article will detail how to get started quickly with Jakarta EE which is the new reference specification for Java Enterprise API. As most of you probably know, the Java EE moved from Oracle to the Eclipse Foundation under the Eclipse Enterprise for Java (EE4J) project. There are already a list of application servers which offer a Jakarta EE compatible implementation such as WildFly. In this tutorial we will learn how to bootstrap a Jakarta EE project.

Read more

How to run WildFly on Openshift

This tutorial will teach you how to run WildFly applications on Openshift using WildFly S2I images. At first, we will learn how to build and deploy applications using Helm Charts. Then, we will learn how to use the S2I legacy approach which relies on ImageStreams and Templates.

Read more

If Conditions to Control Job Execution in GitHub Actions

GitHub Actions provides powerful capabilities for automating workflows, including the ability to control job execution based on specific conditions. By using if conditions in workflow files, you can create dynamic workflows that execute certain steps or jobs only when certain conditions are met. In this tutorial, we’ll explore how to use if conditions in GitHub Actions workflows, along with basic examples and variations to demonstrate their usage.

Read more

GitHub Actions vs Jenkins explained

Introduction: GitHub Actions and Jenkins are two popular tools used for automating software development workflows, including continuous integration (CI) and continuous delivery (CD). While both serve similar purposes, they have different architectures, features, and capabilities. In this tutorial, we’ll compare GitHub Actions and Jenkins, explore their key differences, and provide examples to illustrate their usage.

Read more