I am using MySQL and here is a field definition in one of my tables: <property name="localityName" type="text" column="LocalityName"> </property> The field in the DB schema is of type "text" When I retrieve the hibernate objects and call the getter for this field I get back a string that contains the address of the string. for example: org.hibernate.Query q = HibernateUtil.getCurrentSession(). createQuery("from locality in class Locality where locality.localityId = 1858960246"); for (Object obj : q.list()) { Locality locality = (Locality)obj; System.out.println("getLocalityName: "+locality.getLocalityName()); } When it runs: getLocalityName: [EMAIL PROTECTED] It seems that Hibernate isn't correctly mapping the SQL "text" to java.lang.String correctly. Any suggestions? Thanks, Rod |