File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import static org.junit.jupiter.api.Assertions.*
99
1010public class JDBCGroovyTest {
1111 @Test
12- public void example () throws SQLException {
12+ void example () throws SQLException {
1313 Connection conn = DriverManager . getConnection(" jdbc:postgresql://localhost:5432/pgvector_java_test" )
1414
1515 Statement setupStmt = conn. createStatement()
Original file line number Diff line number Diff line change 1616
1717public class HibernateTest {
1818 @ Test
19- public void example () throws SQLException {
19+ void example () throws SQLException {
2020 // disable logging
2121 System .setProperty ("org.jboss.logging.provider" , "slf4j" );
2222
Original file line number Diff line number Diff line change 1111
1212public class JDBCJavaTest {
1313 @ Test
14- public void readText () throws SQLException {
14+ void readText () throws SQLException {
1515 example (false );
1616 }
1717
1818 @ Test
19- public void readBinary () throws SQLException {
19+ void readBinary () throws SQLException {
2020 example (true );
2121 }
2222
23- private void example (boolean read_binary ) throws SQLException {
23+ void example (boolean read_binary ) throws SQLException {
2424 Connection conn = DriverManager .getConnection ("jdbc:postgresql://localhost:5432/pgvector_java_test" );
2525 if (read_binary ) {
2626 conn .unwrap (PGConnection .class ).setPrepareThreshold (-1 );
Original file line number Diff line number Diff line change 1414
1515public class SpringJDBCTest {
1616 @ Test
17- public void example () throws SQLException {
17+ void example () throws SQLException {
1818 DriverManagerDataSource dataSource = new DriverManagerDataSource ();
1919 dataSource .setUrl ("jdbc:postgresql://localhost:5432/pgvector_java_test" );
2020
You can’t perform that action at this time.
0 commit comments