我的数据库名称是SPM,我想将其更改为spm (小写字母)。ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQLserver version for the right syntax to use near 'DATABASE SPM to spm' at line 1
我的服务器版本: 5.0.45
我有一个由注释指定的Mybatis的insert语句,并且我需要基于数据库H2或MySQL在insert中有一个不同的查询-基本上是: mysql的INSERT POINT(#{lat}, #{lng}) INTO table和H2的INSERT ST_POINT(#{lat}, #{lng}) INTO table。我如何为注释指定数据库类型,或者(通常)如何使用注释配置来完成此操作?