From 40907ad6281928306ae6e372a3b2b070946a99c9 Mon Sep 17 00:00:00 2001 From: nico77 Date: Fri, 9 Oct 2020 14:49:31 -0300 Subject: [PATCH] asd --- TestJDBCBootCamp/.classpath | 27 +++++++++++++++++++++++++++ TestJDBCBootCamp/.project | 31 +++++++++++++++++++++++++++++++ TestJDBCBootCamp/.settings/.jsdtscope | 12 ++++++++++++ TestJDBCBootCamp/.settings/org.eclipse.jdt.core.prefs | 10 ++++++++++ TestJDBCBootCamp/.settings/org.eclipse.wst.common.component | 8 ++++++++ TestJDBCBootCamp/.settings/org.eclipse.wst.common.project.facet.core.xml | 10 ++++++++++ TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.container | 1 + TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.name | 1 + TestJDBCBootCamp/WebContent/META-INF/MANIFEST.MF | 3 +++ TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/Conectando.class | Bin 0 -> 605 bytes TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/package-info.class | Bin 0 -> 127 bytes TestJDBCBootCamp/src/com/roshka/jdbc/tests/Conectando.java | 17 +++++++++++++++++ TestJDBCBootCamp/src/com/roshka/jdbc/tests/package-info.java | 1 + 13 files changed, 121 insertions(+) create mode 100644 TestJDBCBootCamp/.classpath create mode 100644 TestJDBCBootCamp/.project create mode 100644 TestJDBCBootCamp/.settings/.jsdtscope create mode 100644 TestJDBCBootCamp/.settings/org.eclipse.jdt.core.prefs create mode 100644 TestJDBCBootCamp/.settings/org.eclipse.wst.common.component create mode 100644 TestJDBCBootCamp/.settings/org.eclipse.wst.common.project.facet.core.xml create mode 100644 TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.container create mode 100644 TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 TestJDBCBootCamp/WebContent/META-INF/MANIFEST.MF create mode 100644 TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/Conectando.class create mode 100644 TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/package-info.class create mode 100644 TestJDBCBootCamp/src/com/roshka/jdbc/tests/Conectando.java create mode 100644 TestJDBCBootCamp/src/com/roshka/jdbc/tests/package-info.java diff --git a/TestJDBCBootCamp/.classpath b/TestJDBCBootCamp/.classpath new file mode 100644 index 0000000..ac9fdd0 --- /dev/null +++ b/TestJDBCBootCamp/.classpath @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestJDBCBootCamp/.project b/TestJDBCBootCamp/.project new file mode 100644 index 0000000..17f1e71 --- /dev/null +++ b/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 a/TestJDBCBootCamp/.settings/.jsdtscope b/TestJDBCBootCamp/.settings/.jsdtscope new file mode 100644 index 0000000..92e666d --- /dev/null +++ b/TestJDBCBootCamp/.settings/.jsdtscope @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/TestJDBCBootCamp/.settings/org.eclipse.jdt.core.prefs b/TestJDBCBootCamp/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..7adc0fb --- /dev/null +++ b/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 a/TestJDBCBootCamp/.settings/org.eclipse.wst.common.component b/TestJDBCBootCamp/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..1d60fc0 --- /dev/null +++ b/TestJDBCBootCamp/.settings/org.eclipse.wst.common.component @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/TestJDBCBootCamp/.settings/org.eclipse.wst.common.project.facet.core.xml b/TestJDBCBootCamp/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..6c32454 --- /dev/null +++ b/TestJDBCBootCamp/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.container b/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ b/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 a/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.name b/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ b/TestJDBCBootCamp/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git a/TestJDBCBootCamp/WebContent/META-INF/MANIFEST.MF b/TestJDBCBootCamp/WebContent/META-INF/MANIFEST.MF new file mode 100644 index 0000000..5e94951 --- /dev/null +++ b/TestJDBCBootCamp/WebContent/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Class-Path: + diff --git a/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/Conectando.class b/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/Conectando.class new file mode 100644 index 0000000..ebeaa44 Binary files /dev/null and b/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/Conectando.class differ diff --git a/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/package-info.class b/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/package-info.class new file mode 100644 index 0000000..0d89aac Binary files /dev/null and b/TestJDBCBootCamp/build/classes/com/roshka/jdbc/tests/package-info.class differ diff --git a/TestJDBCBootCamp/src/com/roshka/jdbc/tests/Conectando.java b/TestJDBCBootCamp/src/com/roshka/jdbc/tests/Conectando.java new file mode 100644 index 0000000..51fab48 --- /dev/null +++ b/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 a/TestJDBCBootCamp/src/com/roshka/jdbc/tests/package-info.java b/TestJDBCBootCamp/src/com/roshka/jdbc/tests/package-info.java new file mode 100644 index 0000000..62e13ac --- /dev/null +++ b/TestJDBCBootCamp/src/com/roshka/jdbc/tests/package-info.java @@ -0,0 +1 @@ +package com.roshka.jdbc.tests; \ No newline at end of file -- libgit2 0.26.0