Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

re-writing com.borland.dx.dataset.Column setColumnName() method?

24 views
Skip to first unread message

Crispin Veall

unread,
Jun 22, 2007, 6:33:32 AM6/22/07
to
I am encountering a problem using Columns with an Apache Derby backend,
whereby the column names have to be in uppercase. I am unsure if this
is an issue with the Dataset classes, or Derby, but I would like to
overcome it. I wanted to extend the Column class and override the
setColumnName() method to use something like:

public void setColumnName(String colName) {
super.setColumName(colName.toUpperCase());
}

Unfortunately setColumnName is set as final. Am I permitted to alter
the original Column source code and re-compile it (the final product
would be commercially distributed), or am I going to be forced to create
a new method in my extended class? I am only using the dataset
controls, not the JDatstore database.

Thanks for any help,
Crispin

Lori M Olson [TeamB]

unread,
Jun 23, 2007, 6:16:07 PM6/23/07
to

The dataset controls are collectively called dbSwing (I think), so you
should probably re-post in that group.

dbSwing is not being enhanced/supported any more. If you want a
definite legal answer about re-distribution of altered versions of
dbSwing you'll need to ask Borland/CodeGear. These groups are
peer-support, so we can't really answer questions like that.

--

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html

0 new messages