Skip to main content

Blog Archive for bleonard during December 2006

This past Thursday night Sun sponsored the CT JUG's holiday party. We were lucky to get guest speaker Angela Caicedo all the way from Sydney Australia. Angela "stopped by" on her from the Austin JUG to JavaPolis to talk about Sun SPOTs. JUG leader Ryan Cuprak did a great job of getting the word out to the robotics community as we had attendees drive over 90 miles to attend her talk. I...
When you're adding a table record and need a primary key, you can choose to generate one yourself or let the Java Persistence API do that for you. In this entry, I'm going to review a couple of the alternatives the JPA provides you for creating primary keys. The JPA Options If you want JPA to generate a primary key for you, you just need to add an @GeneratedValue along with the @Id annotation...