Hi Devs,

We've been struggling with a problem for a while now: how do you determine the
output of a SQL query without actually running it?

Turns out that the JDBC spec of PreparedStatement has a getMetaData() method
that allows you to do just that.

I can't for the life of me think of a reason why this has managed to escape my
attention, but it's simply stupid. It even seems to handle parameters etc
correctly.

Do me a big favor folks, and give the latest trunk a try in which I made a
patch for PDI-481 in revision 5827.

Thanks,

Matt
____________________________________________
Matt Casters
Chief Data Integration - Kettle founder
Pentaho, Open Source Business Intelligence
http://www.pentaho.org -- mcasters (AT) pentaho (DOT) org
Tel. +32 (0) 486 97 29 37

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) g...oups (DOT) com
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
-~----------~----~----~----~------~----~------~--~---