User 05309f4af8
30-07-2010 07:18:01
Hi,
I failed to save structure by Jchembase API. The failed sturcture file as attached.
JChemManager version: 5.2.6 Table type: Molecules database: sql server 2008
java code exception info:
chemaxon.jchem.db.UpdateHandlerException: Inserting a query or Markush structure is not allowed for table: "webshop_structure"
at chemaxon.jchem.db.UpdateHandler.readMolecule(UpdateHandler.java:1336)
at chemaxon.jchem.db.UpdateHandler.init(UpdateHandler.java:1107)
at chemaxon.jchem.db.UpdateHandler.execute(UpdateHandler.java:2200)
at com.founder.yacoo.webshop.dao.hibernate.CompoundDAOHibernate.saveStructure(CompoundDAOHibernate.java:72)
at com.founder.yacoo.webshop.service.impl.ProductServiceImpl.saveCompound(ProductServiceImpl.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy26.saveCompound(Unknown Source)
.................................
thank you very much!
best regards!
Andy