Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Java API for ultralite udb file

5 posts in Ultralite Last posting was on 2012-07-24 12:57:47.0Z
Bob Piskac Posted on 2012-07-19 12:40:18.0Z
From: Bob Piskac <bob@pbsoftware.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Java API for ultralite udb file
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <50080032$1@forums-1-dub>
Date: 19 Jul 2012 05:40:18 -0700
X-Trace: forums-1-dub 1342701618 172.20.134.152 (19 Jul 2012 05:40:18 -0700)
X-Original-Trace: 19 Jul 2012 05:40:18 -0700, vip152.sybase.com
Lines: 2
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12745
Article PK: 854704

Can java write to a udb file instead on a ulj file? I need to write
desktop software using java and C/C++.


Chris Keating (Sybase, an SAP Company) Posted on 2012-07-20 14:57:48.0Z
From: "Chris Keating (Sybase, an SAP Company)" <last_name@sybase.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Re: Java API for ultralite udb file
References: <50080032$1@forums-1-dub>
In-Reply-To: <50080032$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <500971ec$1@forums-1-dub>
Date: 20 Jul 2012 07:57:48 -0700
X-Trace: forums-1-dub 1342796268 172.20.134.152 (20 Jul 2012 07:57:48 -0700)
X-Original-Trace: 20 Jul 2012 07:57:48 -0700, vip152.sybase.com
Lines: 11
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12746
Article PK: 1048551

The ULj, except for Ulj for Andriod, database file format is not
compatible with the C/C++ UltraLite database file format. Is there a
reason for choosing to use UL given the target platform is a desktop?

-chris

On 7/19/2012 8:40 AM, Bob Piskac wrote:
> Can java write to a udb file instead on a ulj file? I need to write
> desktop software using java and C/C++.


Bob Piskac Posted on 2012-07-23 13:37:57.0Z
Sender: 70b2.500d4aef.1804289383@sybase.com
From: Bob Piskac
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Re: Java API for ultralite udb file
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <500d53b4.722b.1681692777@sybase.com>
References: <500971ec$1@forums-1-dub>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 23 Jul 2012 06:37:57 -0700
X-Trace: forums-1-dub 1343050677 172.20.134.41 (23 Jul 2012 06:37:57 -0700)
X-Original-Trace: 23 Jul 2012 06:37:57 -0700, 172.20.134.41
Lines: 16
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12747
Article PK: 1048557

Just looking for an embedded db solution. I need a java and
C/CPP interface. I am assuming... No there is no Java API
that can read a udb file.

> The ULj, except for Ulj for Andriod, database file format
> is not compatible with the C/C++ UltraLite database file
> format. Is there a reason for choosing to use UL given
> the target platform is a desktop?
>
> -chris
>
>
> On 7/19/2012 8:40 AM, Bob Piskac wrote:
> > Can java write to a udb file instead on a ulj file? I
> > need to write desktop software using java and C/C++.
>


Chris Keating (Sybase, an SAP Company) Posted on 2012-07-23 17:14:32.0Z
From: "Chris Keating (Sybase, an SAP Company)" <last_name@sybase.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Re: Java API for ultralite udb file
References: <500971ec$1@forums-1-dub> <500d53b4.722b.1681692777@sybase.com>
In-Reply-To: <500d53b4.722b.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <500d8678$1@forums-1-dub>
Date: 23 Jul 2012 10:14:32 -0700
X-Trace: forums-1-dub 1343063672 172.20.134.152 (23 Jul 2012 10:14:32 -0700)
X-Original-Trace: 23 Jul 2012 10:14:32 -0700, vip152.sybase.com
Lines: 23
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12748
Article PK: 1048562

Correct, there is no supplied Java API that can access a 'udb' or C/C++
based database file format. You may be able to implement an interface
using JNI which the mechanism used for ULj for Android.

On 7/23/2012 9:37 AM, Bob Piskac wrote:
> Just looking for an embedded db solution. I need a java and
> C/CPP interface. I am assuming... No there is no Java API
> that can read a udb file.
>
>> The ULj, except for Ulj for Andriod, database file format
>> is not compatible with the C/C++ UltraLite database file
>> format. Is there a reason for choosing to use UL given
>> the target platform is a desktop?
>>
>> -chris
>>
>>
>> On 7/19/2012 8:40 AM, Bob Piskac wrote:
>>> Can java write to a udb file instead on a ulj file? I
>>> need to write desktop software using java and C/C++.
>>


Breck Carter [TeamSybase] Posted on 2012-07-24 12:57:47.0Z
From: "Breck Carter [TeamSybase]" <NOSPAM__breck.carter@gmail.com>
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Re: Java API for ultralite udb file
Organization: RisingRoad Professional Services
Reply-To: NOSPAM__breck.carter@gmail.com
Message-ID: <or6t081vh6nu13los3fjajdqgmsfqvg6i6@4ax.com>
References: <500971ec$1@forums-1-dub> <500d53b4.722b.1681692777@sybase.com>
X-Newsreader: Forte Agent 2.0/32.640
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 24 Jul 2012 05:57:47 -0700
X-Trace: forums-1-dub 1343134667 172.20.134.152 (24 Jul 2012 05:57:47 -0700)
X-Original-Trace: 24 Jul 2012 05:57:47 -0700, vip152.sybase.com
Lines: 23
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12749
Article PK: 1048563

How "embedded" do you want it? Lots of products hide dbeng*.exe under
the covers; e.g., Quicken ( go ahead, TRY to find the SQL Anywhere
engine under the covers when running that :)

On 23 Jul 2012 06:37:57 -0700, Bob Piskac wrote:

>Just looking for an embedded db solution. I need a java and
>C/CPP interface. I am assuming... No there is no Java API
>that can read a udb file.
>
>> The ULj, except for Ulj for Andriod, database file format
>> is not compatible with the C/C++ UltraLite database file
>> format. Is there a reason for choosing to use UL given
>> the target platform is a desktop?
>>
>> -chris
>>
>>
>> On 7/19/2012 8:40 AM, Bob Piskac wrote:
>> > Can java write to a udb file instead on a ulj file? I
>> > need to write desktop software using java and C/C++.
>>