This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Rajesh, Your choices are: 1) Use a different driver - probably not practical for you 2) Return the column twice in the select clause - this is inefficient 3) Try using getString("name") - probably has same issue 4) Store as local variable as Sunil suggested
I recommend going with choice #4. It protects you against any other driver oddities that may arise.
What is the reason you don't want a local variable? JDBC is very closely tied to Java anyway.