• Menu
  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

JavaBeat

Java Tutorial Blog

  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)
  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
    • Join Us (JBC)

JPA 2 Tutorials

JPA Annotations – @Temporal

March 6, 2014 //  by Krishna Srinivasan//  Leave a Comment

@Temporal annotation in JPA implementation can only be used with the fields and property get methods. Also, this annotation can be specified for the persistent fields or properties java.util.Data or java.util.Calendar. This annotation is available since the release of JPA 1.0. @Temporal solves the one of the major issue of converting the date and time …

Category: Java EETag: JPA, JPA 2 Tutorials

JPA Vs Hibernate

December 29, 2013 //  by Krishna Srinivasan//  Leave a Comment

I have come across this question from many of our readers and who ever working on the hibernate framework : What is the difference between Java Persistence API (JPA) and Hibernate ORM Framework. This post simply answer to those who are confusing with JPA and Hibernate difference. JPA and Hibernate Difference JPA is a specification for …

Category: Hibernate, JavaTag: Hibernate 4 Tutorials, JPA 2 Tutorials

JPA 2 Tutorials

December 28, 2013 //  by Krishna Srinivasan//  Leave a Comment

Java Persistance API (JPA) is the object relational mapping (ORM) specification for Java EE applications. JPA 2 is the second major release for the JPA framework with lot of interesting features. Many of the features introduced with this release are already supported by the many of the framework vendors like Hibernate, EclipseLink, etc. This JPA 2 …

Category: TutorialsTag: JPA 2 Tutorials

JPA 2 Criteria API

December 28, 2013 //  by Krishna Srinivasan//  Leave a Comment

One of the important feature in JPA 2.0 is using the Criteria API for forming the SQL queries. If you would have worked with the JPA 1.0 version, you must be familiar with the Java Persistence Query Language (JQL) which is similar to writing the SQL queries. This approach is good for the developers who are …

Category: Java EETag: Hibernate 4 Tutorials, JPA 2 Tutorials

TypedQuery in JPA 2

December 28, 2013 //  by Krishna Srinivasan//  Leave a Comment

One of the new feature introduced in JPA 2.0 is using the TypedQuery interface for building the query. This can be used with the CriteriaBuilder in JPA 2. As the name itself specifies, the main purpose of using the TypedQuery would be to narrow the result type and eliminate the need for type casting after …

Category: Java EETag: JPA 2 Tutorials

How To Create EntityManagerFactory in JPA

December 28, 2013 //  by Krishna Srinivasan//  Leave a Comment

This tutorial explains how to create EntityManagerFactory in your JPA application when you are writing your first JPA programming. It is the standard way of creating the factory if you use the JPA specification. Normally there are two ways to create the factory, one is through the configuration file persistence.xml and another one is through the …

Category: HibernateTag: Hibernate 4 Tutorials, JPA 2 Tutorials

JPA EntityManagerFactory Vs Hibernate’s SessionFactory

December 28, 2013 //  by Krishna Srinivasan//  Leave a Comment

If you are using the JPA’s standard specification implementation (Read : Introduction to JPA), then you would use EntityManagerFactory for opening the session. But, if you are using the hibernate implementation, you have hibernate specific SessionFactory for managing the sessions. Here there is lot of confusion between developers like which one is the best approach. …

Category: HibernateTag: Hibernate 4 Tutorials, JPA 2 Tutorials

JPA 2 MetaModel Generator using Ant

December 27, 2013 //  by Krishna Srinivasan//  Leave a Comment

In my previous article I have explained how to generate metamodel using your Eclipse IDE. However, in most scenarios you will have to create from your build scripts. This tutorial explains how to add this option in your ant script. For the detailed explanation on project example code, please refer the previous post. Here I …

Category: HibernateTag: Apache Ant, Hibernate 4 Tutorials, JPA 2 Tutorials

  • Go to page 1
  • Go to page 2
  • Go to Next Page »

Primary Sidebar

Follow Us

  • Facebook
  • Pinterest

FEATURED TUTORIALS

New Features in Spring Boot 1.4

Difference Between @RequestParam and @PathVariable in Spring MVC

What is new in Java 6.0 Collections API?

The Java 6.0 Compiler API

Introductiion to Jakarta Struts

What’s new in Struts 2.0? – Struts 2.0 Framework

JavaBeat

Copyright © by JavaBeat · All rights reserved
Privacy Policy | Contact