MySQL迁移到PostgreSQL提示不良的类型值 ?

at org.hibernate.impl.SessionImpl.get(SessionImpl.java:998)
at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:781)
... 79 more
Caused by: org.postgresql.util.PSQLException: 不良的类型值 long : <div class="headerAd">
[#list adPosition.ads as ad]
[#if ad.hasBegun() && !ad.hasEnded() && ad.type == "image"]
[#if ad.url??]
<a href="${ad.url}">
<img src="${ad.path}" width="${adPosition.width}" height="${adPosition.height}" alt="${ad.title}" title="${ad.title}" />
</a>
[#else]
<img src="${ad.path}" width="${adPosition.width}" height="${adPosition.height}" alt="${ad.title}" title="${ad.title}" />
[/#if]
[/#if]
[/#list]
</div>




不良的类型值  是什么错误

你可能感兴趣的:(企业应用,PostgreSQL)