我是刚刚学习Hibernate3 就碰到点问题下面 是我的配置文件,我用的是Sql2000数据库,想将数据写到hibernate数据库中,可是现在测试的时候它总是将数据写到master 表中,
<hibernate-configuration>
<session-factory >
<property name="hibernate.connection.url">jdbc:microsoft:sqlserver://MY:1433;database=hibernate;</property>
    <property name="hibernate.connection.driver_class">com.microsoft.jdbc.sqlserver.SQLServerDriver</property>
    <property name="hibernate.connection.username">sa</property>
    <property name="hibernate.connection.password">sa</property>
    <property name="hibernate.dialect">org.hibernate.dialect.SQLServerDialect</property>
   
<mapping resource="com/my/User.hbm.xml"/>
</session-factory>
</hibernate-configuration>在执行下面这段java 代码后
public static void main(String[] art)
{
Configuration cfg= new Configuration().configure();
SchemaExport export= new SchemaExport(cfg);
export.create(true, true);
}
在控制台输出
10:08:11,625  WARN JDBCExceptionReporter:55 - [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]已将数据库上下文改为 'master'。
这时它就将我的表都生成到Master这个库里了,这是为什么?