Highlighted
Absent Member.
Absent Member.
492 views

[archive] AcuXDBC Enterprise --> JDBC-Interface

[Migrated content. Thread originally posted on 18 April 2007]

In JAVA we use the JDBC-Interface of AcuXDBC Enterprise to have access to the VISION-Files. Here the ERROR-Message "Too many Columns" appears.

We know this Message from AcuXDBC Client. By increasing "Maximum Columns" on the register "Advanced" of "ODBC-Sources" (on the side of AcuXDBC client), we solved this. In this case the default value of AcuXDBC is just to low for the number of fields in our record.

How can we do this by using the JDBC-Interface of AcuXDBC Enterpris?


Regards
Frank-Peter Clees
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] AcuXDBC Enterprise --> JDBC-Interface

If anyone else wants to increase the "Maximum Columns" you have to add two columns to the example of the online documentation in chapter "8.2 Working with Java Applications":

1.
after the row
import java.sql. *;
you have to add
import java.util.Properties;

2.
after the row
Class.forName ("vortex.sql.vortexDriver ...
you have to add
info.put("max_columns", "1024");
before row
Connection conn = DriverManager.getConnection(url,info);

The default value is 256 and the maximum value is 8191, same range as ODBC.


Regards
Frank-Peter Clees
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.