Skip to main content

Manfred Riem

I love working with a broad range of technologies. At work it is mostly JavaEE and JavaSE technologies, as a hobby I do some Java on devices.

 

mriem's blog

Joining FishCAT

Posted by mriem on August 21, 2008 at 5:00 PM PDT

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

I am one of the people selected for FishCAT, so let me know what some of the bugs are you think are irritating ;) Or what you think the new version of Glassfish should contain. Or if you already have played around with Glassfish V3 builds, just let me know what worked or did not work for you!

JPA Tip #1 - Native Queries

Posted by mriem on August 22, 2007 at 11:30 AM PDT

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

OK, native queries in JPA. Not really well documented. Of course I understand that we really should not be doing that, but hey there are times where it is just plain easier.

The following code snippet goes after an Oracle sequence and gets the value.

EntityManager em = this.getEntityManager();