Persistence

  • submit to reddit

Coherence Event Processing by using Map Trigger Feature

 This article shows how to process Coherence events by using Map Triggers. Basically, Distributed Data Management in Oracle Coherence is suggested to look...

0 replies - 1860 views - 11/13/12 by Eren Avşaroğulları in Articles

Customizing Spring Data JPA Repository

Spring Data is a very convenient library. However, as the project as quite new, it is not well featured. By default, Spring Data JPA will provide...

0 replies - 6662 views - 09/26/12 by Boris Lam in Articles

Adding Hibernate Native SQL Features into Your Spring Data Repository

JPA provides @NamedNativeQuery for you to use native SQL. However, the usage is not so convenient, especially when you need to map multiple entities in...

0 replies - 3851 views - 09/25/12 by Boris Lam in Articles

Composite Keys: Connecting the Dots Between CQL3, Astyanax and Hector

I still don't know where I stand on the terminology debate, but I know things can get confusing if you are accessing your database from CQL as well as...

0 replies - 4293 views - 09/19/12 by Brian O' Neill in Articles

Lazy/Eager Loading Using Hibernate by Example

Today's post will focus on why and how we use the concepts known as LAZY and EAGER loading in an application and how to use Spring's hibernate...

1 replies - 10647 views - 09/02/12 by Dinuka Arseculeratne in Articles

JPQL - Pagination on Oracle Database with Hibernate

In your daily work, you rely on many different libraries, trusting they will serve you well, being perfect piece of code ... do you? ... really?! Then it's...

10 replies - 4991 views - 08/27/12 by Michal Jastak in Articles

All About Hibernate Second Level Cache

Recently I experimented with Hibernate Cache. In this post I would like to share my experience and point out some of the details of Hibernate Second Level...

0 replies - 6247 views - 08/23/12 by Manu PK in Articles

MySQL Bad Idea #384

MySQL is a database of compromise. Compromise between running a production-ready relational database and being popular with all sorts of hackers – mostly the...

1 replies - 3134 views - 08/17/12 by Lukas Eder in Articles

EasyCriteria 1.0 Released

EasyCriteria is an open source tool to make the JPA Criteria code for any kind of JPA implementation easier . EasyCriteria has 100% of coverage on its...

2 replies - 2144 views - 08/12/12 by Hebert Coelho D... in Articles

Speed Up with Fast Java and File Serialization

Since the first version of Java, day-by-day many developers have been trying to achieve at least as good of performance as in C/C++. JVM vendors are doing...

0 replies - 7294 views - 08/06/12 by Kuba Kubrynski in Articles

Connecting to SQL Server from Java over TCP/IP

Been a while since I did this; turns out it’s easy enough. First, you’ll need the current JDBC driver from Microsoft, which can be found here.  Add to...

1 replies - 3956 views - 07/17/12 by Dan Haywood in Articles

Auditing Entities With JPA Events

This article shows how you can leverage JPA Lifecycle Events to automate the filling in of audit information. The first example uses a base entity class...

0 replies - 4503 views - 05/09/12 by Andy Gibson in Articles

The Relational Belt and Suspenders

The most common approach to doing Java is with an ORM connecting to a relational database. So who is responsible for data...

2 replies - 2115 views - 02/21/12 by Rob Williams in Articles

Subtle SQL differences: Constraint names

The various SQL product vendors implement subtle differences in the way they interpret SQL. In this case, I’ve been examining the reuse of constraint...

0 replies - 2502 views - 12/13/11 by Lukas Eder in Articles

Development schema, production schema

Most of us separate development data from production data, physically or at least, logically (except maybe Chuck Norris (official website, no kidding!)). If...

0 replies - 2760 views - 11/19/11 by Lukas Eder in Articles