用于语言翻译的种子堆栈i18n附加问题



地狱队,

当使用LocalizationService.locate(key,value(进行密钥转换时,它给出了以下异常

  1. javax.persistence.exception:org.hibernate.exception.SQLGrammarException:无法提取ResultSet位于org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147(

  2. org.hubinate.exception.SQLGrammaException:无法提取ResultSet位于org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63(

  3. java.sql.SQLSyntaxErrorException:"字段列表"中的未知列"translation1_Key_ID"在com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120(

感谢

作为插件源代码的一部分提供的DDL脚本不匹配:mysql和Oracle的脚本已经过时。脚本中提供了正确的结构:表SEED_I18N_KEY_TRANS中的hsql:TRANS_ID_FK列现在应命名为KEY_ID。

Github上已经打开了一张用于更正后续操作的票证。

最新更新