1 Reply Latest reply on May 13, 2003 12:39 AM by Dmitry Mozheyko

    Incorrect syntax near '.'

    joavila Newbie

      Hi there!
      I am working with jboss 3.0.6 and Sybase ASE 12.5.
      Using middlegen I generated some bean associated to some tables (some of them have no primary key and all of them have no explicit relations). After that I use Xdoclet directly, with no change to the generated code. Finally I've tried to deploy them, but jboss send me this warning output. I do not have any idea that what it means, I've tried to show the sql generated by jboss with no success. Can anyone give me a clue about it.
      Here is part of my code.
      Thanxs in advance.

      jboss:

      2003-05-12 17:10:47,501 INFO [org.jboss.ejb.EjbModule] Starting
      2003-05-12 17:10:50,847 WARN [org.jboss.system.ServiceController] Problem starting service jb
      oss.j2ee:jndiName=ejb.contabilidad.EstadoCuentaLocalHome,service=EJB
      org.jboss.deployment.DeploymentException: Error while creating table; - nested throwable: (com
      .sybase.jdbc2.jdbc.SybSQLException: Incorrect syntax near '.'.
      )

      ...

      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:jndiName=ejb.contabilidad.EstadoCuentaLocalHome,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Error while creating table; - nested
      throwable: (com.sybase.jdbc2.jdbc.SybSQLException: Incorrect syntax near '.'.
      )]