![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
||||
|
||||
|
Conexión entre JAVA e INTERBASE
Buen día gente del foro, he estado intentando programar un conexión entre JAVA e INTERBASE, con el JDBC llamado INTERCLIENT, al intentar realizar la conexión obtengo un error, las lineas de código que he programado son:
Código:
String UbicacionBase = "jdbc:odbc:ODBCPRUEBA";
String Usuario = "SYSDBA";
String Pasaporte = "masterkey";
Connection Conexion = null;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException Excepcion) {
Logger.getLogger(DemoConexionInterbase.class.getName()).log(Level.SEVERE, null, Excepcion);
}
try {
System.out.println("Estableciendo conexión con: " + UbicacionBase + " espere un momento por favor...");
Conexion = DriverManager.getConnection(UbicacionBase, Usuario, Pasaporte);
System.out.println("Conexión establecida.");
} catch (SQLException Excepcion) {
MostrarExepciondelaBasedeDatos(Excepcion);
} finally {
try {
Conexion.close();
} catch (SQLException Excepcion) {
MostrarExepciondelaBasedeDatos(Excepcion);
}
}
debug: Estableciendo conexión con: jdbc dbc:ODBCPRUEBA espere un momento por favor...# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=9060, tid=10008 # # JRE version: Java(TM) SE Runtime Environment (7.0_40-b43) (build 1.7.0_40-b43) # Java VM: Java HotSpot(TM) Client VM (24.0-b56 mixed mode windows-x86 ) # Problematic frame: # C 0x00000000 # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # An error report file with more information is saved as: # C:\Proyectos AudiSoft\Pagares desmaterializados\Recursos\AudiSoft\Demos\Interclient for JAVA\DemoConexionInterbase\hs_err_pid9060.log # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Java Result: 1 BUILD SUCCESSFUL (total time: 16 seconds) Adicionalmente cree un almacen de datos ODBC, el cual es el que estoy invocando en la conexión con la siguiente configuración: http://sdrv.ms/1kcMBi0 Quisiera saber si alguno de ustedes pudiera por favor ayudarme, ya que se escapa de mí conocimiento, y no se cual sería el error especifico.
__________________
De ante mano gracias por tomarse el tiempo de leer este Hilo. ------------------------------- Juan Sebastián Cubillos Gonzalez Desarrollador de soluciones informáticas. Bogotá, Colombia. Encuentra me en: http://www.linkedin.com/pub/juan-seb...lez/66/1b8/150 |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Conexión java y firebird v 2.1.3 | dant | JAVA | 1 | 30-07-2010 21:25:15 |
| Conectar BD Interbase con Java | K-ba | JAVA | 1 | 31-08-2007 19:17:48 |
| interbase y java | carloz69 | Firebird e Interbase | 1 | 08-03-2007 21:27:54 |
| Comunicacion entre Java y Delphi | davezf | Providers | 4 | 03-11-2006 19:25:01 |
| Conexion con SQL Server y java | Angel_Luz | Conexión con bases de datos | 0 | 24-04-2006 22:24:12 |
|