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.

How to use Java-Classes as user specified datatypes?

2 posts in General Discussion Last posting was on 2004-07-30 17:23:56.0Z
Gino Bonetti Posted on 2004-07-30 10:38:17.0Z
Sender: 272.410a238a.1804289383@sybase.com
From: Gino Bonetti
Newsgroups: ianywhere.public.general
Subject: How to use Java-Classes as user specified datatypes?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <410a2629.284.1681692777@sybase.com>
X-Original-NNTP-Posting-Host: 10.22.241.42
X-Original-Trace: 30 Jul 2004 03:42:49 -0700, 10.22.241.42
Lines: 13
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 30 Jul 2004 03:30:46 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 30 Jul 2004 03:38:17 -0700
X-Trace: forums-1-dub 1091183897 10.22.108.75 (30 Jul 2004 03:38:17 -0700)
X-Original-Trace: 30 Jul 2004 03:38:17 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3344
Article PK: 7254

We would like to insert a Java-Class as user specified
data-type
for an attribute within our table.

The database is java-enabled, the correct jdk is installed
but the
corresponding radio button for java-class in the properties-
dialogue for datatype ist disabled.

Can anyone please give us a hint how to get this thing to
work or tell us how to
install java-classes as datatypes in general (if we're doing
completely wrong...)?


Greg Fenton Posted on 2004-07-30 17:23:56.0Z
From: Greg Fenton <greg.fenton_NOSPAM_@ianywhere.com>
Organization: iAnywhere Solutions Inc.
User-Agent: Mozilla Thunderbird 1.6.3.2f (Windows/20040707)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.general
Subject: Re: How to use Java-Classes as user specified datatypes?
References: <410a2629.284.1681692777@sybase.com>
In-Reply-To: <410a2629.284.1681692777@sybase.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: vpn-concord-093.sybase.com
Message-ID: <410a853c$1@forums-2-dub>
X-Original-Trace: 30 Jul 2004 10:28:28 -0700, vpn-concord-093.sybase.com
Lines: 30
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 30 Jul 2004 10:16:22 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 30 Jul 2004 10:23:56 -0700
X-Trace: forums-1-dub 1091208236 10.22.108.75 (30 Jul 2004 10:23:56 -0700)
X-Original-Trace: 30 Jul 2004 10:23:56 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.general:3345
Article PK: 7253


Gino Bonetti wrote:
>
> Can anyone please give us a hint how to get this thing to
> work or tell us how to
> install java-classes as datatypes in general (if we're doing
> completely wrong...)?

Please always post the verison and build number of ASA that you are
using (e.g. use the command "dbeng8 -v" for ASA 8.x)

Can you describe the exact steps you have taken so far for getting the
Java class into the database?

BTW: Java classes as datatypes is a feature that was dropped from ASA as
of version 9.x. You can still use Java stored procedures, but you can
no longer store serialized objects and reference them directly (though
you can still store them as binary objects).

For more information on this feature change, see

http://tinyurl.com/6tlea (redirects to docs on ianywhere.com)

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/