This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Retrieve full string from oracle through jdbc

 
Ripul Chhabra
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm facing problem while i'm retrieving string from oracle database.

By using resultset.getString("Address") it is retrieving only only first word of the resultset.

eg If oracle is having "Sectot-20, Noida, India" as "Address". It is only returing Sector-20 while it should return "Sector-20, Noida, India".

Kindly help me as soon as possible because i do require it in my project.

With Regards,
Ripul Chhabar
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That method returns everything in the field called "Address", so it should work Can you show us your code, and perhaps the DDL for the table?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic