1 Reply Latest reply on Aug 26, 2003 3:33 AM by Darran Lofthouse

    want to see sql generated by jboss

    maciek Newbie


      i switched my simple cmp from hypersonic to mysql and then get a strange exception
      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
      java.rmi.ServerException: EJBException:; nested exception is:
      javax.ejb.EJBException: Load failed; CausedByException is:
      Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'key=1)' at line 1"

      how can i see this sql piece of code?

      what can be the cause of such exception?