Hi all of you,
after creating two table on the jetspeed
database (user the manager ) .
i try to acces to my database, using
Dbvisaulizer or by coding .......
import org.hsqldb.*;
import java.sql.*;
String driver="org.hsqldb.jdbcDriver";
Class.forName(driver);
Connection con =
DriverManager.getConnection("jdbc:hsqldb
:jetspeed/WEB-INF/db/jetspeed","sa","");
PreparedStatement sta =
con.prepareStatement("insert into user
values(4,'user1','app1',0);");
ResultSet rs =sta.executeQuery();
con.close();
Nothing to do !!!!
I can't found the datasource. Have a
java.sqlException: Table not found.....
at org.hsqldb.Trace.getError(Unknown
Source)
at
org.hsqldb.jdbcResultSet.<init>(Unknown
Source)
at
org.hsqldb.jdbcConnection.executeStandal
one(Unknown Source)
at
org.hsqldb.jdbcConnection.execute(Unknow
n Source)
at
org.hsqldb.jdbcStatement.fetchResult(Unk
nown Source)
at
org.hsqldb.jdbcStatement.executeQuery(Un
known Source)
at
org.hsqldb.jdbcPreparedStatement.execute
Query(Unknown Source)
Can someone give me � idea ?
thanks by advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]