Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  Buy Now
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

pb to update data in MS Access via JDBC
Valiente Francoise
2007-10-17 13:12:45
I 've update datas in MS Access via JDBC with a Java TestCase. All was OK
Today I try to update datas with a Struts Action and I get theses errors :

Hibernate: update TVisitable set VisCanId=?, VisStaId=?, VisRef1Id=?, VisRef2Id=?, VisRef3Id=?, VisRef4Id=?, VisRef5Id=?, VisAlpha=?, VisNom=?, VisPrenom=?, VisMatricule=?, VisSitFam=?, VisCode=?, VisNumBadge=?, VisLibre1=?, VisLibre2=?, VisLibre3=?, VisLibre4=?, VisLibre5=?, VisLibre6=?, VisLibre7=?, VisLibre8=?, VisLibre9=?, VisZoneLibre=?, VisEmail=?, VisPhoto=?, VisPresence=?, VisPresPhoto=?, VisBoolLibre1=?, VisBoolLibre2=?, VisDateLibre1=?, VisDateLibre2=?, VisDateLibre3=?, VisDateModif=?, VisDateCreation=?, VisNombreBadge=?, VisDateFabBadge=?, VisRangBadge=?, VisPhotoCache=?, Visref1Id=? where VisId=?
WARN - SQL Error: 393216, SQLState: 60000
ERROR - java.sql.SQLException: Failed to upgrade the access mode of TVisitable table from "r" to "rw"
WARN - SQL Error: 393216, SQLState: 60000
ERROR - Failed to upgrade the access mode of TVisitable table from "r" to "rw"
WARN - SQL Error: 393216, SQLState: 60000
ERROR - Failed to upgrade the access mode of Client table from "r" to "rw"
WARN - SQL Error: 393216, SQLState: 60000
ERROR - T:\Client.mdb (Acc������s refus������)
ERROR - Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(
at org.hibernate.exception.SQLStateConverter.convert(
at org.hibernate.exception.JDBCExceptionHelper.convert(
at org.hibernate.jdbc.AbstractBatcher.executeBatch(
at org.hibernate.engine.ActionQueue.executeActions(
at org.hibernate.engine.ActionQueue.executeActions(
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(
at org.hibernate.impl.SessionImpl.flush(
at org.hibernate.impl.SessionImpl.managedFlush(
at org.hibernate.transaction.JDBCTransaction.commit(
at com.ide.bean.IdeBusinessBean.updateTVisitable(
at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(
at org.apache.struts.chain.commands.AbstractExecuteAction.execute(
at org.apache.struts.chain.commands.ActionCommandBase.execute(
at org.apache.commons.chain.impl.ChainBase.execute(
at org.apache.commons.chain.generic.LookupCommand.execute(
at org.apache.commons.chain.impl.ChainBase.execute(
at org.apache.struts.chain.ComposableRequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
at org.apache.tomcat.util.threads.ThreadPool$
at Source)
Caused by: java.sql.BatchUpdateException: java.sql.SQLException: Failed to upgrade the access mode of TVisitable table from "r" to "rw"
at Source)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(
at org.hibernate.jdbc.AbstractBatcher.executeBatch(
... 35 more

Can you help me?

Re:pb to update data in MS Access via JDBC
HXTT Support
2007-10-17 18:30:58
>ERROR - Failed to upgrade the access mode of Client table from "r" to "rw"
>WARN - SQL Error: 393216, SQLState: 60000
>ERROR - T:\Client.mdb (Acc������s refus������)
It seems that you're using net share driver? HXTT Access failed to find t:\Client.mdb when it tried to use "rw" mode for Client.mdb file. Whether your network speed is too slow or you haven't write right on that file?
Re:Re:pb to update data in MS Access via JDBC
valiente francoise
2007-10-18 01:38:35
Thanks for your response about my access pb. In effect, It was write right on the file.
It was due to a change of server.
Best Regards

F. Valiente

Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap