Using sonarqube with apache derby - sonarqube

I am planning to use sonarqube. I have successfully installed sonarqube. AT the moment i am using the embedded h2 database which we shall only use for evaluation purpose. I went through the documentations and found out that sonarqube support MS SQL, MySQL, Oracle and PostgreSql. I was wondering if it possible to setup sonarqube with Apache Derby? If yes then can you please tell me how to do that?

Apache Derby used to be Sonar's default embedded database and was recently replaced by H2.
Is there are reason to favour Derby? I'm personally a big big fan of H2. In practice, you are best advised to use something like MySQL for non-trivial Sonar installations.

As you perfectly read on the requirements page, Derby is not supported.

Related

Oracle19c with AIX server, JDK7

Our application is using JDK7, websphere and is hosted on AIX box.
Recently we upgraded to oracle 19c from 12c. After this, application server does not start.
We do not see any error in startup logs. All application modules do not load, hence server does not come up.
We tried commenting all unnecessary modules in ILSStartupDef.xml, but same issue.
JDBC jar that we are using is ojdbc7-12.1.0.2.0-p0.jar.
Can someone please help ? Any config changes that we may be missing ? We dont want to upgrade to java8 unless its absolutely necessary.
Can you confirm that the database connexion test on the console is working properly ?
Note : Upgrading to Java 8 can be challenging, but Java 7 is no more supported.
Based on this document from IBM :
https://www.ibm.com/support/pages/websphere-application-server-support-policy-jdbc-databases-and-drivers
That being said, yes we do support Oracle 18C and 19C in WebSphere Application Server 8.5.5.X and V9.0.x but you must aware of this following.
We dont test WebSphere Application Server with each and every release of Oracle database. Please make sure you do the test before moving to production.
I believe the oracle 18C or later driver supports java 8 or later release only, if so please make sure WAS java level is also java 8. Java 8 is supported in 8.5.5.9 or later release.
If you ever see this issue, please consider upgrading WAS and do the test again. This issue is fixed in 8.5.5.13 or later release.
Good Luck
From Oracle perspective, please check this post :
Oracle 19c compatibility with jdk7
According to the Oracle JDBC FAQ (Question "What are the Oracle JDBC releases Vs JDK versions?"), only the Java versions you listed (Java 8 to 11) are supported for Oracle 19c.
I would advise to do the assessment for migrating to Java 8, using Transformation Advisor.
Good Luck
If you have upgraded the database server version to 19c then, it is recommended to upgrade the JDBC driver to the same version. So, you should use 19c JDBC driver.
19c JDBC driver requires JDK8 or JDK11. So, it is time to upgrade the JDK version as well as the JDBC driver as well.

Does Javers support DB2 and DB2/400?

In release 3.7.8, it was stated that the support was added for DB2 and DB2/400. However, in 3.14.0, it was stated that the experimental support was discontinued.
Going through the API, it was noted that there's no dialect for DB2. As such, I guess the support for DB2 was removed.
I would like to find out whether DB2 support is still in the plan for Javers or abandoned?
Thanks.
We have abandoned support for DB2 database, as we can't find a way how to run integration tests for it.

Embed database in spring project with hibernate

In my previous spring projects, I always use hibernate+postgresql to store the data. I rencently start to use spring-boot, and I am looking for a database system which allow me embed it in my project, without be required the installation of a external DBMS.
I try use SQLite, but in my searches I found some afirmations Hibernate isn't compatible with SQLite.
Anyone knows if this is possible and could point me a solution?
We've successfuly used HSQLDB with Hibernate for ages.
This is actually super cool for sales, you can demonstrate a working application on (potential) customers machine with the embedded HSQLDB database. And still be able to switch to "the real thing" later on.
See also this:
Does Hibernate Fully Support SQLite
and this:
https://code.google.com/p/hibernate-sqlite/

Configuring Analyzer

I just installed SonarQube to try it out and am trying to setup the Analyzer. Since I just want to trial it, I don't want to setup a separate database. Can I use the embedded database for the Analyzer as well? If so, why is there nothing in the docs around derby in configuring sonar-runner.properties. If I do not configure a database, in sonar-runner.properties does it just default to use the embedded database for Sonar Runner?
By default and in absence of configuration, both the server and runner use a H2 database. While this is very handy for evaluation and will work flawlessly, using a dedicated database is highly recommended on the longer term (for both stability, performance and reliability).

WebLogic and Top Link confusion

I'm trying to install Oracle WebLogic Server, then when I look for the generic version,
TopLink comes up!
What is the deal ? I dont need to integrate my server with TopLink, but I have to if I want the generic version!
Thanks,
Oracle TopLink is an implementation of the Java EE standard for persistence, called "JPA". In fact, the open source version of TopLink is called EcplipseLink, and that is the Reference Implementation for the JPA standard.
Oracle WebLogic uses Oracle TopLink internally to provide its JPA support. For example, Entity EJBs in WebLogic use Toplink for their Object-Relational Mapping (basically, moving the data back and forth from a database to WebLogic). Parts of TopLink are also used for Object-to-XML mapping.
Hope that helps :)
For the sake of full disclosure, I work at Oracle. The opinions and views expressed in this post are my own, and do not necessarily reflect the opinions or views of my employer.
Are you trying the "Oracle WebLogic Server 11gR1 (10.3.5) + Coherence + OEPE - Package Installer"
Try the "Oracle WebLogic Server 11gR1 (10.3.5) ZIP Distribution" from http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html

Resources