


HiI am trying to zip up existing BLOB files in the database, and when I do it, it just returns a bunch of unreadable garbage.. I have attached the code below, its a bit complicated, and I was wondering if anyone of you would know what I am doing wrong or is there an easier way to do this? ...
I'm currently working with a DB that has int fields with both nothing and zero (0) and the two different values mean different things. No value means no measurements were taken and 0 means a measurement of zero.If I use ResultSet.getInt() on this field I get "0" for both cases. Is there a way ...
This code always returns 0 rows. There is plenty of data in the MS SQL 2000 Customers table.package DBTests;import javax.swing.*;//import javax.sql.*;import java.sql.*;import java.io.*;import java.lang.*;public class DBTests {public static void main(String[] args)//throws SQLException, ...
I've been getting zero for all my query result sets even though my database is not empty. I don't know if the problem lies with my servlet code or my resin deployment. Can someone tell me what's wrong?Here's part of the codes.Login.javapublic class Login extends HttpServlet {final String ...
We are running WBIFN 1.1 on Z/OS 1.4. It uses DB2 V7 at RSU0512. The java runs under stored procedures, was working at install, but now we get:java.lang.ExceptionInInitializerErrorHere are the full messages:DSNX961I DSNX9WLS ATTEMPT TO PERFORM JNI FUNCTION FindClass 576FAILED FOR STORED ...
I have a problem whenever I connect my database and need your urgent help. the sample source code is belowimport java.sql.*;import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.util.*;public class Table extends JFrame{private Connection con;private JTable table;public ...
I have had two semesters of Java, and I also know my way around Microsoft Access pretty well. I want to know is it a good idea to learn JDBC to access MS Access or is it worth to learn another database tool like Oracle's to avoid connectivity problem? My efforts will be strictly for stand ...
using the insert statement in java i have ::INSERT INTO table (FieldName) VALUES ( "'" + StringName + "')");where StringName is string initilased in the .java file.thing is if that contains ' eg if the string is "Hello my name's John" it wont take it bad SQL statementhowever it'll take ...
IDE=Forte 3.0DBMS=Oracle 8.1.6.0.0WebServer = IIS 5.0 with JRun 3.1Driver=MS Driver For Oracle (I know! But I'm just learning.)I am trying to execute a simple stored procedure but keep getting an error: "Syntax error or access violation"I have two examples. The one above is the one that does ...
I have JDK 1.4 installed where JAVA_HOME=C:\java\jdk\jdk1.4SET CLASSPATH=C:\java\jdk\jdk1.4\src.zip;.;%CLASSPATH%;I installed and configured MYSQL 4.0.21 work properly with PHP.I get the connecter from MYSQL.com mysql-connector-java-3.1.13.tar.tarUnzipped and get the ...
This is my first try at creating an ejb. I got that working, and now i'm trying to hook the ejb to a database via a datasource. I know I'm just doing something stupid and missing a tag or an xml file of a java: or whatever. If you can find this probem, I'll be completely in your debt ...
hello... atm i am programming a front-end to display the inventory of computers.i have to read out of MS-Access database 4 valuescomputerNumber(text), yearOfPurchase(text),price(single) & bought(YesNo) .my problem is : that i don't know how to handle the YesNo from access .,... my ...
Folks,This XSQL works fine from SQL*plus, TOAD and VB.NET, BUT fails by JDBC driver.Pls help why this is happening. error is pasted below.SELECT inside FROM or Aliases, or what else is causing the problem.ThanksYogi at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)at ...
Hi,We wrote a web application using XSQL and Oracle 8.1.7,Struts and JSPs.It worked just fine on Tomcat 4.1 (development environment), but now we are going into production using Weblogic 7.0 SP4 with its connection pool (and Oracle 8.1.6).We have noticed that the number of connections grows ...
Hi,Does anyone know of any good tools for taking an XSD schema and using it to generate the DDL for a SQL Server database?Many thanksTariq...
