hi
you can read the code in this file
~/h2/src/test/org/h2/samples/MixedMode.java

this are the rows that you must use

// now use the database in your application in embedded mode

Class.forName("org.h2.Driver");

Connection conn = DriverManager.getConnection("jdbc:h2:~/test", "sa",
"sa");

bye
L.J.


On 30 Set, 23:41, anjanBacchu <[EMAIL PROTECTED]> wrote:
> hi there,
>
>   is there a programmatic way to embed H2 ? If yes, is there sample
> code to do the same ?
>
> Thank you,
>
> BR,
> ~A

--~--~---------~--~----~------------~-------~--~----~
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