mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 17:30:44 +02:00
add connector name shortcut to Session
This commit is contained in:
@@ -111,6 +111,7 @@ void DataTest::testSession()
|
||||
{
|
||||
Session sess(SessionFactory::instance().create("test", "cs"));
|
||||
assert ("test" == sess.impl()->connectorName());
|
||||
assert (sess.connector() == sess.impl()->connectorName());
|
||||
assert ("cs" == sess.impl()->connectionString());
|
||||
assert ("test:///cs" == sess.uri());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user