database execute batch errors
Hi Im currently writing a program to index a collection of documents. I read the documents and then put the words/phrases in an arrayList of dataEntry (a special ADT that records the word and occurance). Then i add the word and occurance to a MS ACess database. For some reason sometimes i get a
sun.jdbc.odbc.JdbcOdbcBatchUpdateException: General error
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.emulateExecuteBatch(JdbcOdbcPreparedStatement.java :2163)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeBatchUpdate(JdbcOdbcPreparedStatement.java: 1781)
but not all the time, i was wondering if maybe some of my words are key words(though it mainly skrews up on phrases) if so how do i fix this and if that is not the problem does anyone have any ideas what it might be.
ps. if i do 1 document at a time I don't get any errors on the first document but 3word phrases and 4 word phrases both create errors on the second document.
By flashkid in forum .NET
Last Post: 05-31-2005, 12:14 PM
By Russ in forum Database
Last Post: 06-04-2002, 01:57 AM
By Michael Tzoanos in forum Database
Last Post: 04-12-2002, 12:19 PM
By Raffaele in forum VB Classic
Last Post: 06-27-2001, 10:28 AM
By Joshua in forum Database
Last Post: 10-27-2000, 08:39 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL