|
|
Sponsor |
Re: Custom types / "long" datatypes in custom functions: msg#00284apache.db.derby.devel
David Blasby wrote: > Unfortunately, the maximum size for varchar is only 32k. Spatial data > is commonly much much larger than this. "LONG VARCHAR FOR BIT DATA" > would be acceptable for storage, but you are unable to pass this to a > user-defined function (or return one). And unfortunately LONG VARCHAR FOR BIT DATA isn't much better, still limited at around 32k. Though both those limits could be removed fairly easily. The issue with passing LONG VARCHAR FOR BIT DATA and BLOB into functions is that types that need to be passed and returned are java.io.InputStream and java.sql.Blob respectively. Derby can return them for java.sql.ResultSet getBinaryStream and gteBlob but the logic is contained in the ResultSet implementation. I think that the logic from EmbedResultSet would need to move into the type system, e.g. SQLBlob. > Are "VARCHAR FOR BIT DATA" represented by a String type or a byte[]? byte[] Dan.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Custom types / "long" datatypes in custom functions, David Blasby |
|---|---|
| Next by Date: | Re: bug 5716 ..about Compatibility with DB2?, Satheesh Bandaram |
| Previous by Thread: | Re: Custom types / "long" datatypes in custom functions, David Blasby |
| Next by Thread: | [jira] Created: (DERBY-152) ERROR 42X01: Syntax error: Encountered "commit" at line 1, column 1., Bernd Ruehlicke (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|