org.hibernate.HibernateException: Wrong column type in DB-1427720664171.PUBLIC.SOME_ENTITY for column name. Found: varchar, expected: longvarchar

Hibernate JIRA | Arnaud Thimel | 2 years 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

    org.hibernate.HibernateException: Missing table: all

    Stack Overflow | 2 years ago | Denis
    org.hibernate.HibernateException: Missing table: all
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    HibernateException when validating mapping to MATERIALIZED VIEW in postgresql 9.3

    Stack Overflow | 2 years ago | astafev.evgeny
    org.hibernate.HibernateException: Missing table: subjects_lp
  4. 0

    Spring Roo mangaged entities: dissable optimistic locking

    Stack Overflow | 4 years ago | Viktors Oginskis
    org.hibernate.HibernateException: Missing column: version in COOL_DOMAIN

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.HibernateException

      Wrong column type in DB-1427720664171.PUBLIC.SOME_ENTITY for column name. Found: varchar, expected: longvarchar

      at org.hibernate.mapping.Table.validateColumns()
    2. Hibernate
      SchemaValidator.validate
      1. org.hibernate.mapping.Table.validateColumns(Table.java:372)
      2. org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1338)
      3. org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:175)
      3 frames