| Thread | Last Post | Replies |
|
| PreparedStatement - SQL query | 21 Dec 2004 08:59 GMT | 1 |
In my program I have only access to a object of PreparedStatement class. I would like to ask somebody how I can retrive a SQL query from that object. Regards
|
| Adding gif\png to database column? | 19 Dec 2004 09:53 GMT | 1 |
Hello all... I have not attempted to add a gif\png to a database column before using java, only 4gl lang. So correct me if I am on the wrong path. I have lot of questions. I am using HSQLDB.
|
| indexes in MsAccess | 17 Dec 2004 22:10 GMT | 3 |
Hi all. i know this is not directly related to java databases, but i thought this might be a good place to ask. I have a table in MsAccess that i created as follows: create table ITEM (
|
| Hibernate in JBoss: You cannot commit during a managed transaction! | 17 Dec 2004 19:53 GMT | 1 |
in simple Session Bean running in JBoss I tested Hibernate with MySql-Database. According to the usual I did something like this: Session l_sess = null; Transaction l_tx = null;
|
| getting mysql-data with jconnector | 17 Dec 2004 17:14 GMT | 2 |
what should i put to the getData() method to get some data? public class Jdbctesti { public static void main(String[] args) { try {
|
| Help for a newbee please! | 16 Dec 2004 13:13 GMT | 5 |
I'm having problems trying to connect to a remote mySQL db. I have have got this working on localhost but can get it to work for my website db. Can anyone point out problems with the code or general problems I shoudl be looking out for?
|
| "Results returned for UPDATE ONLY" | 15 Dec 2004 22:33 GMT | 1 |
I just put together some servlets to communicate with MYSQL. One merely accepts a string as input in a form and sends it to MYSQL. I have a table named 'articles', with columns 'name' and 'summary'. I can INSERT values in to the table, by sending:
|
| Servlets and JDBC | 15 Dec 2004 01:04 GMT | 2 |
I was reading the Tomcat documentation, and I found that jdbc:odbc bridge should not be used. http://jakarta.apache.org/tomcat/faq/database.html Do not use JDBC-ODBC bridge bundled with Sun's JDK with Tomcat. It was
|
| connection pool and transaction for the few connections from pool | 14 Dec 2004 23:24 GMT | 1 |
I would like to know whether possible or not to make a transaction using db connection pool. I have db connection pool to MS SQL 2000 using Tomcat 5.0's JDBC DataSource (see on :
|
| Hanging SQL query (Oracle) | 14 Dec 2004 22:57 GMT | 1 |
Execution of my query to Oracle db stops. My system is running on Resin (v2.1) and Oracle 8i as database (on the same machine). The system has been working fine for 2 years but problem appeared recently. Code below is executed many times although problem with
|
| Generating classes for tables of a data base | 14 Dec 2004 17:07 GMT | 4 |
I've got an already existing data base (Postgres) which consists of a couple of tables and connections. There exist also some stored procedures. Now, how can I get java-classes generated of this information? Which tool can do this?
|
| federate several datasources | 14 Dec 2004 08:32 GMT | 7 |
I want to federate (aggregate) several physical datasources, each having its JDBC driver. My idea is that this aggregator could be implemented as a special JDBC driver or Connection, that will respond to queries from the application
|
| Servlets and JDBC | 13 Dec 2004 09:34 GMT | 1 |
>bernardpace@yahoo.com (Xarky) said: >>A null pointer exception is being given on this line >> while (result.next()) >From the context you can tell that next() returns a boolean, so the |
| Servlets and JDBC | 12 Dec 2004 16:33 GMT | 2 |
A null pointer exception is being given on this line while (result.next()) I am trying to add an if statment but the compiler is reporting an error. if (result.next() == null)
|
| Servlets and JDBC | 11 Dec 2004 20:46 GMT | 1 |
>> System.err.println(e); >> e.printStackTrace(); >> System.exit(16); > You shouldn't use System.exit in a Servlet. You don't want to bring the |