Persistence

  • submit to reddit

SQL:2003 window functions in jOOQ

I have become a very dedicated user of Stackoverflow, where the most difficult questions find qualified answers. I also love using it as a means of...

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

Database Interaction with DAO and DTO Design Patterns

DAO means Data Access Object and is an industry design pattern. In this article, I will discuss What is a DAO and how to create a DAO. I will also...

10 replies - 25848 views - 05/12/11 by Sandeep Bhandari in Articles

Basic Java CRUD Operations with MongoDB

n this post I’d like to show how to perform basic CRUD operations against a MongoDB database using the Java driver. For this post, lets assume that we...

1 replies - 9933 views - 05/10/11 by David Salter in Articles

Database SQL Excercises

Every developer should have basic knowledge of database and here are some of the exercises that I recently wrote for beginners. One can use them to have a...

5 replies - 4616 views - 05/07/11 by Sandeep Bhandari in Articles

Reasons for Slow Database Performance

Usually there are scenarios where the application does not perform as expected. A simple web page which fetches data from database and displays optimizes...

3 replies - 7948 views - 04/29/11 by Sandeep Bhandari in Articles

Role Classes through the Prism of 6

Probably my biggest gripe about using JPA (Hibernate) is the poor support for interfaces. A lot of people think that the ‘interfaces are a drag in ORM‘ ...

0 replies - 2895 views - 04/26/11 by Rob Williams in Articles

SqlLite performance in production code

SqlLite is a cool relational database engine that runs embedded in code, without the need to use a server. It is usually used for unit testing, but it could be...

5 replies - 4736 views - 04/26/11 by Ricci Gian Maria in Articles

How to use hbm2cfgxml to generate Hibernate JPA configuration file

Hibernate Tools are used as the basis for both Ant tasks and Eclipse plugins, both available from tools.hibernate.org. In this post, you can see a complete...

1 replies - 4691 views - 03/23/11 by Constantin Alin in Articles

Hello World with Java Architecture for XML Binding

JAXB (Java Architecture for XML Binding) provides functionality to read or write XML from a file. Since XML is used everywhere in Java, this is useful. Here...

0 replies - 4861 views - 03/15/11 by Kushan Jayathilake in Articles

High Performance JPA with GlassFish and Coherence - Part 3

In this third part of my four part series I'll explain strategy number two of using Coherence with EclipseLink and GlassFish. This is all about using...

0 replies - 5340 views - 03/07/11 by Markus Eisele in Articles

High Performance JPA with GlassFish and Coherence - Part 2

In this second part of my four part series I'll explain strategy number one of using Coherence with EclipseLink and GlassFish.This describes the steps you...

0 replies - 6049 views - 02/16/11 by Markus Eisele in Articles

High performance JPA with GlassFish and Coherence - Part 1

Have you heard about Coherence before? Probably. It's one of those famous in-memory grid solutions promising awesome fast data access and unlimited space...

0 replies - 8962 views - 02/15/11 by Markus Eisele in Articles

Creating an Application using Spring Data with Redis as Datastore -- Part 1

In the first part of the series on Redis I talked about what is Redis datastore, data types supported by Redis and how you can get started with Redis.  In...

2 replies - 18699 views - 02/01/11 by Shekhar Gulati in Articles

Wild-Card (LIKE-clause) Searches are Slow. What to do?

Patient: "Doctor, doctor, it hurts when I do this."Doctor: "Then don't do that."I got an email with hundreds of words of content. This...

1 replies - 5290 views - 01/26/11 by Steven Lott in Articles

Deterring “ToMany” Relationships in JPA models

This article considers the issues of one to many relationships from the JPA model, and looks at an alternative strategy to provide more efficient and fine...

2 replies - 7567 views - 01/18/11 by Andy Gibson in Articles