Skip to main content

All Questions

Tagged with
1 vote
0 answers
23 views

I want to add list view new items (Except old ones) to array

I have two list views, list one contains hotel service items that are fixed to a specific room and the other on is optional services, when i click on optional service list view item it will be added ...
Hanin Qaddoura's user avatar
-1 votes
1 answer
9k views

SSL error when connecting to remote SQL server using Java (netbeans)

i asked this question before but got no answers, i think mainly because it was a mess, i'll state the facts and put some quotes from the code under im using VMWare, and have one Windows Server 2003 ...
user avatar
4 votes
1 answer
606 views

Microsoft SQL JDBC driver v6.2 returning incorrect SQL type code for DATETIME fields

Normally, ResultSetMetaData#getColumnType() should return 93 for DATETIME fields (usually represented as java.sql.Timestamp). This was indeed true for driver versions 4.2.6420.100 and 4.0.4621.201 (...
Bass's user avatar
  • 5,222
0 votes
2 answers
2k views

Spring MVC Hibernate: AbstractMethodError: net.sourceforge.jtds.jdbc.ConnectionJDBC3.isValid(I)Z

I have been trying to implement a simple java spring hibernate project using Sql Server 2005 and maven. I am receiving this error as below on starting Tomcat 8 Server. I understand that this has ...
Reema's user avatar
  • 647
0 votes
1 answer
970 views

How to create report table in sql?

I am creating In-patient management system desktop application in javafx as my mini project of MCA, which has some data about patient admitted in hospital. I have to save all the records of patient ...
Prathamesh Rane's user avatar
0 votes
1 answer
177 views

can not select Id of a persian value from the microsoft sql server in android

i have MSSQL DB,wich is SQL_Latin1_General_CP1_CI_AS collation and filled out with some persian values, the type of the field stored in DB is String(nvarchar(50), null) I want to get the ID of this ...
Alireza Azadi's user avatar
0 votes
0 answers
27 views

unable to call stored procedre from jdbc [duplicate]

below is my JDBC code for connecting to DB and call a stored porcedure. i have installed the sqljdbc4v in src folder onf my project and the class path is also set to my bin folder and src folder. ...
DeathMate's user avatar
0 votes
2 answers
2k views

How to retrieving data from database using hibernate?

When I'm using this I'm getting java.lang.ClassCastException: java.lang.String cannot be cast to com.transgenomic.domain.Note error showing public List<Note> getNoteDescription(Long userId) {...
sonu bante's user avatar
0 votes
2 answers
2k views

Need to fetch Metadata from sql query using java

I have a sql query fro which I need the column name and data type and it's table name and schema name: Thsi is the method I am using for using and testing it for SQLSERVER: public static void ...
user2176576's user avatar
0 votes
0 answers
279 views

File name from binary stream

I am working in java jersey restful web services.Here i am sending a file stream and file name as like (httppost.setHeader("Filename:", String.valueOf(filename));) in the server side how to get the ...
Wilson's user avatar
  • 176
2 votes
1 answer
6k views

what ( com.microsoft.sqlserver.jdbc.SQLServerException:The index 0 is out of range )exception means

import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.PrintWriter; import java.sql.*; import java.net.*; public class connection { JTextField textfeild; JButton ...
Shantanu Nandan's user avatar
0 votes
1 answer
166 views

Getting Checked Exception while running a SQL Program

import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.PrintWriter; import java.sql.*; import java.net.*; public class connection { JTextField textfeild; JButton ...
Shantanu Nandan's user avatar
-2 votes
1 answer
150 views

Which JDBC jar should I use with java 1.5.0_16 and SQL server 2005 [closed]

What Jdbc jar should I use : jdbc.jar or jbdc4.jar
Wael's user avatar
  • 71
3 votes
2 answers
311 views

JDBC driver installed but exception

I am using a software that requires jbdc driver (for sql server 2005), my java version is 1.5.0_16. When I want to start the application, it throws me this exception : java.sql.SQLException: java....
Wael's user avatar
  • 71
2 votes
1 answer
3k views

Save unicode characters in DB using java

I need to save some uni-code characters in Sql server 2005 DB with JDBC, When i try to save "O’CON" into DB column having type NVarchar using a stored procedure it saves "O?CON" `(where ’ character is ...
NoNaMe's user avatar
  • 6,184

15 30 50 per page
1
2 3 4 5
10