I have a Maven console application using JDBC and FirebirdSQL and Java 8, according to the specification, there is not need to add the class registration anymore, so the line Class.forName("org.firebirdsql.jdbc.FBDriver");
is commented, but when I run the Project I get the error: No suitable driver found for jdbc:firebirdsql://localhost/database
, but if a I uncomment the line it Works fine.
The curious thing if that I use a simple console Project w/o using Maven it works with the line commented as the specification says, so the question is: is there a way to getting working with Maven too commenting the line of the class registration?