Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Catalog / marrol / Error-En-Java-conexion-en-mi-base-para-insertar-
Public GitHub Catalog Discovered Oct 2, 2026

marrol / Error-En-Java-conexion-en-mi-base-para-insertar-

try { System.out.println("Tratando de ralizar la conexión..."); System.out.print("Lo cual fue.............."); Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost/cls","root",""); Statement estado= con.createStatement(); estado.executeUpdate("INSERT INTO cls.orden VALUES"+ "?"+txtmarca.getText()+"?"+txtmodelo.getText()+"?"+txtserie.getText()); System.out.println("\tRealizada con éxito"); } catch(SQLException ex) { System.out.println("Erróneamente su conexión"); } catch(ClassNotFoundException e) { e.printStackTrace(); } catch(Exception e) { System.out.println("Hay un Error en" + e.getMessage()); }

View repository on GitHub ↗ View creator profile Browse directory

About this discovery

Public repository record indexed from GitHub. Explore verified star velocity metrics, source code repositories, and curated developer tool directories across the GitHubRepo ecosystem.

#23010914GitHub System ID
marrolOrganization / User
PublicVisibility
ActiveCatalog Status

More from marrol

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.