Mapper icon indicating copy to clipboard operation
Mapper copied to clipboard

spring-boot中启动后,getEntityTable为null

Open shen0834 opened this issue 10 years ago • 2 comments

EntityTable entityTable = entityTableMap.get(entityClass); if (entityTable == null) { throw new RuntimeException("无法获取实体类" + entityClass.getCanonicalName() + "对应的表名!"); }

能否解决下,在热部署(restart classLoader)的状态下,entityTable是null的情况?

shen0834 avatar Aug 09 '16 06:08 shen0834

不支持热部署。

abel533 avatar Aug 09 '16 12:08 abel533

顺便问下,mapper有防止sql injection的措施吗?

shen0834 avatar Aug 15 '16 10:08 shen0834