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:
@@ -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
|
// samskivert library - useful routines for java programs
|
||||||
// Copyright (C) 2001 Michael Bayne
|
// Copyright (C) 2001 Michael Bayne
|
||||||
@@ -60,6 +60,8 @@ public class LiaisonRegistry
|
|||||||
|
|
||||||
// if we didn't find a matching liaison, use the default
|
// if we didn't find a matching liaison, use the default
|
||||||
if (liaison == null) {
|
if (liaison == null) {
|
||||||
|
Log.warning("Unable to match liaison for database " +
|
||||||
|
"[url=" + url + "]. Using default.");
|
||||||
liaison = new DefaultLiaison();
|
liaison = new DefaultLiaison();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user