Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  Buy Now
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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 Xin Tian Tai Ltd. of Beijing City (abbr, HXTT)

pb to update data in MS Access via JDBC
Valiente Francoise
2007-10-17 13:12:45.0
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.0
>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.0
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 © 1999-2017 Heng Xin Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap