Hibernate 실체 프로필 User.hbm.xml

2285 단어 Hibernate
<?xml version="1.0"?>

<!DOCTYPE hibernate-mapping PUBLIC 

    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"

    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping 

    package="hibernate.domain">



    <class name="User" >

        <id name="u_id">

            <generator class="native"/>

        </id>

        <property name="u_name"/>

        <property name="u_come"/>

    </class>

    

</hibernate-mapping>

좋은 웹페이지 즐겨찾기