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 classes restore DB from prod

2 posts in General Discussion Last posting was on 2010-12-08 16:13:17.0Z
Sergio Diogo Posted on 2010-12-08 15:07:08.0Z
Sender: 55b5.4cff9e8e.1804289383@sybase.com
From: Sergio Diogo
Newsgroups: sybase.public.ase.general
Subject: java classes restore DB from prod
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4cff9f1c.55cb.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 8 Dec 2010 07:07:08 -0800
X-Trace: forums-1-dub 1291820828 10.22.241.41 (8 Dec 2010 07:07:08 -0800)
X-Original-Trace: 8 Dec 2010 07:07:08 -0800, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:29775
Article PK: 79008

Hi,

We are using java within Sybase and now Dev team needs to
refresh some databases on test and also wants to have those
java classes being "restored" on the test server.

Is there any way to include the java classes on the dump and
restore process or any other mechanism?

Thanks in advance,
Regards,
Sergio Diogo


Bret Halford Posted on 2010-12-08 16:13:17.0Z
From: Bret Halford <bret@sybase.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
Newsgroups: sybase.public.ase.general
Subject: Re: java classes restore DB from prod
References: <4cff9f1c.55cb.1681692777@sybase.com>
In-Reply-To: <4cff9f1c.55cb.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: <4cffae9d$1@forums-1-dub>
Date: 8 Dec 2010 08:13:17 -0800
X-Trace: forums-1-dub 1291824797 10.22.241.152 (8 Dec 2010 08:13:17 -0800)
X-Original-Trace: 8 Dec 2010 08:13:17 -0800, vip152.sybase.com
Lines: 20
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:29778
Article PK: 79007


On 12/8/2010 8:07 AM, Sergio Diogo wrote:
> Hi,
>
> We are using java within Sybase and now Dev team needs to
> refresh some databases on test and also wants to have those
> java classes being "restored" on the test server.
>
> Is there any way to include the java classes on the dump and
> restore process or any other mechanism?
>
> Thanks in advance,
> Regards,
> Sergio Diogo

Java classes can be stored in jar form in the sysjars table
using the installjava utility, they would then be part of the dump.

http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc30191.1550/html/utility/X23060.htm

-bret