Categories
Search
My Tweets
- @misterlosso I have accepted a position already. 1 week ago
- Spring in Action 4th Ed, Spring in Practice & Spring Integration in Action 50% today use code dotd0508cc http://t.co/kjcQ15rDM4 1 week ago
- @bytor99999 No, the site is redirected, pom file gend as artifactory page, causing mvn builds to fail. 1 week ago
- Spring Dep Mgmt Repo - use http://t.co/xFJVnMHTpO | milestone | snapshot. If using http://t.co/Ns8nUF8cqV, you'll get repo... 1 week ago
- Accepted Integration Architect position with Cigna. Can't wait to get started. 2 weeks ago
Tag Archives: Spring Data
Database Configuration with Spring 3.2 Environment Profiles
Database Configuration with Spring 3.2 Environment Profiles This is a followup to my previous blog Spring 3.1 Environment Profiles Let’s demonstrate how to configure an application to use different databases based on configuration. The code below is using Spring JavaConfig, … Continue reading
Posted in Annotations, Java, JUnit, Spring, Spring Data, Testing
Tagged apache derby, autowired, dependency injection, derby, di, Environment, h2, h2 database, h2database, Hibernate, hsql, JPA, junit, mysql, oracle, ORM, postgres, postgresql, profile, Profiles, Spring, spring 3.2, Spring Data, Spring Data JPA, spring framework, Testing, unit testing
1 Comment
Rocket to the Cloud Fast with Roo
Want to build a Spring 3 application FAST and run it on the Cloud? It is incredibly easy to do with Spring Roo and CloudFoundry! This post on using Postgres on CloudFoundry helped me get started, however I tried using … Continue reading
Posted in Cloud, CloudFoundry, Java, Roo, Spring, Spring Data, Spring Roo
Tagged Cloud Foundry, CloudFoundry, JPA, maven, roo, Spring, Spring Data, Spring Data JPA, Spring Roo
Leave a comment
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 Hibernate, JPA, ORM, Persistence, Spring Data, spring framework, SpringData
12 Comments