× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: JTOpen 2.0 problem
  • From: "Franco Biaggi" <fbiaggi@xxxxxxxxxx>
  • Date: Wed, 10 Jan 2001 08:21:34 +0100

Hello,
following error with JTOpen 2.0 (The application work fine with the JTOpen
shipped with VAJ Enterprise).
(There is no data truncation...)

com.ibm.vap.common.VapPrepareFailureException: Prepare failure; nested 
exception is:
        java.sql.DataTruncation: Data truncation
com.ibm.vap.common.VapPrepareFailureException: Prepare failure; nested 
exception is:
        java.sql.DataTruncation: Data truncation
java.sql.DataTruncation: Data truncation at 
com.ibm.as400.access.AS400JDBCPreparedStatement.testDataTruncationAS400JDBCPreparedStatement.java:1891)
        at
com.ibm.as400.access.AS400JDBCPreparedStatement.setValue(AS400JDBCPreparedStatement.java:1871)
        at
com.ibm.as400.access.AS400JDBCPreparedStatement.setObject(AS400JDBCPreparedStatement.java:1551)
        at
com.ibm.ivj.db.base.DatabaseStringField.setFieldObject(DatabaseStringField.java)
        at
com.ibm.ivj.db.base.DatabaseTypeField.setObject(DatabaseTypeField.java)
        at
com.ibm.ivj.db.base.DatabaseConnection.setInputValues(DatabaseConnection.java)
        at
com.ibm.ivj.db.base.DatabaseConnection.executeQuerySpecWithValues(DatabaseConnection.java)
        at
com.ibm.ivj.db.base.DatabaseQuerySpec.executeOnConnection(DatabaseQuerySpecjava)
        at
com.ibm.vap.RelationalPersistence.SqlQuery.executeNonSelectWith(SqlQuery.java)
        at
com.ibm.vap.RelationalPersistence.SqlQuery.execute(SqlQuery.java)
        at
com.ibm.vap.RelationalPersistence.SqlQuery.execute(SqlQuery.java)
        at
com.ibm.vap.RelationalPersistence.RelationalServiceObject.executeQuery(RelationalServiceObject.java)
        at
com.ibm.vap.RelationalPersistence.RelationalServiceObject.executeOneInsert(RelationalServiceObject.java)
        at
com.ibm.vap.RelationalPersistence.RelationalServiceObject.executeInsert(RelationalServiceObject.java)
        at com.ibm.vap.Persistence.ServiceObject.insert(ServiceObject.java)
        at com.ibm.vap.Persistence.ServiceObject.insert(ServiceObject.java)
        at 
com.ibm.vap.Persistence.PersistentHomeCollection.executeInsert(PersistentHomeCollection.java)
        at
com.ibm.vap.Persistence.NewPersistentState.synchronize(NewPersistentState.java)
        at com.ibm.vap.Transactions.Version.synchronize(Version.java)
        at
com.ibm.vap.Persistence.Resource.synchronizeVersions(Resource.java)
        at com.ibm.vap.Persistence.Resource.primPrepare(Resource.java)
        at
com.ibm.vap.Persistence.ActiveResourceState.prepare(ActiveResourceState.java)
        at com.ibm.vap.Persistence.Resource.prepare(Resource.java)
        at
com.ibm.vap.Persistence.ResourceManager.prepareResources(ResourceManager.java)
        at
com.ibm.vap.Persistence.ResourceManager.synchronize(ResourceManager.java)
        at
com.ibm.vap.Transactions.Transaction.synchronizeToResources(Transaction.java)
        at
com.ibm.vap.Transactions.Transaction.primCommit(Transaction.java)
        at
com.ibm.vap.Transactions.ActiveTransactionState.primCommit(ActiveTransactionState.java)
        at
com.ibm.vap.Transactions.ActiveTransactionState.commit(ActiveTransactionState.java)
        at com.ibm.vap.Transactions.Transaction.commit(Transaction.java)


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Author" content="Franco Biaggi">
<meta name="GENERATOR" content="Franco Biaggi">
</head>

<body>

<p>&nbsp; </p>

<table BORDER="1" COLS="1" WIDTH="452" BGCOLOR="#FFFF00">
  <tr>
    <td width="446"><font face="Comic Sans MS"><small><small><br>
    <font color="#3333FF"><a href="http://www.ticino.com/usr/fbiaggi/">Franco 
Biaggi</a></font><small><br>
    <font color="#3333FF"><a href="http://www.sisa.ch">SISA Studio Informatica 
SA</a></font><small><small><small> <br>
    </small></small></small><font color="#3333FF">R&amp;D 
Services</font><small><small><small>
    <br>
    </small></small></small><font color="#3333FF">Via Carvina 
1</font><small><small><small> <br>
    </small></small></small><font color="#3333FF">CH-6807 
Taverne</font><small><small><small> <br>
    </small></small></small><font color="#3333FF">Tel. +41 91 935 75 35&nbsp; 
Fax. +41 91 935
    75 30</font></small></small></small><br>
    </small></small></small><font 
color="#3333FF">ICQ:59714125(disabled)</font><small><small><small> <br>
</font></td>
  </tr>
</table>
</body>
</html>



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.