1 Reply Latest reply on Jan 16, 2003 7:16 AM by Alex Shneyderman

    table without primary key

    Hari Babu Newbie

      hai all
      cant i have a table without a primary key.
      I tried to have one.
      But when i deploed that entity bean in jboss,
      the query that was generated looked like,

      "create table table1(name varchar(10,age number(3) constraint constraint_ name primary key( ))"
      Note:
      There is no primary Key but still the constraint is generated without a column name which give me error.

      Is there any way to tel Jboss not to have primary key?

      Hari Babu