我提交表单时报一下信息,是怎么回事?
99297 [http-8080-1] INFO cfg.SettingsFactory - RDBMS: MySQL, version: 5.0.22-community-nt
99312 [http-8080-1] INFO cfg.SettingsFactory - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.10 ( $Date: 2005/05/19 15:52:23 $, $Revision: 1.1.2.2 $ )
99422 [http-8080-1] INFO dialect.Dialect - Using dialect: org.hibernate.dialect.MySQLDialect
99453 [http-8080-1] INFO transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
99469 [http-8080-1] INFO transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
99469 [http-8080-1] INFO cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
99469 [http-8080-1] INFO cfg.SettingsFactory - Automatic session close at end of transaction: disabled
99469 [http-8080-1] INFO cfg.SettingsFactory - JDBC batch size: 15
99469 [http-8080-1] INFO cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
99469 [http-8080-1] INFO cfg.SettingsFactory - Scrollable result sets: enabled
99469 [http-8080-1] INFO cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
99469 [http-8080-1] INFO cfg.SettingsFactory - Connection release mode: auto
99469 [http-8080-1] INFO cfg.SettingsFactory - Maximum outer join fetch depth: 2
99469 [http-8080-1] INFO cfg.SettingsFactory - Default batch fetch size: 1
99469 [http-8080-1] INFO cfg.SettingsFactory - Generate SQL with comments: disabled
99469 [http-8080-1] INFO cfg.SettingsFactory - Order SQL updates by primary key: disabled
99469 [http-8080-1] INFO cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
99500 [http-8080-1] INFO ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
99500 [http-8080-1] INFO cfg.SettingsFactory - Query language substitutions: {}
99500 [http-8080-1] INFO cfg.SettingsFactory - Second-level cache: enabled
99500 [http-8080-1] INFO cfg.SettingsFactory - Query cache: disabled
99500 [http-8080-1] INFO cfg.SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider
99516 [http-8080-1] INFO cfg.SettingsFactory - Optimize cache for minimal puts: disabled
99516 [http-8080-1] INFO cfg.SettingsFactory - Structured second-level cache entries: disabled
99578 [http-8080-1] INFO cfg.SettingsFactory - Echoing all SQL to stdout
99578 [http-8080-1] INFO cfg.SettingsFactory - Statistics: disabled
99578 [http-8080-1] INFO cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
99578 [http-8080-1] INFO cfg.SettingsFactory - Default entity-mode: pojo
99703 [http-8080-1] INFO impl.SessionFactoryImpl - building session factory
99734 [http-8080-1] WARN config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/E:/DEV/.metadata/.plugins/com.genuitec.eclipse.easie.tomcat.myeclipse/tomcat/webapps/MyProject/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
101281 [http-8080-1] INFO impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
Hibernate:
select
user0_.ID as ID0_,
user0_.USER_NAME as USER2_0_,
user0_.PASSWORD as PASSWORD0_,
user0_.EMAIL as EMAIL0_,
user0_.TEL as TEL0_
from
my_db.user user0_
where
user0_.USER_NAME=?
配置文件:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Generated by MyEclipse Hibernate Tools. -->
<hibernate-configuration>
<session-factory>
<property name="connection.url">jdbc:mysql://localhost:3306/my_db</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="myeclipse.connection.profile">com.mysql.jdbc.Driver</property>
<property name="connection.username">root</property>
<property name="connection.password">123</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="show_sql">true</property>
<property name="format_sql">true</property>
<mapping resource="com/project/user/po/User.hbm.xml" />
</session-factory>
</hibernate-configuration>