Sunday, December 13, 2009

JPA connection Pooling


For JPA Connection Pooling use
-------------------------------------


Write the following statements on persistence.xml file

Tuesday, August 4, 2009

JPA Tools


JQT is a query editor for Java that supports multiple ORM APIs (Java Persistence API, Hibernate Annotations, and more to come...) The project's main mission is to create an ORM implementation independent tool that can be used to browse entities and properties published by a session factory, 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 developers add more functions. JQT parses entities located in its classpath, creating an entity metadata using a simple plug-in architecture to support multiple ORM APIs implementations. Current version has support to latest versions of plain Hibernate Annotations, Hibernate JPA Entity Manager, TopLink Essentials (JPA) and OpenJPA.

Sunday, August 2, 2009

Subversion Structure


Add a New Project - svn import

Subversion documentation suggests that you create a directory structure like the following
A root project directory contains three subdirectories, branches, tags, and trunk. Your files and directories are stored under the trunk directory.
Create the directories as described. Assuming the project directory is a subdirectory of the current directory, you would enter the following command