JPA

Hi

anyone has experience with writing and installing a transaction interceptor with jboss AOP?

we have an EJB3 application running on jboss 4.2 and we need to do something before and after a transaction.

 

Thank you for any help.

 

 

shalom 01/12/2009 - 11:52

Using JPA with Scala is problematic, as this article describes: http://www.hars.de/2009/03/jpa-with-scala.html

 

The main obstacle is that Scala 2.7.x does not support nested annotations. This has been fixed in 2.8 trunk several months ago, but 2.8 is still not released.

 

See also this: http://faler.wordpress.com/2009/08/10/scala-jpa-some-gotchas-to-be-aware...

ittayd 19/11/2009 - 08:39

http://code.google.com/p/liquidform/ is a libray that adds a DSL on top of JPA. In particular, the DSL allows for queries to use domain objects in a typesafe manner. for example:

List people = em.createQuery(

"SELECT FROM Person p WHERE p.surname LIKE 'Smith%'")

ittayd 27/09/2009 - 09:34
JPA

This blog explores why we would even need such patterns and put these patterns and the DAO pattern into the broader context of JPA application architecture

 

 

yanai 10/08/2009 - 19:54

A series of blogs about the JPA implementation patterns - http://blog.xebia.com/2009/07/13/jpa-implementation-patterns-wrap-up/#mo...

yanai 26/07/2009 - 06:24

The public draft of the JPA 2.0 specification is already out and includes a much-awaited feature: an API that lets you create queries by calling methods of Java objects, instead of by embedding JPA-QL into strings that are parsed by the JPA implementation.

yanai 02/04/2009 - 21:45

This article is a performance comparison among the 4 most well known Java Persistence API (JPA) implementations: Toplink Essentials, EclipseLink, Hibernate and OpenJPA.

yanai 20/01/2009 - 21:33

Gavin King suggests a different approach to the JPA EG with regard to the new Criteria api. This approach comes in three layers:

  • A metamodel API for JPA
  • A query API where types and attributes are specified in terms of metamodel API objects
  • Support for third-party tooling which would generate a typesafe metamodel from the entity classes

 

yanai 16/12/2008 - 23:40

PathProxy is a design pattern for persisting complex relationships without cluttering up your database. In this article JavaWorld contributor Matthew Tyson introduces his PathProxy pattern and walks you through an example application implementation based on Spring, JSF, and JPA/Hibernate.

yanai 12/07/2008 - 13:40
Syndicate content