header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
January 08, 2009, 11:56:54 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Clob to String in Groovy
Welcome, Guest. Please login or register.
January 08, 2009, 11:56:54 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Clob to String in Groovy
« previous next »
Pages: [1] Print
Author Topic: Clob to String in Groovy  (Read 390 times)
Jeremy
Newbie
*
Posts: 2


« on: April 15, 2008, 04:20:31 pm »

Hi,

I am trying to convert a clob from the database into a String so that I can assert against what was passed in. 

I am struggling trying to get this in to convert in Groovy.  Any ideas how I could accomplish this?

Thanks
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,666


« Reply #1 on: April 15, 2008, 09:03:04 pm »

Hi!

Hmm.. how are you getting the CLOB? Can you show the SQL query?

regards!

/Ole
eviware.com
Logged
Jeremy
Newbie
*
Posts: 2


« Reply #2 on: April 16, 2008, 10:53:14 pm »

I am getting the value with a simple query
SELECT LETTER FROM LETTER WHERE ID = '12345'

It is grabbing the Clob object.  I can do a count on this object and it returns the correct number associated with the stored text length.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header