I am reading from a UniVerse database using UniObjects for Java using the UniFile.read()
method. This is an example of the type of code I use for this.
...
UniFile uFile = uSession.open ("ORDERS");
UniDataSet datasetRequest = getUnidatasetRequest();
UniDataSet datasetResult = uFile.read(datasetRequest);
...
For most queries this works, but when I try to read an object file (eg SOMEFILE.O
), this read truncates the records within the file. I am thinking that the special characters in the object code are causing problems.
Is there a way to read object code records using UniObjects for Java?