0 Replies Latest reply on Aug 13, 2003 4:10 AM by harigh

    row-locking is not allowed for this type of datastore

    harigh Newbie


      Iam using JBoss3.2.1 with tomcat ,Sybase Database(12.5), with JConnect 5.5,
      i used row-locking for one of the finder queries in jboss-cmp-jdbc.xml.
      when i try to call the corresponding finder query,
      it is giving the following exception
      java.lang.IllegalStateException: row-locking is not allowed for this type of datastore
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.getSQL(JDBCLoadEntityCommand.java:267)

      But its working fine with Oracle database.
      Is there anybody to help me
      thaks in advance
      hari