HSQLDB

hello i would ask you why the code below doesn't work (i recive an exception :
File input/output error: template.script in statement [SCRIPT 'template.script'] ):
Here is the code:
HSQLDBConnection.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
public class HSQLDBConnection {
   Connection conn; 
   public HSQLDBConnection(String db_file_name_prefix,String user_name,String passwd) throws Exception {
        //nawiazanie polaczenia z baza danych, jak nie ma jeszcze takiej to jest tworzona
       Class.forName("org.hsqldb.jdbcDriver");
       conn = DriverManager.getConnection("jdbc:hsqldb:"+ db_file_name_prefix,user_name,passwd);
   public void shutdown() throws SQLException {
        //zamykanie polaczenia z baza danych
       Statement st = conn.createStatement();
       st.execute("SHUTDOWN");
       conn.close();
   //funkcji nalezy uzywac dla polecen typu SELECT
   public synchronized void query(String expression) throws SQLException {
       Statement st = null;
       ResultSet rs = null;
       st = conn.createStatement();         //wielokrotnego uzytku
       rs = st.executeQuery(expression);    //wykonaj polecenie
       dump(rs);
       st.close();
   //funcji nalezy uzywac do polecen typu CREATE, DROP, INSERT lub UPDATE
   public synchronized void update(String expression) throws SQLException {
       Statement st = null;
       st = conn.createStatement();              //wielokrotnego uzytku
       int i = st.executeUpdate(expression);//wykonaj polecenie
       if (i == -1) {
           System.out.println("db error : " + expression);
       st.close();
   public static void dump(ResultSet rs) throws SQLException {
       ResultSetMetaData meta   = rs.getMetaData();
       int               colmax = meta.getColumnCount();
       int               i;
       Object            o = null;
       for (; rs.next(); ) {
           for (i = 0; i < colmax; ++i) {
               o = rs.getObject(i + 1);
               System.out.print(o.toString() + " ");
           System.out.println(" ");
   public static void main(String[] args) {
/code]
DBTemplateMaker.javaimport java.io.*;
import java.sql.SQLException;
public class DBTemplateMaker {
     private BufferedReader input;
     private HSQLDBConnection db;
     DBTemplateMaker(String templateFileName,HSQLDBConnection db){
          this.db=db;
          try{
               db.query("SCRIPT '"+templateFileName+"");
          }catch(SQLException ext2){
               System.out.println("ect: "+ext2);
               ext2.printStackTrace();
     public static void main (String []args){
dbTester.java
import java.sql.Connection;
import java.sql.SQLException;
public class dbTester {
     private Connection conn;
     public dbTester(){
          HSQLDBConnection db = null;
          try {
               db = new HSQLDBConnection("db1_file","sa","");
          } catch (Exception ex1) {
               ex1.printStackTrace();    // could not start db
               return;                   // bye bye
          DBTemplateMaker dbtm=new DBTemplateMaker("./dbConnection/template.script",db);
     public static void main(String [] args){
          dbTester dbt=new dbTester();
}File template.script contains a lot of sql commands that makes some tables. I don;t know why it doesn't work . Probably i use SCRIPT command not as it should be used.
thanks for all replies

"File input/output error" suggests to me that there is an error reading from that file. Perhaps it doesn't exist. (You are using a relative path -- is the server's working directory what you think it is?) Or perhaps there is something wrong with the name.

Similar Messages

  • How to read the TEXT TABLE (or) .CSV in HSQLDB Standalone using Java

    Hi, I like to use the text tables in our application. And like to use the HSQL Database Engine as Standalone. I created the text tables, those are stored in the disk as ".CSV" files. But i am unable to read that text table (.CSV) when i relogin and gave the CSV file path as URL along with "jdbc:hsqldb:file". So can anybody give me the tips how use the text tables.
    Regards,
    Vinay

    You need to make a URLConnection to the page you want, and get the input stream from that page.
    The contents of the input stream (use a reader to get them) will give you the raw HTML code. Use a parser to get the actual content. I dont know of a parser offhand, but you can search for one.

  • What's wrong with my recursive file search that add files to hsqldb?

    I'm pretty new to databases under java. I choose hsqldb because I needed an embedded database. My program runs through all the files in a directory and stores the results to a database. Later on I can do advanced, fast searches on the results plus carry out effects like permissions on files. I wrote a recursive search and I got the tutorials off of the hsqldb site. The following code works but I don't know if it's good on memory or whether there's some potential problems I can't see. Can someone take a look and tell me if this looks ok? Also how can I find out whether a table exists or not?

    Can't believe I forgot to post the code:
    package databasetests;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class DatabaseTests {
      static Connection conn;
      public DatabaseTests(String x) {
          try {
            Class.forName("org.hsqldb.jdbcDriver");
            conn = DriverManager.getConnection("jdbc:hsqldb:file:" + x, "sa", "");
          } catch (Exception e) {}
      public void shutdown() throws SQLException {
        conn.close();
      public synchronized void query(String x) throws SQLException {
        Statement st = null;
        ResultSet rs = null;
        st = conn.createStatement();
        rs = st.executeQuery(x);
        dump(rs);
        st.close();
      public synchronized void update(String x) throws SQLException {
        Statement st = null;
        st = conn.createStatement();
        int i = st.executeUpdate(x);
        if (i==-1) System.out.println("db error: " + x);
        st.close();
      public static void dump(ResultSet rs) throws SQLException {
        ResultSetMetaData meta = rs.getMetaData();
        int colmax = meta.getColumnCount();
        Object o = null;
        for (; rs.next(); ) {
          for (int i=0;i<colmax;++i) {
            o = rs.getObject(i+1);
            System.out.println(o.toString() + " ");
          System.out.println(" ");
      public static void recursiveSearch(String x,int level) {
        DatabaseTests db = null;
        try {
          db = new DatabaseTests("database");
        catch (Exception ex1) {
          ex1.printStackTrace();
          return;
        String tempFile="";
        StringTokenizer tokenString = new StringTokenizer("");
        File dir = new File(x);
        File[] curDir = dir.listFiles();
        for (int a=0;a<curDir.length;a++) {
          if (curDir[a].isDirectory()==false) {
            System.out.println(curDir[a]);
            try {
              tempFile=curDir[a].toString();
              System.out.println(tempFile);
              db = new DatabaseTests("database");
              db.update("INSERT INTO tblFiles (file_Name) VALUES ('" + tempFile + "')");
              db.shutdown();
            } catch (Exception ex2) { ex2.printStackTrace(); }
          else {
            try {
              tempFile=curDir[a].toString();
              System.out.println(tempFile);
              db = new DatabaseTests("database");
              db.update("INSERT INTO tblFiles (file_Name) VALUES ('" + tempFile + "')");
              db.shutdown();
            } catch (Exception ex2) { ex2.printStackTrace(); }
            tokenString = new StringTokenizer(tempFile,"\\");
            if (tokenString.countTokens()<=level) recursiveSearch(tempFile, level);
      public static void main(String[] args) {
        DatabaseTests db = null;
        try {
          db = new DatabaseTests("database");
        catch (Exception ex1) {
          ex1.printStackTrace();
          return;
        try {
          //db.update("CREATE TABLE tblFiles (id INTEGER IDENTITY, file_Name VARCHAR(256))");
          db.query("SELECT file_Name FROM tblFiles where file_Name like 'C:%Extreme%'");
          db.shutdown();
        catch (Exception ex2) {}
        String tempFile="";
        int level=5;
        tempFile="C:/Program Files";
        //recursiveSearch(tempFile,level);
    }

  • How to connect HSQLDB database in jar

    Hi people, How can i to connect hsqldb database in jar file without getResource() method ?
    thanks

    Devel application in JBOoss application server.
    JBoss is configured with HSQLDB by default.

  • Connecting through java to HSQLDB: Out of Memory

    Through my java program i am connecting to hsqldb which has .data file of approx 6.5 GB and getting the error java.sql.SqlException: out of memory (am not getting anything else)
    have increased jvm option -Xms256m -Xmx1024m -XX:PermSize=64M -XX:MaxPermSize=2000M
    What else can be tried...??? A complete Stacktrace for the same
    exception in thread HSQL timer
    java.lang.OutofMemoryError: Java Heap Space
    Besides that also got this on netbeans console but seems this is something else... and not an error
    Mar 19, 2009 4:55:36 AM sun.awt.X11.XToolkit processException
    WARNING: Exception on Toolkit thread
    java.lang.OutOfMemoryError: Java heap space
    Edited by: shubham on Mar 19, 2009 1:57 AM
    Edited by: shubham on Mar 19, 2009 3:31 AM

    Well The issue was somewhere else due to it reading too much of data. It ran but my program is very slow (approx 2-3 hrs).
    I am worried about the speed...
    is it because of the large amount of data.. 23,355,459 records..?? or there could be some issue in programming probably memory leak etc..??
    -> reads db
    -> for each record set
    -> perform different operation/ writes to file

  • How to read the TEXT TABLES (Or) .CSV in HSQLDB using JAVA

    Hi,
    I want to use the HSQLDB instead of mdb in our application. I am using the HSQLDB Engine Standalone mode, and given a file name "TEMP" in URL along with the "jdbc:hsqldb:file:". Then a I created a TEXT TABLE, that table was created as a .CSV file in the Disk. But I am unable to read that CSV, I tried that file in the database URL. But its not working. Can anubody give me the suggestions.
    Thankyou,
    Regards,
    Vinay.

    Hi Rajeshreddy.k,
    To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
    To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
    $Users = Get-Content -Path 'C:\ListOfUsernames.txt'
    $Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
    Add-ADGroupMember -Identity $Group -Members $Users

  • BUG No Toplink with HSQLDB support

    1. Start HSQLDB in server mode
    2. Log in as SA
    3. Create two tables (in public schema, which is the default) with parent-child relation
    4. Create new schema, switch to new schema
    5. Create two tables (in public schema, which is the default) with parent-child relation in new schema
    6. Create HSQLDB library in JDeveloper
    6. Create connection in JDeveloper jdbc:hsqldb:hsql://...
    7. Create JDeveloper project
    8. Create Toplink map
    9. Start "Java Objects from Tables" wizard.
    10a. Select a table from public schema
    11a. "Public schema is only for synonyms" error message appears
    10b. Select a child table from the other schema.
    11b. "A foreign key constraint must define at least one column" error message appears
    I am using JDeveloper 10.1.3.1.0.3914 and HSQLDB 1.8.0.

    Hi,
    don't have HSQLDB for testing, but typing HSQLDB TopLink into a Google search brought up many messages of people that got this combination working.
    I suggest to post this question on the TopLink forum here on OTN
    Frank

  • Cannot create session with in-memory HSQLDB

    Hi,
    We are trying to using Toplink with HSQL in the "memory-only" mode (ref: http://hsqldb.org/doc/guide/ch01.html#N101CA). Note that the connection URL has "jdbc:hsqldb:mem" to denote a memory database .
    We are having problems creating a valid session to the database. I am able to load the sessions file successfully, and when I call the getSession() method on the Session Manager, I get a null session, but no exceptions are raised.
    Is there any way to turn on more diagnostic logging to see what parameters is are being used to create the session ?
    Here are the details :
    //===> CODE SEGMENT TO CREATE A SESSION
              // Loads the specified sessions.xml file
              XMLLoader loader = new XMLLoader(sessionsFileName);
              _session = (Server) SessionManager.getManager().getSession(loader, sessionsName,getClass().getClassLoader(), false, false);
    //====> NO EXCEPTIONS THROWN HERE
                   LogMgr.logInfo(this, "Is session null ? " + (_session == null));
    //====> SESSION IS NULL
              } catch (TopLinkException tle) {
    tle.printStackTrace();
    //====> NO EXCEPTIONS ARE RAISED
    //====> RELEVENT PORTION OF sessions.xml
    <login>
    <driver-class>org.hsqldb.jdbcDriver</driver-class>
    <connection-url>jdbc:hsqldb:mem:IMPACT3</connection-url>
    <platform-class>oracle.toplink.internal.databaseaccess.HSQLPlatform</platform-class>
    <user-name>sa</user-name>
    </login>
    ENVIRONMENT
    Toplink 9.0.4.2
    HSQLDB 1.8.0
    Windows XP / Solaris 2.8 / AIX 3.5

    The call:
    _session = (Server) SessionManager.getManager().getSession(loader, sessionsName,getClass().getClassLoader(), false, false);is where the sessions.xml file is loaded. The created XMLLoader is used but its creation is not actually doing the load.
    It is rare to get a failure at this point since you have not requested the session manager to login the session and thus connecting to the in-memory database is not actually attempted in the code you have provided. Only resolving the mapped class and JDBC driver requiring proper class path configuration.
    In your sessions.xml you will want to make sure logging and debug logging are enabled. Your sessions.xml should contain something like:
          <enable-logging>true</enable-logging>
          <logging-options>
             <log-debug>true</log-debug>
             <log-exceptions>true</log-exceptions>
             <log-exception-stacktrace>true</log-exception-stacktrace>
          </logging-options>If that does not work I would do some simple diagnostics on your configuration. I would start with using the same sessions.xml and TopLink Map (project) attempt to connect to a different database and ensure that the configuration is accurate.
    Doug

  • HSQLDB not correctly shutdown

    i am using hsqldb1.8.0 and trying to access the standlone database thru hibernate..
    my hibernate configuration file contains
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "file:///D//IBM//Project//Website//hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
    <session-factory>
    <property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
    <property name="connection.url">jdbc:hsqldb:d:\\ibm\\project\\website\\data\\database;shutdown = true</property>
    <property name="connection.username">sa</property>
    <property name="connection.password"></property>
    <property name="hibernate.connection.pool_size">10</property>
    <property name="dialect">org.hibernate.dialect.HSQLDialect</property>
    <property name="hibernate.show_sql">true</property>
    <property name="autocommit">true</property>
    <mapping resource="Login.hbm.xml"/>
    </session-factory>
    </hibernate-configuration>
    once i run my application the database gets locked ..
    i need to restart the server to unlock the database..
    I am not able to delete or modify the .lck file from outside to release the lock..
    And i get an error if i run my app again
    [6/14/06 16:37:32:062 IST] 683c7148 JDBCException E org.hibernate.util.JDBCExceptionReporter The database is already in use by another process: org.hsqldb.persist.NIOLockFile@25d472e8[file =D:\IBM\Project\Website\data\database.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: The process cannot access the file because another process has locked a portion of the file : D:\\IBM\Project\Website\data\database.lck
    I am building a web application and using WSAD IDE..
    Can anybody please help me out with the problem
    Thanks in advance

    i am developing a website using struts..and using hsqldb for storing data for example various login ids and password.

  • Incremental search in hsqldb?

    Is it possible to do that?
    I'm thinking of making application like itunes, but i just can't figure out how itunes does the incremental search and return the result so quickly (as you type).
    Anyone knows how to do that? Is it possible doing it with hsqldb?

    I was just wondering what should i use for the database storage. Is
    hsqldb appropriate for this? Because if i keep repeating SELECT *
    FROM table WHERE key=keyword as i type isn't it gonna be slow? Or
    will it be ok? I personally haven't try it out yet but just wanna get it right
    from the start..if your data is small, i think its okay...
    Anyway is it how i should implement it? by repeating select statement
    whenever i type the keyword?yes.
    note:
    * with this design, your application is consuming large network traffic,
    so it become not suitable to work over internet.
    * if you are working with large date and using single-threading or using
    your gui-event-thread to retrieve & displaying data, your application will
    freeze awhile every time user type a key.
    * if you really want to make responsive application, i suggest you to
    reloading after the typing stop for several time (ie. 2 seconds),
    instead of reloading every key-stroke.

  • Java Web Start and hsqldb

    How can I set hsqldb standalone database to use within a Java Web Start compliant Application?

    Yes, this shouldn't create any problems, you can run hsqldb as standalone:
    From the documentation (http://hsqldb.sourceforge.net/web/hsqlModes.html)
    The In-Process mode is also referred to as Standalone. In this context, Standalone means use within a standalone application as opposed to a client application accessing a database server. The database is running in the same Java Virtual Machine as the application. It acts as an embedded code library used by the application program. The application and the database engine communicate through normal JDBC calls but these calls are handled internally without a network connection.
    In this mode, only one application can access a database at a time. To access the same database at the same time from multiple JVM or computers the Client/Server mode must be used.
    The JDBC URL for the In-process (Standalone) mode is:
    jdbc:hsqldb:test
    where test is the database file name. Another example (Windows) is:
    jdbc:hsqldb:c:\db\test
    This means that you can refer to a file eg. in the JAR which contains the database.
    If you want to store between client sessions, you need to retrieve the file from the JAR and store it on the user's hard drive (f.eks. in the user's home directory) and then check if it exists when your application is started. If it does, open the hsqld file on the user's hard drive, it if doesn't retrieve it from the JAR which you are running app from.
    Hope this was understandable :)

  • First-time connection to HSQLDB

    I'm attempting a connection to HSQLDB, but have some questions about making the connection without an existing database.
    In the connection URL, the last part is supposed to be a URL to a database, but nothing currently exists. Additionally, the username and password both do not exist yet because the database doesn't.
    Must a database be created in advance of connecting to it? (I would guess no because then how would in-memory databases work?) If not, what should I enter in the username, password, and connection URL to make this work?
    Thanks.

    And since I had to create this example for other purposes earlier on, you get it at no extra charge :-)
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.Statement;
    public class SimpleHsqlDbExample {
       public static void main(String[] args)
          throws Exception
          System.out.println("Preparing connection");
          Class.forName(DRIVER);
          Connection conn = DriverManager.getConnection(URL,USERNAME,PASSWORD);     
          Statement stat = conn.createStatement();
          System.out.println("Issuing DDL");
          stat.execute(CREATE_TABLE);
          stat.close();
          System.out.println("Creating content");
          PreparedStatement ps = conn.prepareStatement(CREATE_CONTENT);
          for(int i = 0; i < 100; i++) {
             ps.setInt(1,i);
             ps.setString(2,"Example content: " + i);
             ps.executeUpdate();
          ps.close();
          System.out.println("Acquiring the data");
          ps = conn.prepareStatement(SELECT_CONTENT);
          ps.setInt(1,42);
          ResultSet rs = ps.executeQuery();
          while(rs.next()) {
             System.out.println("Retrieved data (" + rs.getString(1) + ")");
          conn.close();
          System.out.println("Done.");     
       private static final String URL = "jdbc:hsqldb:file:sprocdb;SHUTDOWN=true";
       private static final String DRIVER = "org.hsqldb.jdbcDriver";
       private static final String USERNAME = "sa";
       private static final String PASSWORD = "";
       private static final String CREATE_TABLE = "CREATE TABLE example (id integer primary key, content varchar(32) not null)";
       private static final String CREATE_CONTENT = "INSERT INTO example(id,content) VALUES (?,?)";
       private static final String SELECT_CONTENT = "SELECT content FROM example WHERE id = ?";
    }

  • Link mysql to hsqldb

    my java program in hsqldb.But now i want to connect mysql. so i want to replace hsqldb to mysql.
    or connect mysql to hsqldb.
    what is the procedure or method to do like that.
    urgent required.

    Ion user11925786 wrote:
    Good morning!!
    I know that is posible to create a dblink between Oracle to MySQL but the question is, Is posible to create a Db-Link between MySQL to ORACLE?
    I hope amwer that question as soon as posible.
    Regads!!And why do you think that the answer would come ASAP?
    AFAIK, mysql doesn't have db link support.
    Aman....

  • Exception in thread "main" java.lang.NoClassDefFoundError: org/hsqldb/Serve

    hi,
    I'm new in hibernate.I am studying hibernate tutorial from http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html
    After few steps When I've to start data base.It doesn't.
    I post whatever at command prompt. Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\shobhitsingh>cd\
    C:\>cd hibernate*
    C:\hibernateTutorial>java -classpath ../lib/hsqldb.jar org.hsqldb.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: org/hsqldb/Server
    C:\hibernateTutorial>I thing I should copy paste third party libraries in lib folder.
    but still i am confused.
    pl guide for this.
    Regards
    S.Singh

    Put the hsqldb JAR file into your classpath. I suspect Mr Singh was using ".." when he should have been using "." in the classpath string, but even if he wasn't his classpath issue's not that likely to be identical to yours.
    [http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html|http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html]

  • Use mssql server in place of hsqldb

    Hi,
    If this is wrong forum then pl tellme.
    I am posting my problem.
    I used hsqldb server(default one,no need to install any server).Now I want to use mssql server 2000.
    I am posting for your convienience.
    Pl. look ::
    hibernate.cfg.xml
    This is one when I used hsqldb server.
    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE hibernate-configuration PUBLIC
            "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
            "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
        <session-factory>
            <!-- Database connection settings -->
            <property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
            <property name="connection.url">jdbc:hsqldb:hsql://localhost</property>
            <property name="connection.username">sa</property>
            <property name="connection.password"></property>
            <!-- JDBC connection pool (use the built-in) -->
            <property name="connection.pool_size">1</property>
            <!-- SQL dialect -->
            <property name="dialect">org.hibernate.dialect.HSQLDialect</property>
            <!-- Enable Hibernate's automatic session context management -->
            <property name="current_session_context_class">thread</property>
            <!-- Disable the second-level cache  -->
            <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
            <!-- Echo all executed SQL to stdout -->
            <property name="show_sql">true</property>
            <!-- Drop and re-create the database schema on startup -->
            <property name="hbm2ddl.auto">create</property>
        </session-factory>
    </hibernate-configuration>hibernate.cfg.xml
    This is one I want with mssql server 2000
    I try with following changes
    <?xml version='1.0' encoding='utf-8'?>
    <!DOCTYPE hibernate-configuration PUBLIC
            "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
            "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
        <session-factory>
            <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
            <property name="dialect">org.hibernate.Dialect.SqlDialect</property>
            <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
            <property name="connection.connection_string">Server=(local);Initial Catalog=dbname;User Id=sa;Password=</property>
        </session-factory>
    </hibernate-configuration>Whatever i found on command line screen
    D:\myht>ant hbm2ddl
    Buildfile: build.xml
    hbm2ddl:
    [hibernatetool] Executing Hibernate Tool with a Standard Configuration
    [hibernatetool] 1. task: hbm2ddl (Generates database schema)
    [hibernatetool] log4j:WARN No appenders could be found for logger (org.hibernate
    .cfg.Environment).
    [hibernatetool] log4j:WARN Please initialize the log4j system properly.
    [hibernatetool] An exception occurred while running exporter #2:hbm2ddl (Generat
    es database schema)
    [hibernatetool] To get the full stack trace run ant with -verbose
    [hibernatetool] org.hibernate.HibernateException: Dialect class not found: org.h
    ibernate.Dialect.SqlDialect
    BUILD FAILED
    D:\myht\build.xml:81: org.hibernate.HibernateException: Dialect class not found:
    org.hibernate.Dialect.SqlDialect
    Total time: 1 second
    D:\myht>Please give me your suggestion sothat I can use mssql 2000 server.
    Thanks
    Regards
    -Shobhit

    oops!!!!!!!!!!!!!!!
    I got a very little mistake I don't change my config. file to use mysql.
    -S.Singh

  • What is the use of hsqldb-ds.xml in jboss

    Hi Guys,
    What is the use of hsqldb-ds.xml in jboss deploy folder
    i have my ds file atg_ds.xml in same folder how it will identify our ds file

    Oracle ATG Web Commerce - Configuring Databases and Database Access
    Quoting from link:
         JBoss comes with its own demo database, Hypersonic (note the datasource hsqldb-ds.xml in the /deploy directory).
    I am not sure how it's working in ur case.
    Thanks,
    Nitin.

Maybe you are looking for