Status: New
Owner: ----
Labels: Type-Enhancement Priority-Low
New issue 146 by
EmilyKJa...@gmail.com: Add logging notice about database
location
https://code.google.com/p/uby/issues/detail?id=146
It would be nice if Uby displayed a very prominent notice when it is
working from a Maven packaged database versus when it is working from the
user's local database.
Recently, I followed the (outdated) tutorial code and created my Uby as
below. I wanted to use my local mysql.
ExternalResourceDescription myUbyResource = ExternalResourceFactory
.createExternalResourceDescription(
UbyResource.class,
UbyResource.PARAM_URL, "localhost/uby_open_0_6_0",
UbyResource.PARAM_DRIVER, "com.mysql.jdbc.Driver",
UbyResource.PARAM_LANGUAGE, "en",
UbyResource.PARAM_DIALECT, "mysql",
UbyResource.PARAM_USERNAME, "root",
UbyResource.PARAM_PASSWORD, "pass"
);
There weren't instructions anywhere to include this line:
UbyResource.PARAM_MODEL_LOCATION,
ResourceObjectProviderBase.NOT_REQUIRED,
and if I hadn't been fixing an unrelated exception, I might not have ever
discovered I was not using my local database.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings