File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to enter a bigint value in the db ?
Joined: Jul 03, 2011
Oct 03, 2011 13:00:11
my problem is i have a table in ms sql that has a data type bigint like
i m trying to take value from the textfield and putting that detail in to the db
but i didnt found any method of preparedstatement that says
i have tried this but it gives an exception
The Only way to learn is ...........do!
Visit my blog
Author and ninkuma
Joined: Jan 10, 2002
Oct 03, 2011 13:02:01
"it gives an exception". Always
To find out which data types to use, each DB publishes a conversion table showing which types to use in Java for each type in the DB.
I found the one for MS SQL in 10 seconds.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: how to enter a bigint value in the db ?
Getting the value of a database Identity column in JPA
First 10 digits of the sum of 100 50 digit numbers (Project Euler # 13)
MS SQL BIGINT not accessible in java
calling a stored procedure
equivalent of bigInt in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014