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
Assigned to: 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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV