日期:2014-05-17 浏览次数:20728 次
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
Mapping file autogenerated by MyEclipse Persistence Tools
-->
<hibernate-mapping>
<class name="com.wsw.model.Plasmids" table="PLASMIDS" schema="PUBLIC" catalog="PUBLIC">
<id name="entriesId" type="long">
<column name="ENTRIES_ID" />
<generator class="assigned" />
</id>
<many-to-one name="entries" class="com.wsw.model.Entries" cascade="save-update" fetch="select">
<column name="ENTRIES_ID" not-null="true" unique="true"/>
</many-to-one>
<property name="backbone" type="string">
<column name="BACKBONE" length="127" />
</property>
<property name="circular" type="boolean">
<column name="CIRCULAR" />
</property>
<property name="originOfReplication" type="string">
<column name="ORIGIN_OF_REPLICATION" length="127" />
</property>
<property name="promoters" type="string">
<column name="PROMOTERS" length="512" />
</property>
<property name="replicatesIn" type="string">
<column name="REPLICATES_IN" />
</property>
</class>
</hibernate-mapping>
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
%%%% Error Creating SessionFactory %%%%
org.hibernate.MappingException: Repeated column in mapping for entity: com.wsw.model.Plasmids co