🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #27535

acceso a datos con JDBC

#27535
From: Javi
Date: Tue, 25 Aug 1998 00:00
12 lines
773 bytes
Hola a todos:

El problema que se me plantea es al acceder a un dato de tipo Timestamp.
Cuando hago el <resultSet>.getTimestamp(<comluma>), me da el siguiente
error:

java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Restricted data
type attribute violation

Alguien sabe que puedo hacer para poder acceder a este tipo de campos?

Javi
Technical Details
Message-ID: <6ru583$o77$1@obelix.comunet.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: 1116f3,4c7a69134c07c9b4,start
X-Google-Attributes: gid1116f3,public
From: "Javi" <jcayon@comunet.es>
Subject: acceso a datos con JDBC
Date: 1998/08/25
Message-ID: <6ru583$o77$1@obelix.comunet.es>
X-Deja-AN: 384501861
Organization: Servidor de News de Comunet
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Newsgroups: es.comp.lenguajes.java