Category Archives: Spring

Spring Boot: Connect to OrientDB

JDBC Driver <dependency> <groupId>com.orientechnologies</groupId> <artifactId>orientdb-jdbc</artifactId> <version>2.2.22</version>/*Version OrientDB*/ </dependency> Properties info = new Properties(); info.put(“user”, “root”); info.put(“password”, “root”); Connection conn = (OrientJdbcConnection) DriverManager.getConnection(“jdbc:orient:remote:localhost/ERPDB”, info);//ERPDB => Database Name Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(“SELECT Name,Address,Gender FROM Student”); rs.next(); Advertisements

Posted in Spring | Leave a comment

First Started With Spring

Some marchine need to logback JAR add to class path https://logback.qos.ch/download.html  add this file logback-access-1.2.3.jar logback-access-1.2.3-sources.jar logback-core-1.2.3.jar  

Posted in Spring | Leave a comment