Tag Archives: JPA
YN
Yeah, I know, this isn’t rocket science. But it is rather nice 🙂 So, I’m working on this JEE project, backed by an Oracle database. Some of my work involves refactoring CMP 2.1 entities into JPA entities. Here I’m faced … Continue reading
Unit-testing time/timing dependent components
I’m often faced with developing components that are depending on time or timing, one way or the other. An example can be a query that returns all “active” rows, given current date/time and where the rows have effective and expiry … Continue reading
Implementing a simple database semaphore
In this article I will describe a simple technique that enables you to implement an “exclusive lock” in a distributed, even clustered, environment. The technique works with all major databases, and should work with any database that has a reasonable … Continue reading