Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[jira] Assigned: (DERBY-189) ResultSetMetaData.getSchemaName and ResultSetM: msg#00556

apache.db.derby.devel

Subject: [jira] Assigned: (DERBY-189) ResultSetMetaData.getSchemaName and ResultSetMetaData.isWritable donot return correct values

[ http://issues.apache.org/jira/browse/DERBY-189?page=history ]

Mamta A. Satoor reassigned DERBY-189:
-------------------------------------

Assign To: Mamta A. Satoor

> ResultSetMetaData.getSchemaName and ResultSetMetaData.isWritable donot return
> correct values
> --------------------------------------------------------------------------------------------
>
> Key: DERBY-189
> URL: http://issues.apache.org/jira/browse/DERBY-189
> Project: Derby
> Type: Bug
> Versions: 10.1.0.0
> Reporter: Mamta A. Satoor
> Assignee: Mamta A. Satoor

>
> ResultSetMetaData among other methods has isWritable() and getSchemaName()
> and Derby engine does not return correct values for them. This needs to be
> fixed in order to support updatable resultset apis in Network Server mode
> since the client driver relies on these 2 methods.
> Derby Net Client and JCC driver rely on getSchemanName method to construct
> the correct "update where current of sql" for an updatRow. For eg, if the
> user is in say schema s1 and the updatable resultset is issued on a table
> from schema s2 with the sql "select c11 from s2.t1 for update". Currenly,
> getSchemaName returns null and hence, the client code constructs a sql like
> "update t1 ... where current of ...". ie the update is being issued against
> table t1 in schema s1. getSchemaName should return s2, so the driver can
> correctly genereat sql as "update s2.t1 ... where current of ...".
> In addition, the client code lets a user issue an updateXXX on a column only
> if the column is writable and it determines that by looking at the return
> value of isWritable(). Derby engine currently always returns false for this
> method and because of that, updateXXX fails in Network Server mode. Derby
> should return true for the columns which can be updated in the given
> resultset. For eg for "select c11, c12 from t1 for update of c11", isWritable
> should return true for c11 and false for c12.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation