Hi!
After migrate from 3.5 to 3.6, my SQL Datasources are not able to query H2. It says the tables are "not found". It works fine when using the same query in SQL Console.
The error:
class org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "EVENTS" not found; SQL statement: select count(id) as EVENTCOUNT from events; [42102-199]
DS json:
{
"dataSources":[
{
"xid":"DS_40b9a8a4-8206-428f-9c1b-8dac016196c0",
"name":"!!!Andre-SQL-EVENTCOUNT",
"enabled":true,
"type":"SQL",
"alarmLevels":{
"POLL_ABORTED":"URGENT",
"STATEMENT_EXCEPTION":"URGENT",
"DATA_SOURCE_EXCEPTION":"URGENT"
},
"purgeType":"YEARS",
"updatePeriods":1,
"updatePeriodType":"MINUTES",
"connectionUrl":"jdbc:h2:/opt/mango/databases/mah2",
"driverClassname":"org.h2.Driver",
"password":"",
"rowBasedQuery":false,
"selectStatement":"select count(id) as EVENTCOUNT from events;",
"username":"",
"quantize":false,
"useCron":false,
"editPermission":"ds-mngt",
"purgeOverride":false,
"purgePeriod":1
}
]
}
Thanks.