Article View: borland.public.jbuilder.database
Article #400Re: JBuilder/Java Application Upgrade
From: Patrick D. McAvoy
Date: Sun, 23 Oct 2005 04:09
Date: Sun, 23 Oct 2005 04:09
72 lines
4479 bytes
4479 bytes
Kevin Dean [TeamB] wrote: > Patrick D. McAvoy wrote: > >> Hello Java/JBuilder Gurus and other noble developers, >> >> I am working on a Java application that was developed several years >> ago using JBuilder 4 with Java 1.3. I am now assigned the task to >> upgrade the code to Java 5.0 using Eclipse 3.1. >> >> I have developed a project that implements Java 5.0 and incorporated >> the support libraries needed from JBuilder 2005 to support the >> classes used in the code. >> >> I'm receiving a runtime error concerning the Borland class >> com.borland.dx.DataSet. An index is reported missing for the DataSet >> object when the object is instantiated. >> >> My research points me to the DataExpress API, and the class file named >> "DataSet". All of the reference material I'm encountering covers >> ODBC/JDBC connectivity and processing, but nothing on the "plain" >> two-dimensional DataSet object that is coded in the application. Can >> anyone help me with this problem? >> >> I suspect that DataExpress API was introduced after JBuilder 4 (at >> least the version that was used in my application), and therefore my >> code, and specifically the code involved in processing the "DataSet" >> class is "deprecated" somehow. >> >> Am I on the right track? This would imply that all DataSet objects >> implemented in this dinosaur application would require substantial >> rennovation. >> >> Yes? Do I have a major problem here, or is there a simple solution? >> Has the class named "DataSet" changed radically from JBuilder 4 to >> present, specifically around this type of "memory-resident two >> dimensional pseudo-database object"? > > > I think that's the first time I've been classified as "noble", but I'll > take what I can get when I can get it. ;-) > > The original application was developed using the Borland DataExpress > components (DataSet is a core class in that library). These components > have changed somewhat over the years (though they are for the most part > backwards compatible unless you're extending it yourself with custom > providers and resolvers) so there may be incompatibilities between the > way the application was written and the way DataExpress works now. > > I'm pretty sure that Borland's licensing policy prohibits development > with their libraries in other tools, and while I have extensive > experience in DataExpress, I have none in Eclipse. If you're going to > do this, I suggest first that you use the tool for which DataExpress was > developed, namely JBuilder. > > Within JBuilder's help system, you'll find tutorials on developing > applications with DataExpress (see "Developing Database Applications" in > the help contents). I suggest you get familiar with basic concepts > around DataExpress before attempting this port. > > You also haven't provided enough information about the error. Stack > traces are enormously helpful. We don't do support by e-mail, so any > more information we ask for is always asked for here so that others can > share in the solution. > > Finally, this is the wrong group for this. Follow-up has been set to > b.p.jbuilder.database. Thank you, Kevin. I'm sorry for the mis-post. I'll seek follow-up in the database forum. Regards, PDM
Technical Details
Message-ID:
<435b0c3c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4359c503$1@newsgroups.borland.com> <xn0e8sjhj4q0ab000-kdean@www.teamb.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,dfe234fa77e3474b,start X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Sat, 22 Oct 2005 21:09:15 -0700 From: "Patrick D. McAvoy" <pat_mcavoy@informationserviceslimited.com> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.database Subject: Re: JBuilder/Java Application Upgrade References: <4359c503$1@newsgroups.borland.com> <xn0e8sjhj4q0ab000-kdean@www.teamb.com> In-Reply-To: <xn0e8sjhj4q0ab000-kdean@www.teamb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.180.107.41 Message-ID: <435b0c3c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130040380 67.180.107.41 (22 Oct 2005 21:06:20 -0700) Lines: 72 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail