Making postgresql connection in Java

Hi all, In my java file in Mendix 4.7.2 this simple sql connection works fine; however in 5.1.1 it gives me an error "com.mendix.core.CoreRuntimeException: java.sql.SQLException: No suitable driver found for jdbc:postgresql://localhost:5432/test" Code: String url = "jdbc:postgresql://localhost:5432/test"; Connection conn = DriverManager.getConnection(url, "", ""); I tought it might be that Mendix 5.1.1 is using Java 7 and it needs newer postgresql driver, so I downloaded the latest jar and put it into userlib folder. Sadly, it did no work. Did anyone experience that in Mendix 5? Thanks!
0 answers