Tag: JPA
-
JavaFX 2 with JPA 2 and Drag and Drop – Part 2
In the first part of this series I gave an over view of the project and how to install and run it. Now I’ll cover the JPA aspects of the project.
-
JavaFX 2 with JPA 2 and Drag and Drop – Part 1
After a bit of a break away doing other things I’m back on a project that uses JavaFX 2. So far this project hasn’t required much in the way of persistence either for settings or data but a new feature I’m working on makes use of a database. I use JPA 2 for web based…
-
Simple CRUD Example – Part 2
In the last article I showed you how to create a Debry database and set up a persistence unit. In this article I’ll create a very basic CRUD application. Using JSF 2, JPA 2 and EJB 3.1.
-
Simple CRUD Example – Part 1
If you have ever developed a web application you’ll know that most of the code you write is not clever business logic that’s doing complicated calculations but actually fairly simple CRUD (Create, Reuse/Retrieve, Update, Delete) code. Since this is the type of code that gets written all the time it makes sense to know it…
-
JPA2 Serialized Blob Never Really Null
This one got me late on a Friday (actually after work so I was doubly frustrated) and is to do with how JPA2 persists attributes of items that are not of basic Java types and which are also not entities. In order words attributes that implement Serializable and get shoved into BLOB fields.
-
JPA 2 Eager Fetching on a Collection
Quick little JPA 2 issue that I faced today that I’m sure many other people have run into especially when starting out. The problem was and error message such as the one shown below when attempting to display the contents of a Set of other entities in a JSF page