Archives

How to fix the Oracle error QSM-01041: materialized view, string, does not match with a measure in the query?

In this post, you’ll learn more about the Oracle ErrorQSM-01041: materialized view, string, does not match with a measure in the query with the details on why you receive this error and the possible solution to fix it. Oracle Error Description QSM-01041: materialized view, string, does not match with a measure in the query Reason for the Error QSM-01041: materialized view, string, does not match…

How to fix the Oracle error NNO-00615: disabling DEFAULT-FORWARDERS-ONLY mode?

In this post, you’ll learn more about the Oracle ErrorNNO-00615: disabling DEFAULT-FORWARDERS-ONLY mode with the details on why you receive this error and the possible solution to fix it. Oracle Error Description NNO-00615: disabling DEFAULT-FORWARDERS-ONLY mode Reason for the Error NNO-00615: disabling DEFAULT-FORWARDERS-ONLY mode Cause: An informational message written to the log file when the server disables DEFAULT-FORWARDERS-ONLY mode in response to a request from…

MariaDB Error 1131 – ER_PASSWORD_ANONYMOUS_USER

In this post, you’ll learn more about the MariaDB Error 1131 ER_PASSWORD_ANONYMOUS_USER with the details of the error message and why you receive this error Maria DB Error Description MariaDB Error 1131 – ER_PASSWORD_ANONYMOUS_USER with the sqlState 42000 Error Description for the MariaDB Error ER_PASSWORD_ANONYMOUS_USER You are using MariaDB as an anonymous user and anonymous users are not allowed to change passwords

Java – How to Check if a string is a valid number?

Problem statement You need to check if a input string contain a valid number or not. Solution Use the appropriate wrapper class for converting the string to numeric formats. For example Double to convert string to double as shown below. When the input is a invalid number , the NumberFormatException is caused which needs to be handled by the developers.