This depends on a lot of things. Can you give more detail on the platform, processors and so on? DB local or remote? Anything else changed (like changed JDBC drivers)? That might help folks.
I've been doing some more research on this, I think the problem is with Microsoft's JDBC Driver.
It looks like their jdbc driver is really really slow on jdk1.4.
I went to their site for this, it looks like they don't 'officially' support 1.4 for their jdbc, even though it runs without any problems (albeit slowly).
ok I really found my answer now.
this data function runs much slower on jdk1.4
Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
we were calling that alot. Anyway, changing the code so we don't call that function so often made a huge difference.
I guess jre1.3.1 was more forgiving.