Internationalization 用于语言翻译的种子堆栈i18n加载项问题

Internationalization 用于语言翻译的种子堆栈i18n加载项问题,internationalization,seedstack,Internationalization,Seedstack,地狱队 使用LocalizationService.localize(键,值)进行键转换时,会出现以下异常 javax.persistence.PersistenceException:org.hibernate.exception.sqlgrammareexception:无法提取结果集 位于org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147) org.hibernate.e

地狱队

使用LocalizationService.localize(键,值)进行键转换时,会出现以下异常

  • javax.persistence.PersistenceException:org.hibernate.exception.sqlgrammareexception:无法提取结果集 位于org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147)

  • org.hibernate.exception.sqlgrammareexception:无法提取结果集 位于org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63)

  • java.sql.SQLSyntaxErrorException:字段列表中的未知列“translatio1\u.Key\u ID” 位于com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)


  • 谢谢

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

    已在Github上打开一个用于后续更正的