0 Replies Latest reply on Dec 16, 2003 2:51 AM by marcoyeung

    Does Jboss support IDENTITY field in MSSQL SERVER/Oralce??

    marcoyeung

      Does Jboss support IDENTITY field in MSSQL SERVER??

      I have a table which has a primary key field which use IDENTITY to autogenerate the id, does jboss support this if i use a entity bean on this table and can jboss get back this id in a smart way (not using select) after I inserted a new row in this table with that entity bean?.


      Similar case in Oracle, if I use trigger to auto-generate the primary key in my table, can JBoss know how to manipulate it, that means insert a new record in the table with a entity bean and get back the newly generated primary key??


      thank you very much

      Marco