java.lang.ClassCastException: java.util.HashMap cannot be cast to cn.x8p.db.entity.place.WaySearchPlaceMessage

Google Groups | George Wu | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    native query, why I got hashmap instead of an entity

    Google Groups | 6 months ago | George Wu
    java.lang.ClassCastException: java.util.HashMap cannot be cast to cn.x8p.db.entity.place.WaySearchPlaceMessage

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.HashMap cannot be cast to cn.x8p.db.entity.place.WaySearchPlaceMessage

      at cn.x8p.sql.place.message.result.Update.find()
    2. cn.x8p.sql
      Geohash.search
      1. cn.x8p.sql.place.message.result.Update.find(Update.java:45)
      2. cn.x8p.sql.place.message.list.Geohash.search(Geohash.java:62)
      2 frames