Commit cafc6ca2 authored by Liang Ding's avatar Liang Ding

🎨 处理跨版本升级

parent a4181a05
......@@ -108,7 +108,8 @@ public final class V300_310 {
transaction.commit();
LOGGER.log(Level.INFO, "Upgraded from version [3.0.0] to version [3.1.0] successfully");
LOGGER.log(Level.INFO, "Upgraded from version [3.0.0] to version [3.1.0] successfully, please restart Solo");
System.exit(0);
} catch (final Exception e) {
LOGGER.log(Level.ERROR, "Upgrade failed!", e);
......
......@@ -60,7 +60,7 @@ public final class V310_320 {
final String fromVer = "3.1.0";
final String toVer = "3.2.0";
LOGGER.log(Level.INFO, "Upgrading from version [" + fromVer + "] to version [" + fromVer + "]....");
LOGGER.log(Level.INFO, "Upgrading from version [" + fromVer + "] to version [" + toVer + "]....");
final BeanManager beanManager = BeanManager.getInstance();
final OptionRepository optionRepository = beanManager.getReference(OptionRepository.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment