On Mon, Nov 06, 2006 at 11:46:34AM -0700, Mark Neher wrote:
>
> I tried to go from a snapshot that I have used since February to 2.3 today
> (I'm running Linux), and have had trouble with aliases. Initially, I
> couldn't save aliases, so I went from 2.3 to the latest snapshot, as I see
> this has recently been fixed. In both 2.3 final and the snapshot, I am
> unable to load my previous aliases. I can't find anything about this in the
> change log or mailing lists, but I notice two things:
>
> -- in previous versions, the aliases are in .squirrel-sql/SQLAliases.xml;
> the new version stores aliases in
> .squirrel-sql/SQLAliases23.xml
> -- in SQLAliases.xml, the reference is to <Bean
> Class="net.sourceforge.squirrel_sql.fw.sql.SQLAlias">; in SQLAliases23.xml,
> the reference is to <Bean
> Class="net.sourceforge.squirrel_sql.client.gui.db.SQLAlias">. I assume this
> mismatch is why I can't load my old aliases, even when I copy SQLAliases.xml
> into SQLAliases23.xml
>
> As I said, I can't find any notes on this -- is there an upgrade path on
> this, either by script or manual editing, or do I have to re-enter all my
> aliases from scratch ??
Try renaming SQLAliases23.xml to something else, then start SQuirreL
and your old aliases should load. I believe the 23 file is left over
from the failed saving of aliases. If that works just delete the
backed up 23 file.
Robert Manning knows more about this so when its his time zone he may
correct me and tell you the true story.
--
Colin Bell
|