We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is because at PostgreSQLBackendImpl.java PostgreSQLCache cache is initialized to null upon declaration:
PostgreSQLBackendImpl.java
PostgreSQLCache cache
https://github.com/telefonicaid/fiware-cygnus/blob/master/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/postgresql/PostgreSQLBackendImpl.java#L45
Then, only if enable_cache is set to true, cache is initialized with a PostgreSQLCache object:
enable_cache
true
cache
PostgreSQLCache
https://github.com/telefonicaid/fiware-cygnus/blob/master/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/postgresql/PostgreSQLBackendImpl.java#L58
If not, the data insertion fails when checking if the schema is in the cache:
https://github.com/telefonicaid/fiware-cygnus/blob/master/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/postgresql/PostgreSQLBackendImpl.java#L86
The text was updated successfully, but these errors were encountered:
This issue remains unfixed.
Sorry, something went wrong.
No branches or pull requests
This is because at
PostgreSQLBackendImpl.java
PostgreSQLCache cache
is initialized to null upon declaration:https://github.com/telefonicaid/fiware-cygnus/blob/master/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/postgresql/PostgreSQLBackendImpl.java#L45
Then, only if
enable_cache
is set totrue
,cache
is initialized with aPostgreSQLCache
object:https://github.com/telefonicaid/fiware-cygnus/blob/master/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/postgresql/PostgreSQLBackendImpl.java#L58
If not, the data insertion fails when checking if the schema is in the cache:
https://github.com/telefonicaid/fiware-cygnus/blob/master/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/postgresql/PostgreSQLBackendImpl.java#L86
The text was updated successfully, but these errors were encountered: