473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Timestamp-Format with Java Type 4-Driver

Hallo NG,

i have a problem with a Timestamp field. I use a JDBC Type 4 - Driver.
When i make a select on a table with a timestamp-field i got for example the
result :

2004-04-30 15:23:44.0

How can I tell the driver to give me the following result :

2004-04-30 15:23:44.000

Thanks for your help

Michael
Nov 12 '05 #1
0 2071

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ed Trubia | last post by:
Have the following type that applies contraints. How could this be easily coded in Java type ET_ACTIVE_PORT_CONFIGURATION is ( HDX_TX1_RX1, HDX_TX2_RX2, HDX_TX1_RX2, HDX_TX2_RX1,...
73
by: RobertMaas | last post by:
After many years of using LISP, I'm taking a class in Java and finding the two roughly comparable in some ways and very different in other ways. Each has a decent size library of useful utilities...
5
by: Maurice Ling | last post by:
Hi, I have read that this had been asked before but there's no satisfactory replies then. I have a module (pA) written in python, which originally is called by another python module (pB), and...
0
by: Michael Welp | last post by:
Hallo NG, i have a problem with a Timestamp field. I use a JDBC Type 4 - Driver. When i make a select on a table with a timestamp-field i got for example the result : 2004-04-30 15:23:44.0 ...
8
by: Rhino | last post by:
I'm trying to use the JDBC Universal driver to get a Type 4 connection in a Java client program running under DB2 V8.2.1 but I keep getting a "connection refused: connect" message. I'm running...
5
by: Joe Kinsella | last post by:
Java JDBC defines four types of database drivers. A type 4 driver is a native protocol, fully Java-enabled driver. For Oracle, this means the driver is written to the socket based protocol...
5
by: Guru | last post by:
public String generateSP() { String s = ""; Iterator iterator = hmTable.keySet().iterator(); String s1 = ""; while(iterator.hasNext()) { String s2 = (String)iterator.next(); s = s.length() !=...
3
by: delirman49 | last post by:
Hello, Sorry for my english. This is my problem : I must create for a great french company a webmethod with 2 "in" parameters. The first is an object, no problem. The second must be a...
6
by: sapsi | last post by:
Hello, I am using HadoopStreaming using a BinaryInputStream. What this basically does is send a stream of bytes ( the java type is : private byte bytes) to my python program. I have done a...
0
by: michellebong | last post by:
Dear experts, I have question on how to add my java type dll to vb.net 2005 as reference. The error output : A reference to '<..>.dll' could not be added. Please make sure that the file is...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.