From: Carlos C. (JIRA) <ji...@an...> - 2007-12-26 01:34:27
|
[ http://jira.andromda.org/browse/HIB-202?page=all ] Carlos Cuenca closed HIB-202: ----------------------------- > Malformed hbm.xml file for the "timetracker" sample application > --------------------------------------------------------------- > > Key: HIB-202 > URL: http://jira.andromda.org/browse/HIB-202 > Project: Hibernate Cartridge > Type: Bug > Environment: Windows XP Proffessional edition, Jdk1.5.0_11, maven 2.0.4, andromdapp-maven-plugin-3.2, mysql-5.0.27, > Reporter: David Orejuela Esteban > Assignee: Carlos Cuenca > > When I execute the mvn install command, the hibernate mapping file User.hbm.xml looks like this: > <?xml version="1.0" encoding="UTF-8"?> > <!-- > Attention: Generated code! Do not modify by hand! > Generated by: hibernate.hbm.xml.vsl in andromda-hibernate-cartridge. > --> > <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" > "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> > <hibernate-mapping default-cascade="none"> > <class name="org.andromda.timetracker.domain.UserImpl" table="<html> > <head> > > </head> > <body> > <p> > USERS > </p> > </body> > </html>" dynamic-insert="false" dynamic-update="false"> > <id name="id" type="java.lang.Long" unsaved-value="null"> > <column name="ID" sql-type="BIGINT"/> > <generator class="native"> > </generator> > </id> > <property name="username" type="java.lang.String"> > <column name="USERNAME" not-null="true" unique="false" sql-type="VARCHAR(255) BINARY"/> > </property> > <property name="firstName" type="java.lang.String"> > <column name="FIRST_NAME" not-null="true" unique="false" sql-type="VARCHAR(255) BINARY"/> > </property> > <property name="lastName" type="java.lang.String"> > <column name="LAST_NAME" not-null="true" unique="false" sql-type="VARCHAR(255) BINARY"/> > </property> > </class> > </hibernate-mapping> > I've had problemos with the html code added to the attribute "table" of the "class" tag > Thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |