cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
529
Views
0
Helpful
1
Replies

java.sql.timestamp variable type not available

raynorris
Level 1
Level 1

Problem Details: I am trying to return a value from a DB" database which

the DB Get step believes is a java.sql.timestamp type.

I have tried creating a variable of this type; there are none as default in the

drop down list and as per the script editor getting started guide, I have tried

entering the fully qualified java type (java.sql.timestamp) and the script

editor just rejects it, yet for example, if i enter java.math.BigDecimal, it

automatically converts the type to "BigDecimal" as soon as i move

away from this.

I see from documentation for CRS 2.2, this variable type was available. Has it been removed? If so, is there another way around this?

1 Reply 1

raynorris
Level 1
Level 1

The problem was that java is case sensitive and if I enter java.sql.Timestamp (capital T) instead of java.sql.timestamp, it works fine.

Always a simple answer!