org.hibernate.exception.DataException although is catched
问题 I am working with Hibernate (hibernate3.jar) with and object "Cliente", like this: public class Cliente { private nombre; ... //set and get } The "nombre" attribute is mapped as: <property name="nombre" type="string"> <column name="nombre" length="30" not-null="true" /> </property> As you can see above, there is a character length limit squals to 30 . Here the things get complicated... I am trying to update the name with a long name in order to force an error: Session session = HibernateUtil