org.jpox.store.rdbms.exceptions.WrongPrecisionException: Wrong precision for column BLOG.AUTHOR : was 65535 (according to the JDBC driver) but should be 256 (based on the MetaData definition).

romaframework | nobody | 10 years ago
  1. 0

    Meta Data problem

    romaframework | 10 years ago | nobody
    org.jpox.store.rdbms.exceptions.WrongPrecisionException: Wrong precision for column BLOG.AUTHOR : was 65535 (according to the JDBC driver) but should be 256 (based on the MetaData definition).

    Root Cause Analysis

    1. org.jpox.store.rdbms.exceptions.WrongPrecisionException

      Wrong precision for column BLOG.AUTHOR : was 65535 (according to the JDBC driver) but should be 256 (based on the MetaData definition).

      at org.jpox.store.rdbms.Column.validate()
    2. org.jpox.store
      StoreManager.getDatastoreClass
      1. org.jpox.store.rdbms.Column.validate(Column.java:519)
      2. org.jpox.store.rdbms.table.TableImpl.validateColumns(TableImpl.java:226)
      3. org.jpox.store.rdbms.table.TableImpl.validate(TableImpl.java:169)
      4. org.jpox.store.rdbms.RDBMSManager$ClassAdder.performTablesValidation(RDBMSManager.java:3071)
      5. org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(RDBMSManager.java:3313)
      6. org.jpox.store.rdbms.RDBMSManager$ClassAdder.run(RDBMSManager.java:2554)
      7. org.jpox.store.rdbms.RDBMSManager$MgmtTransaction.execute(RDBMSManager.java:2406)
      8. org.jpox.store.rdbms.RDBMSManager.addClasses(RDBMSManager.java:821)
      9. org.jpox.store.rdbms.RDBMSManager.addClass(RDBMSManager.java:835)
      10. org.jpox.store.StoreManager.getDatastoreClass(StoreManager.java:1161)
      10 frames
    3. org.jpox.state
      StateManagerFactory.newStateManager
      1. org.jpox.state.StateManagerImpl.populateStrategyFields(StateManagerImpl.java:785)
      2. org.jpox.state.StateManagerImpl.<init>(StateManagerImpl.java:582)
      3. org.jpox.state.StateManagerFactory.newStateManager(StateManagerFactory.java:105)
      3 frames
    4. org.jpox
      AbstractPersistenceManager.makePersistent
      1. org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1197)
      2. org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1261)
      2 frames
    5. org.romaframework.aspect
      JDOBasePersistenceAspect.createObject
      1. org.romaframework.aspect.persistence.jdo.JDOBasePersistenceAspect.createObject(Unknown Source)
      1 frame
    6. org.romaframework.module
      CRUDInstance.save
      1. org.romaframework.module.crud.CRUDInstance.save(Unknown Source)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. org.romaframework.core
      Controller.executeAction
      1. org.romaframework.core.flow.Controller.executeAction(Unknown Source)
      1 frame
    9. org.romaframework.aspect
      EntityForm.actionPerformed
      1. org.romaframework.aspect.view.echo2.form.EntityForm.executeAction(Unknown Source)
      2. org.romaframework.aspect.view.echo2.form.EntityForm.actionPerformed(Unknown Source)
      2 frames
    10. nextapp.echo2.app
      AbstractButton.fireActionPerformed
      1. nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135)
      1 frame
    11. echopointng
      ButtonEx$1.actionPerformed
      1. echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120)
      1 frame
    12. nextapp.echo2.app
      DefaultButtonModel.fireActionPerformed
      1. nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70)
      1 frame
    13. echopointng.model
      DefaultButtonModelEx.doAction
      1. echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51)
      1 frame
    14. echopointng
      ButtonEx.processInput
      1. echopointng.ButtonEx.processInput(ButtonEx.java:202)
      1 frame
    15. nextapp.echo2.app
      UpdateManager.processClientUpdates
      1. nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116)
      2. nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89)
      2 frames
    16. nextapp.echo2.webcontainer
      ContainerSynchronizeService.renderUpdate
      1. nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472)
      1 frame
    17. nextapp.echo2.webrender
      WebRenderServlet.process
      1. nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279)
      2. nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273)
      2 frames
    18. org.romaframework.aspect
      Echo2StartupServlet.process
      1. org.romaframework.aspect.view.echo2.Echo2StartupServlet.process(Unknown Source)
      1 frame
    19. nextapp.echo2.webrender
      WebRenderServlet.doPost
      1. nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189)
      1 frame
    20. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2 frames
    21. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
      2. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
      3. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
      3 frames
    22. org.mortbay.http
      HttpContext.handle
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
      1 frame
    23. Jetty Server
      WebApplicationContext.handle
      1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
      1 frame
    24. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
      2. org.mortbay.http.HttpServer.service(HttpServer.java:909)
      3. org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
      4. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
      5. org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
      6. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
      6 frames
    25. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
      2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      2 frames