Category Archives: Hibernate

Simpler JPA with Spring Data-JPA

How to configure your Spring application with Simple CRUD configuration with Spring Data-JPA. 1. Add Spring Data-JPA to project configuration. In your Maven pom.xml file <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-jpa</artifactId> <version>1.2.0.RELEASE</version> </dependency> 2. Configure JPA Entity … @Entity public class Product { … Continue reading

Posted in Hibernate, JPA, Spring, Spring Data, Spring Framework | Tagged , , , , , , | 12 Comments

Annotation Reference for Spring Projects

Annotations are available for Spring and Java projects. I was unsuccessful in finding a single consolidated set of the annotations. So, I thought “What a great gap to fill.” However, what I thought would be a fairly simple endeavor, turned … Continue reading

Posted in Annotations, AOP, Hibernate, Java, JMX, JPA, JUnit, REST, SOAP, Spring, Spring AOP, Spring Batch, Spring Framework, Spring Integration, Spring MVC, Spring Roo, Spring Security, Web Flow, Web Services | Tagged , , , , , , , , , , , , , , | 9 Comments

Using Spring 3.0 Custom Type Converter

The Trouble with Strings Data entering or leaving our application is frequently in string format (i.e. XML). As a developer, I would like a way to register custom data type converters for my business entities. Custom business data types might … Continue reading

Posted in Hibernate, JodaTime, JPA, Roo, Spring | Tagged , , , , , , , , , | 5 Comments

View Hibernate SQL with Data Values with Elvyx

Want to see SQL with values in Hibernate? One of the early problems I had to work on in a Spring application was with Hibernate. Since I was not sure what SQL was being generated by Hibernate, I turned on … Continue reading

Posted in Hibernate, Log4J, Logging, SLF4J, Spring, Spring Framework | Tagged , , , , , , , | Leave a comment