1 Reply Latest reply on Jan 23, 2006 1:53 PM by Robert Benkovitz

    Trouble persisting enum in SQL Server

    Robert Benkovitz Newbie


      I'm getting a strange message when I try to persist an enum value in an entity - it seems my JDBC connection cannot determine the type of the column where the enum will be saved. This is the message I get in the debug log:

      DEBUG [org.hibernate.type.EnumType] Unable to guess the column type for enum through conn.getMetadata(): [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.

      I'm not sure how to resolve this - Anyone else have this problem?