78 Results for:JPA

  • Sort by: 

Hibernate and JPA column mapping with annotations

By Cameron McKenzie 04 Jun 2023

Effective Hibernate and JPA column mapping requires the use of the @Column annotation to set important properties such as nullability, uniqueness, precision and scale. Read More

How to use native SQL in Hibernate and JPA

By Cameron McKenzie 01 Jun 2023

Need to use raw SQL with JPA and JPA? The Jakarta Persistence API's NativeQuery interface makes it possible to use Hibernate, SQL and JPA together in the same app. Read More

Hibernate and JPA 3 CRUD example

By Cameron McKenzie 15 May 2023

Struggling to get your first JPA 3 application off the ground? Here's a quick Hibernate and JPA 3 CRUD example to help you get going with the latest version of the Java Persistence API. Read More

The right MySQL persistence.xml example file for JPA 3 and Hibernate 6

By Cameron McKenzie 01 May 2023

A quick migration from JPA 2.x to 3.x can become bottlenecked if the persistence.xml file is misconfigured. Here's what a proper persistence.xml file for JPA 3, Hibernate 6 and a MySQL database ... Read More

Hibernate 6.0 release marks a milestone for JPA 3.x development

By Joseph B. Ottinger 19 Apr 2022

Hibernate 6.0 has finally been released. Here's what this full increment release means for developers who use JPA for persistence. Read More

Five ways to fix the 'no persistence.xml file found' error in Eclipse

By Cameron McKenzie 09 May 2023

No persistence.xml file found fix The hardest part about learning Hibernate and JPA 3 is how to get your first project up and running. Some will encounter the dreaded no persistence.xml file found ... Read More

A HibernateUtil class example to simplify JPA code

By Cameron McKenzie 30 Sep 2020

Developers can use HibernateUtil to mitigate access to JPA EntityManager and create more readable, less resource intensive code for data-driven applications. Read More

Juniper enhances programme with increased MSP support

By Simon Quicke 18 Mar 2024

Networking vendor is hoping a strategy of providing AI-capable products and a supportive programme will enable partners to deliver more growth Read More

How JPA EntityManager handles Hibernate transaction management

By Cameron McKenzie 29 Jul 2020

Follow this JPA EntityManager persist example tutorial to see how it can be used for transaction management and how to save changes to the database. Read More

Hibernate vs JPA: What's the difference between them?

By Cameron McKenzie 25 Jun 2019

Let us settle the Hibernate vs JPA debate for you. Here we explain the difference between JPA and Hibernate so that you'll never have to choose between the two database APIs. Read More