Log a warning if we find that we need to use the default database liaison

because that's generally a bad deal.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@325 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2001-09-20 02:17:03 +00:00
parent 33e39679da
commit 66bf203fc2
@@ -1,5 +1,5 @@
//
// $Id: LiaisonRegistry.java,v 1.2 2001/09/20 02:09:09 mdb Exp $
// $Id: LiaisonRegistry.java,v 1.3 2001/09/20 02:17:03 mdb Exp $
//
// samskivert library - useful routines for java programs
// Copyright (C) 2001 Michael Bayne
@@ -60,6 +60,8 @@ public class LiaisonRegistry
// if we didn't find a matching liaison, use the default
if (liaison == null) {
Log.warning("Unable to match liaison for database " +
"[url=" + url + "]. Using default.");
liaison = new DefaultLiaison();
}