Quote:
The term "SELECT statement of the cursor" is used in order to specify the authorization rules. The SELECT statement of the cursor is one of the following:
* The prepared select-statement identified by the statement-name
* The specified select-statement.
For each table or view identified (directly or using an alias) in the SELECT statement of the cursor, the privileges held by the authorization ID of the statement must include at least one of the following:
Why do I get the feeling that you program simply does not have the rights to create a database? This might be a user rights issue.
Can you use the SchemaExport class to create database tables? Give it a try and see if you' don't get the same SQLException.