com.solarmetric.kodo.runtime.UserException: The column "IVHDR_UNID" was set to m ultiple different values in this SQL statement. This column was initially set to "24", and was subsequently set to "null". This is probably because the schema m apping uses a single column for multiple fields on the assumption that the field s will always store the same underlying value, but the assumption was broken.

Oracle Community | 3004 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Deleting dependent objects question

    Oracle Community | 1 decade ago | 3004
    com.solarmetric.kodo.runtime.UserException: The column "IVHDR_UNID" was set to m ultiple different values in this SQL statement. This column was initially set to "24", and was subsequently set to "null". This is probably because the schema m apping uses a single column for multiple fields on the assumption that the field s will always store the same underlying value, but the assumption was broken.

    Root Cause Analysis

    1. com.solarmetric.kodo.runtime.UserException

      The column "IVHDR_UNID" was set to m ultiple different values in this SQL statement. This column was initially set to "24", and was subsequently set to "null". This is probably because the schema m apping uses a single column for multiple fields on the assumption that the field s will always store the same underlying value, but the assumption was broken.

      at com.solarmetric.kodo.impl.jdbc.sql.Update.setInternal()
    2. com.solarmetric.kodo
      EEPersistenceManager.beforeCompletion
      1. com.solarmetric.kodo.impl.jdbc.sql.Update.setInternal(Update.java:166)
      2. com.solarmetric.kodo.impl.jdbc.sql.Update.set(Update.java:55)
      3. com.solarmetric.kodo.impl.jdbc.ormapping.OneToOneMapping.update(OneToOneMapping.java:255)
      4. com.solarmetric.kodo.impl.jdbc.ormapping.OneToOneMapping.insert(OneToOneMapping.java:232)
      5. com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.insert(ClassMapping.java:457)
      6. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:491)
      7. com.solarmetric.kodo.runtime.PersistenceManagerImpl.flushInternal(PersistenceManagerImpl.java:730)
      8. com.solarmetric.kodo.ee.EEPersistenceManager.beforeCompletion(EEPersistenceManager.java:208)
      8 frames
    3. JBoss Transaction 7.1.0 SPI
      TransactionImpl.commit
      1. org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1297)
      2. org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:338)
      2 frames
    4. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:369)
      2. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:253)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
      4. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
      5. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      6. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      7. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
      8. org.jboss.ejb.Container.invoke(Container.java:674)
      8 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    6. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    7. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    8. JBoss Application Server Server
      JRMPInvoker.invoke
      1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
      1 frame
    9. Java RT
      Thread.run
      1. sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      4. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      5. sun.rmi.transport.Transport$1.run(Transport.java:148)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      8. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      9. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport..java:701)
      10. java.lang.Thread.run(Thread.java:536)
      10 frames