How to call Oracle stored procedures and functions with JPA and Hibernate

Introduction

This article is part of a series of posts related to calling various relational database systems stored procedures and database functions from Hibernate. The reason for writing this down is because there are many peculiarities related to the underlying JDBC driver support and not every JPA or Hibernate feature is supported on every relational database.

Continue reading “How to call Oracle stored procedures and functions with JPA and Hibernate”

Advertisements

Impressions from Voxxed Days Bucharest 2016

Voxxed Days came to Bucharest

Romania has around 70 000 IT professionals, so it was about time we got an event such as Voxxed Days Bucharest. If I am to choose a single word to describe this conference, then I’d go for passion. Without Andra and Alex Proca putting all the energy into this, we wouldn’t have had the opportunity to meet so many passionate developers.

I like conferences like Voxxed because they are targeted to local communities, and there was a fair number of Romanian and international speakers. Having Romanian speakers on stage (Eugen Paraschiv, Robert Munteanu, etc) can be an inspiration for other passionate developers that want to share their knowledge and skills.

I got the chance to meet Stephan Janssen and Mark Hazell who are the founders of Voxxed Days, Galder Zamarreño from Infinispan, Menno and Mihaela from bol.com, and many more.

The most entertaining presentation was given by Josh Long. There were so many people interested in his talk that we had to leave the doors open so that the ones who didn’t get a seat can watch his talk from the hallway.

My talk was about High-Performance JDBC, and I was impressed to see so many people interested in this topic.

Corneliu Creanga pointed out that MySQL can prefetch result-sets even when streaming data.

Thank you all for attending my talk, and I’m looking forward to seeing you next time, and you can also watch the High-Performance JDBC slides on Slideshare.

If you liked this article, you might want to subscribe to my newsletter too.

How to combine the Hibernate assigned generator with a sequence or an identity column

Introduction

The entity identifier can either be manually assigned, or it can be automatically generated by an identity column or a database sequence.

In this post, I’ll show you how you can mix the assigned generator with an identity column or a database sequence.

Continue reading “How to combine the Hibernate assigned generator with a sequence or an identity column”