2 Replies Latest reply on Feb 22, 2004 9:03 PM by Alexey Loubyansky

    Jboss does not accept <table-name>.. why?

    mandarjboss Newbie

      I am using JBoss for an enterprise application development.I am accesing the EJB called "QuestionBean" from a Servlet.
      I have mapped QuestionBean to PostgreSQL.My application gets deployed Successfuly.But when i execute the application it searches for a table called "questionbean" in Postgre database.
      As I have turned off the creation of the table by JBoss it gives me an exception.
      My jbosscmp-jdbc.xml contains following:



      ......... so on..

      I don't want jboss to create a table when i execute the application but rather whatever data i enter through EJb should go into a table "newquestion" which is already present in the database.
      Do i need to make any changes in this file or in any other file?
      Do i need to make any config settings in web.xml or jboss-web.xml for datasource?