Closed smotti closed 7 years ago
smotti, I have not gotten a chance to investigate this yet, but I am pretty sure you have run into a "defect" in the command line tool, since it does not allow specifying a null value.
If you look at the source for the command line tool, you will see that it simply calls the method: com.acciente.oacc.sql.internal.SQLAccessControlSystemInitializer.initializeOACC(Connection connection, String dbSchema, String oaccRootPwd)
. Until we fix the command line tool for this, as a workaround, I suggest that you write a simple Java program with a main()
to call the above method with your database connection, and where you can pass null
to the dbSchema arg.
adinath-raveendraraj, that is what i did ;),
The getting started tutorial mentions that OACC needs to be initialized with
SQLAccessControlSystemInitializer
. Though this fails for SQLite because it has no concept of a database schema. And under RDBMS specific-notes, it says to passnull
forschemaName
but there's no way to do so via the command line. Even if-dbschema
is not providedSQLAccessControlSystemInitializer
defaults toTEST_OACC
(see here).For
-dbschema=""
:For
-dbschema=
: