Hi,

I think using the "baseDir" setting could solve the problem, for example
use "mem:" as the baseDir.

Another option is to use the system property "h2.urlMap", see
http://h2database.com/javadoc/org/h2/constant/SysProperties.html#h2.urlMap

Regards,
Thomas




On Wed, Oct 17, 2012 at 10:28 AM, Sebi2012 <
[email protected]> wrote:

> Hello,
>
> I want to use H2 as an In-Memory Database with ODBC.
>
> I have installed the PostGreSQL Driver and it works fine with ODBC
> connection from Delphi.
>
> The problem is that the ODBC connection always connects to a local
> database
> But I want to use this database In-Memory.
>
> Is there a way to create the H2 as an in-memory database with ODBC and to
> connect
> to this In-Memory Database?
>
> I hope someone can help me.
>
> Here my ODBC configuration(odbcad32.exe):
> Data Source: H2 Test
> Database: test;IFEXISTS=TRUE
> Server: localhost
> User name: sa
> Password: sa
> Server-side prepare: checked
>
> Thank you
>
> Sebi
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/h2-database/-/g8tQ2-dMdJUJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to