Saturday, January 26, 2013

@SequenceGenerator revealed

The following trio of annotations is popular in JPA applications:
@Id

@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "customer_seq")

@SequenceGenerator(name = "customer_seq", sequenceName = "CUSTOMER_SEQ") 

Monday, January 21, 2013

Basic JPA mappings

    Sometimes, when I have to add a couple of mappings to the data model I have to spend a while to recall the correlation between JPA annotations and underlying database schema. I decided to create some kind of a cheat sheet with basic JPA mappings.

Saturday, January 19, 2013

JBoss 7.1.1, Eclipse Juno and Maven integration for blazing fast deployments

    Every time I want to gain some knowledge about new technology I create environment for that in order to touch the code. Such environment should respond very quickly for changes in the code so as I can see the effects immediately.

Every idea must evolve

    As you can see, the blog was created over a year ago. The time has passed, some ideas have evolved and now I feel that I have to stick more closely to the blog. I want to publish some useful pieces of information from various areas of Java and Java EE. I believe that it will be helpful for others an maybe saves someone's day.
Stay tuned and welcome to the Java world!