Emmanuel Hugonnet's Library tagged → View Popular
Antonio Goncalves' Website - TestingJPA
This tutorial shows you how to run and unit test a simple JPA Entity with Eclipse Link, Maven, JUnit 4 and DbUnit. It uses MySQL 5 to run in production mode and Derby embedded for testing. This tutorial assumes that you are familiar with Maven, JPA and JUnit.
jpaquerytool: JPA Query Tool [JQT]
JQT is a query editor for Java Persistence API. The project's main mission is to create a JPA implementation independent tool that can be used to browse pertsistence unit entities and properties, edit and run queries in a user friendly editor, browse queries results, persist and remove objects using visual editors, and provide an extensible architecture to help JPA developers add more functions. JQT parses persistence units located in its classpath, creating a entity metadata using a simple plug-in architecture to support multiple JPA implementations. Current version has support to latest versions of Hibernate Entity Manager, TopLink Essentials and OpenJPA as JPA implementations.
Basic Java Persistence API Best Practices
The Java Persistence API (JPA), which is part of the Enterprise JavaBeans (EJB) 3.0 spec and is now the standard API for persistence and object/relational mapping for the Java EE platform, provides several advantages to Java developers for data-binding purposes. First, it provides a common API for persistence in both the standard and enterprise Java worlds. Second, the JPA provides a standard API that can be used for multiple different data stores. Third, JPA provides object-relational mapping technology that can be applied in the same manner to these various contexts (standard Java, enterprise Java, and various databases).
Primary and secondary table with JPA
It‘s the third time I‘ve been asked if in JPA you can persist the attributes of your entity in several tables. The answer is yes. It has a performance impact (each simple query will use joins) but it can be very helpful when you need to map your objects into an existing database.
-
It‘s the third time I‘ve been asked if in JPA you can persist the attributes of your entity in several tables. The answer is yes. It has a performance impact (each simple query will use joins) but it can be very helpful when you need to map your objects into an existing database.
Gunnar Hillert's Blog: Converting Daos from Hibernate to JPA
The actual conversion from pure Hibernate to JPA was quite straight forward. I was struggling a bit with the Spring configuration of the entityManagerFactory but got it to work eventually.
How to Get the Best Performance Out of a Java Persistence Implementation : Enterprise Tech Tips
This tip discusses how to tune the Java Persistence implementation in GlassFish called Toplink Essentials.
Combining JavaServer Faces Technology, Spring, and the Java Persistence API : Enterprise Tech Tips
An earlier Tech Tip, Using Java Persistence With JSF Technology examined a sample application that uses JPA with the JSF framework. This tip examines a sample application that uses JSFtechnology, the JPA, and the Spring 2.0 framework.
Maven Related Content - RodsWiki
JSF Maven Archetype
JSF Spring Maven Archetype
JPA Maven Archetype
JPA Spring Maven Archetype
Understanding the Java Persistence API, Part 2: Relationships the JPA way - Java World
Handle data relationships with object-oriented grace
In this second half of Understanding JPA, you will learn how to use the Java Persistence API and Java 5 annotations to handle data relationships in an object-oriented manner.
Understanding the Java Persistence API, Part 1 - Java World
Build a wall between data persistence and your Java code
In this article, you will see how elegantly data persistence can be handled in an object-oriented manner just with the help of JPA annotations.
Adopting a Java Persistence Framework: Which, When, and What?
Let's begin with the following frameworks that are best known in the Java persistence landscape.
* Entity Enterprise Java Beans
* Java Persistence API
* Hibernate
* TopLink
Let me discuss these frameworks in more detail.
Unit test JPA Entities with in-memory database
So, in this how-to we will set up a unit-tests dedicated persistence unit and use HSQLDB as in-memory database for unit tests.
Overview - Taylor
Taylor consists of a set of Eclipse plugins for simplified UML modeling and the generation of JEE code : EJB3 entity and session, Portlets, and JMS business processes. It leverages many other open-source tools instead of reinventing the wheel.
10 Tips on JPA Domain Modelling
This post is a collection of tips on what I think is good advice, when domain modelling in Java with JPA as ORM mapping technology.
Architecture des S.I.: Tutorial Etape 1 : Réalisation d’une application Web Ajax et JPA
Dans ce tutorial nous allons décrire les mécanismes permettant de construire une application Web qui utilise la Java Persistence API (JPA) qui est un des éléments constitutif des EJB 3.0.
Generate JPA (or GORM) classes from your database for Java and Grails
Whether you start with the database or start with code, no one wants to do the other one. Today Dave and I are releasing a command-line utility that will handle the case where you start with the database and want to use JPA to access it.
Miles to go ...: Dynamic Data in jMaki Widgets Using JPA
jMaki provides a rich set of data widgets that can be embedded in a web application. This blog explains the steps to create such a Web application, deployed on GlassFish V2, that contains a jMaki-wrapped Yahoo Data Table widget pulling data from JavaDB.
Enabling JMX Monitoring on Hibernate v3 and Ehcache 1.3.0 on "SimpleJpaHibernateApp"
1. Configuring Hibernate to use Ehcache 1.3.0
2. Configuring Hibernate to enable JMX monitoring on Hibernate and Ehcache
3. Configuring the sample to use Ehcache 1.3.0
4. Configuring the sample to enable JMX monitoring on Hibernate and Ehcache
Sample Application using JSF, Seam, and Java Persistence APIs on Glassfish
This Sample Store Catalog app demonstrates the usage of JavaServer Faces, a Catalog Stateful Session Bean, the Java Persistence APIs, and Seam to implement pagination of data sets.
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in jpa
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
