[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

cgrahamatip do-not-reply at jboss.com
Thu May 31 18:00:31 EDT 2007


The hibernate mapping file didn't display so I will try to cut and paste again.

########### People.hbm.xml #######################

  | <?xml version="1.0"?>
  | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
  | <!-- Generated May 27, 2007 7:19:14 PM by Hibernate Tools 3.2.0.beta7 -->
  | <hibernate-mapping package="com.ipi.InformationPortal.model">
  | <class name="People" table="people" catalog="myDB">
  |         <comment></comment>
  |         <id name="peopleid" type="int">
  |             <column name="peopleid" />
  |             <generator class="native" />
  |         </id>
  |         <property name="firstName" type="string">
  |             <column name="first_name" length="45">
  |                 <comment></comment>
  |             </column>
  |         </property>
  |         <property name="middleInitial" type="string">
  |             <column name="middle_initial" length="1">
  |                 <comment></comment>
  |             </column>
  |         </property>
  |         <property name="lastName" type="string">
  |             <column name="last_name" length="65">
  |                 <comment></comment>
  |             </column>
  |         </property>
  |     </class> 
  | </hibernate-mapping>
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050329#4050329

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050329



More information about the jboss-user mailing list