The ConnectionProfile class manages local database information. You must set its properties before creating a local database.
By default, the database class name is generated as "packageName"+"DB".
ConnectionProfile profile = <PkgName>DB.getConnectionProfile(); profile.setPageSize( 4*1024 ); profile.setEncryptionKey(”Your key”);