diff --git b/TestJDBCBootCamp/.classpath a/TestJDBCBootCamp/.classpath new file mode 100644 index 0000000..ac9fdd0 --- /dev/null +++ a/TestJDBCBootCamp/.classpath @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git b/TestJDBCBootCamp/.project a/TestJDBCBootCamp/.project new file mode 100644 index 0000000..17f1e71 --- /dev/null +++ a/TestJDBCBootCamp/.project @@ -0,0 +1,31 @@ + + + TestJDBCBootCamp + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.jdt.core.javanature + org.eclipse.wst.jsdt.core.jsNature + + diff --git b/TestJDBCBootCamp/.settings/.jsdtscope a/TestJDBCBootCamp/.settings/.jsdtscope new file mode 100644 index 0000000..92e666d --- /dev/null +++ a/TestJDBCBootCamp/.settings/.jsdtscope @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git b/TestJDBCBootCamp/.settings/org.eclipse.jdt.core.prefs a/TestJDBCBootCamp/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..7adc0fb --- /dev/null +++ a/TestJDBCBootCamp/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,10 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 +org.eclipse.jdt.core.compiler.compliance=11 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=11 diff --git b/TestJDBCBootCamp/.settings/org.eclipse.wst.common.component a/TestJDBCBootCamp/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..1d60fc0 --- /dev/null +++ a/TestJDBCBootCamp/.settings/org.eclipse.wst.common.component @@ -0,0 +1,8 @@ + + + + + + + + diff --git b/TestJDBCBootCamp/.settings/org.eclipse.wst.common.project.facet.core.xml a/TestJDBCBootCamp/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..6c32454 --- /dev/null +++ a/TestJDBCBootCamp/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git b/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.container a/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ a/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git b/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.name a/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ a/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git b/TestJDBCBootCamp/WebContent/META-INF/MANIFEST.MF a/TestJDBCBootCamp/WebContent/META-INF/MANIFEST.MF new file mode 100644 index 0000000..5e94951 --- /dev/null +++ a/TestJDBCBootCamp/WebContent/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git b/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/Conectando.class a/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/Conectando.class new file mode 100644 index 0000000..ebeaa44 Binary files /dev/null and a/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/Conectando.class differ diff --git b/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/package-info.class a/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/package-info.class new file mode 100644 index 0000000..0d89aac Binary files /dev/null and a/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/package-info.class differ diff --git b/TestJDBCBootCamp/src/com/roshka/jdbc/tests/Conectando.java a/TestJDBCBootCamp/src/com/roshka/jdbc/tests/Conectando.java new file mode 100644 index 0000000..51fab48 --- /dev/null +++ a/TestJDBCBootCamp/src/com/roshka/jdbc/tests/Conectando.java @@ -0,0 +1,17 @@ +package com.roshka.jdbc.tests; + +public class Conectando { + + public static void main(String[] args) throws Exception { + // TODO Auto-generated method stub + System.out.println("hello world"); + + String url = "jdbc:postgresql://localhost:5432/base" ; //depende de cada BD + String user = "postgres"; + String pass = "postgres"; + Connection connection = DriverManager.getConnection(url,user,pass); + //sr driver dame una conexion a la base de datos que esta en este url, con este usuario y con este pass + System.out.println("estoy conectado"); + } + +} diff --git b/TestJDBCBootCamp/src/com/roshka/jdbc/tests/package-info.java a/TestJDBCBootCamp/src/com/roshka/jdbc/tests/package-info.java new file mode 100644 index 0000000..62e13ac --- /dev/null +++ a/TestJDBCBootCamp/src/com/roshka/jdbc/tests/package-info.java @@ -0,0 +1 @@ +package com.roshka.jdbc.tests; \ No newline at end of file