Questions tagged [uniobjects]

UniObjects refers to a family of database access API's from Rocket Software, enabling the .NET or Java developer native access to UniVerse and UniData data and functionality from within their IDE of choice.

UniObjects enables high-speed, native access to the U2 data servers - UniVerse and UniData for COM, .NET and Java as well as the U2 Java Persistence API (U2 JPA).

42 questions
4
votes
3 answers

UniData Data Access Products for .NET

I am doing some research about how to access data in a UniData database from .NET code. From what I have found, I can use UniObjects for .NET and U2.NET. I have also found this information, which I think is possible by using U2.NET, but I'm not…
Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
3
votes
2 answers

UniObjects for Java how to open sessions to emulate connection pooling

I'm developing an API that connects UniVerse database to a REST endopoint. The problem is that we dont have license for native connection pooling using the UniVerse library for Java. This software is developed in Java using Spring Boot, and the way…
becodev
  • 41
  • 2
3
votes
1 answer

How to connect to UNIDATA on Unix with uniobject for java

Can someone tell me the how to establish a connection to a UniData database that is on Unix with the UniObjects for Java API? Also does any know if this is possible with JavaScript or PHP?
3
votes
2 answers

How do I set the timezone for UniObjects?

I am connecting to an AIX 5.3 box from Win7Pro using Uniobjects for Java. When the udcs user logs in, /etc/profile is executed. It appears that /etc/environment is not sourced. If a rpc method (using aix user 'sbr') calls a Unidata subroutine that…
slestak
  • 153
  • 1
  • 8
3
votes
1 answer

Is there a UniObjects equivalent to the UniBASIC LOCATE?

I have looked at the documentation for UniObjects for Java and VB and do not see a way to search a UniDynArray without resorting to a loop. Is that the intention you think to rely on the API language (i.e. Java)? This is what I ended up doing in…
slestak
  • 153
  • 1
  • 8
2
votes
1 answer

UniFile ReadNamedFields

I'm currently using IBM's UniObjects and I trying to retrieve multiple fields from a UniFile at once to increase efficiency. UniFile uFile = uSession.CreateUniFile("fileName"); uFile.RecordID = inputID; string[] fieldNames = {"I_Field_1",…
jasonbryan
  • 115
  • 1
  • 11
2
votes
2 answers

Unidata UniObjects for .NET - Write amendments back to unidata from modified table

I'm trying to write data back into a file on Unidata, after the contents have been adjusted in a datagridview. I've tried various option based around the code below, but with no luck. Within the foreach section I want to update my file. The file…
2
votes
2 answers

Using UniDynArray on ASP.net MVC view page

Can anyone help me on how to use UniDynArray on ASP.net MVC3 (MS Visual Studio 2010) View Page? I managed to add reference (U2.Data.Client) to the project and I'm able to use it in the Controller, but not in View page. The reason to utilize the…
cwkueh
  • 23
  • 3
2
votes
1 answer

Where to get UniObjects for .NET?

I hate IBM's site. It is extremely hard to find anything on there let alone try to find it twice! I'm looking for the UniObjects for .NET. I did find the below files and have installed them (can't find them now on IBM's website) however when I go to…
thames
  • 5,833
  • 6
  • 38
  • 45
1
vote
1 answer

Multiple threads accessing UniData from UniObjects.NET throws UNI RPC error

We've been using UniObjects.NET without issue until we started using it with BizTalk which is a multithreaded product. The issue is the error below. This error only happens on the 2nd thread (and probably 3rd, 4th etc. threads). The 1st thread…
thames
  • 5,833
  • 6
  • 38
  • 45
1
vote
1 answer

Uni Objects .NET Running Query and getting result set

I've been playing around with UniObjects .NET. I would like to be able to run a SELECT query and get the data in to a form where I can run through the data. The documentation I've been using is at…
Luke
  • 22,826
  • 31
  • 110
  • 193
1
vote
1 answer

UniObjects for .NET OpenSession() Socket Exception

I'm trying to get an example running on my computer which comes packaged in the C:\IBM\UniDK\uonet\samples\C# directory. The name of the project is UniSelectList. This exact code, works perfectly on just one of our machines. At first I thought it…
Luke
  • 22,826
  • 31
  • 110
  • 193
1
vote
1 answer

How do you change the UniObjects.NET mode from using ... to using [ and ]?

How do you programmatically change the UniObjects.NET mode from using ... to using [ and ] when using the query command?
thames
  • 5,833
  • 6
  • 38
  • 45
1
vote
1 answer

What is the fastest way to GET a list of records from Universe DB file using C#.NET?

I want to perform a SELECT query which would make a hit to the Universe DB once only and get the list of records quickly and efficiently which would then be added to a List. I have tried to use U2DataAdapter as well as U2DataReader but not sure…
usafder
  • 791
  • 5
  • 17
1
vote
1 answer

Why does Uodotnet with Connection Pooling timeout?

We're trying to get connection pooling working with uodotnet and currently failing miserably. When we turn connection pooling off everything works as expected, but when we turn it on we often get timeouts or errors with one of the following trace…
Jackson Pope
  • 14,520
  • 6
  • 56
  • 80
1
2 3