In the meantime you should try out the current system using the durability=test flag, for your unit testing needs. It was implemented
specifically for this application from other user requests.  It does
no sychronous I/O so effectively uses the OS's memory cache.

James Synge (JIRA) wrote:
[ http://issues.apache.org/jira/browse/DERBY-646?page=comments#action_12369704 ]
James Synge commented on DERBY-646:
-----------------------------------

I'm with Mike in wanting to use this for unit testing purposes.  My group has a "fake" db 
implementation that provides an in-memory "database" (not sql), but it is becoming a pain 
to maintain it as we try to take more advantage of SQL features, so Stephen's solution sounds great.



In-memory backend storage support
---------------------------------

        Key: DERBY-646
        URL: http://issues.apache.org/jira/browse/DERBY-646
    Project: Derby
       Type: New Feature
 Components: Store
Environment: All
   Reporter: Stephen Fitch
   Assignee: Stephen Fitch
Attachments: svn.diff

To allow creation and modification of databases in-memory without requiring 
disk access or space to store the database.



Reply via email to