qq_20545159
scalad
2015-03-03 08:09

hibernate反向工程oracle12c报错

  • hibernate

.hbm.xml文件出错,从该文件中应该是用户名c##scott的问题,但到底问题在哪
<?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">

name="com.sina.domain.Users"
table="USERS"
schema="C>
name="id"
type="java.math.BigDecimal"
>


                <property
    name="name"
    type="java.lang.String"
>
        <column name="NAME" length="64" unique="true" 

/>

                <property
    name="password"
    type="java.lang.String"
>
        <column name="PASSWORD" length="128" not-null="true" 

/>


  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

0条回答