Archive for April, 2005

Differences in behaviour between Hibernate delete queries and the old way

Wednesday, April 20th, 2005

In Hibernate 2, you could sort-of do a bulk delete via the Session interface. In Hibernate 3, they have true bulk deletes, ala Section 3.11 of the EJB 3 Persistence API. However, they have some significant differences which people migrating to the new functionality need to be aware of.

(more…)

Tags:

Upgrading to Hibernate 3 – a war story

Tuesday, April 19th, 2005

I finally got a chance to try out upgrading to Hibernate 3 at work. It wasn’t the smoothest of rides, but I got there in the end.
(more…)

Tags:

How the new Hibernate bulk queries work

Friday, April 15th, 2005

When I gave my talk on Monday I’d sort of hurried over the new bulk queries in Hibernate, largely because I didn’t have much luck finding doco on them.

Now I know how they work.

(more…)

Tags:

Deleting code gives me a warm fuzzy feeling…

Friday, April 15th, 2005

I love it when I get to delete code. Deleting code, particularly dead code, is such a wonderfully therapeutic exercise. You should try it some time.

(more…)

Tags:

Contextual Sessions in Hibernate

Wednesday, April 13th, 2005

Somehow I missed this new feature in Hibernate 3.0
(more…)

Tags:

Granularity of types

Wednesday, April 13th, 2005

Elizabeth Keogh has been writing a couple of articles on naming of interfaces. In the process, she’s highlighted a more important issue: granularity of types.
(more…)

Tags:

New features of Hibernate 3.0

Monday, April 11th, 2005

I gave a talk at the AJUG-QLD tonight on the new features of Hibernate 3.0.
Here are the slides

(more…)

Tags:

Schiavo case was not about the “right to live”

Friday, April 1st, 2005

I’m sick of reading articles like this one in the NY Times about how the Schiavo case was about the “right to live” vs. the “right to die”. This, frankly, is BS. What this fight was about is the extent that power of attorney goes.

(more…)

Tags: , , ,