db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Shekhar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2247) provide set methods for blob in embeded driver
Date Tue, 22 May 2007 05:38:17 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497711
] 

Anurag Shekhar commented on DERBY-2247:
---------------------------------------

>BaseStorageFactory.createTemporaryFile() could still be used by other
>modules if it was written in terms of File.createTempFile(), but the
>implementation of the method would be simpler, like this:

>    public StorageFile createTemporaryFile(String prefix, String suffix)
>        throws IOException
>    {
>        return File.createTempFile(prefix, suffix,
>                                   new File(getTempDir().getPath()));
>    } 

I got confused and thought you are suggesting to take away the prams (prefix and suffix).
Are you suggesting to signature change from public StorageFile createTemporaryFile (String,
String) to public java.io.File createTemporaryFile (String, String) ? 

> provide set methods for blob in embeded driver
> ----------------------------------------------
>
>                 Key: DERBY-2247
>                 URL: https://issues.apache.org/jira/browse/DERBY-2247
>             Project: Derby
>          Issue Type: Sub-task
>          Components: JDBC
>         Environment: all
>            Reporter: Anurag Shekhar
>         Assigned To: Anurag Shekhar
>            Priority: Minor
>         Attachments: derby-2247-followup.diff, derby-2247-followup2.diff, derby-2247-followup2.diff,
derby-2247-v3-usingStoreFactory.diff, derby-2247-v4-usingStoreFactory.diff, derby-2247.diff,
derby-2247v2-using_StoreFactory.diff
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message