dynamicgl / h2sharp

Automatically exported from code.google.com/p/h2sharp
0 stars 0 forks source link

Connection string not consistent with ADO.NET #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Right now the password and username are not in the connection string and 
are parameters. Also there is a lack of a connection string builder.

Original issue reported on code.google.com by Jono.Por...@gmail.com on 5 Jun 2008 at 11:22

GoogleCodeExporter commented 9 years ago
Hi,
Could you provide an example?
H2 supports using the user name and password in the connection URL.
Regards,
Thomas

Original comment by thomas.t...@gmail.com on 4 Jul 2008 at 5:29

GoogleCodeExporter commented 9 years ago
Hello Thomas,
Could give an example of the syntax to use when
we include user name and password into the connection
url string

Original comment by kkl.infe...@gmail.com on 14 Oct 2009 at 4:54

GoogleCodeExporter commented 9 years ago
Sure, the syntax is documented here:
http://www.h2database.com/html/features.html#passwords "Passing the User Name 
and/or
Password in the URL"

Example: jdbc:h2:~/test;USER=sa;PASSWORD=123

Original comment by thomas.t...@gmail.com on 16 Oct 2009 at 5:17