hibernate mysql 自动建表_Hibernate也可以自动建表

2003-9-16 10:36:12 net.sf.hibernate.cfg.Environment

信息: Hibernate 2.1 beta 3

2003-9-16 10:36:12 net.sf.hibernate.cfg.Environment

信息: loaded properties from resource hibernate.properties: {hibernate.connection.driver_class=com.mysql.jdbc.Driver, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.jdbc.use_streams_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=true 1, false 0, yes 'Y', no 'N', hibernate.query.imports=net.sf.hibernate.test, net.sf.hibernate.eg, hibernate.connection.username=root, hibernate.connection.url=jdbc:mysql://localhost/hibernatedb, hibernate.connection.password=, hibernate.statement_cache.size=25, hibernate.connection.pool_size=1}

2003-9-16 10:36:12 net.sf.hibernate.cfg.Environment

信息: using java.io streams to persist binary types

2003-9-16 10:36:12 net.sf.hibernate.cfg.Environment

信息: using CGLIB reflection optimizer

2003-9-16 10:36:12 net.sf.hibernate.cfg.Configuration addClass

信息: Mapping resource: hibernatedemo/person.hbm.xml

2003-9-16 10:36:15 net.sf.hibernate.cfg.Binder bindRootClass

信息: Mapping class: hibernatedemo.person -> person

2003-9-16 10:36:15 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing one-to-many association mappings

2003-9-16 10:36:15 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing one-to-one association property references

2003-9-16 10:36:15 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing foreign key constraints

2003-9-16 10:36:15 net.sf.hibernate.dialect.Dialect

信息: Using dialect: net.sf.hibernate.dialect.MySQLDialect

2003-9-16 10:36:15 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: Use outer join fetching: true

2003-9-16 10:36:15 net.sf.hibernate.connection.DriverManagerConnectionProvider configure

信息: Using Hibernate built-in connection pool (not for production use!)

2003-9-16 10:36:15 net.sf.hibernate.connection.DriverManagerConnectionProvider configure

信息: Hibernate connection pool size: 1

2003-9-16 10:36:15 net.sf.hibernate.connection.DriverManagerConnectionProvider configure

信息: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/hibernatedb

2003-9-16 10:36:15 net.sf.hibernate.connection.DriverManagerConnectionProvider configure

信息: connection properties: {user=root, password=}

2003-9-16 10:36:15 net.sf.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup

信息: No TransactionManagerLookup configured (use of process level read-write cache is not recommended)

2003-9-16 10:36:16 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: Use scrollable result sets: true

2003-9-16 10:36:16 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: Query language substitutions: {no='N', true=1, yes='Y', false=0}

2003-9-16 10:36:16 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: cache provider: net.sf.hibernate.cache.JCSCacheProvider

2003-9-16 10:36:16 net.sf.hibernate.cfg.Configuration configureCaches

信息: instantiating and configuring caches

2003-9-16 10:36:16 net.sf.hibernate.impl.SessionFactoryImpl

信息: building session factory

2003-9-16 10:36:18 net.sf.hibernate.impl.SessionFactoryObjectFactory addInstance

信息: no JNDI name configured

2003-9-16 10:36:18 net.sf.hibernate.dialect.Dialect

信息: Using dialect: net.sf.hibernate.dialect.MySQLDialect

2003-9-16 10:36:18 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing one-to-many association mappings

2003-9-16 10:36:18 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing one-to-one association property references

2003-9-16 10:36:18 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing foreign key constraints

2003-9-16 10:36:18 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing one-to-many association mappings

2003-9-16 10:36:18 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing one-to-one association property references

2003-9-16 10:36:18 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing foreign key constraints

2003-9-16 10:36:18 net.sf.hibernate.tool.hbm2ddl.SchemaExport execute

信息: Running hbm2ddl schema export

2003-9-16 10:36:18 net.sf.hibernate.tool.hbm2ddl.SchemaExport execute

信息: exporting generated schema to database

2003-9-16 10:36:18 net.sf.hibernate.connection.DriverManagerConnectionProvider configure

信息: Using Hibernate built-in connection pool (not for production use!)

2003-9-16 10:36:18 net.sf.hibernate.connection.DriverManagerConnectionProvider configure

信息: Hibernate connection pool size: 1

2003-9-16 10:36:18 net.sf.hibernate.connection.DriverManagerConnectionProvider configure

信息: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost/hibernatedb

2003-9-16 10:36:18 net.sf.hibernate.connection.DriverManagerConnectionProvider configure

信息: connection properties: {user=root, password=}

drop table person

create table person (

id VARCHAR(255) not null,

name VARCHAR(255),

pass VARCHAR(255),

primary key (id)

)

2003-9-16 10:36:18 net.sf.hibernate.tool.hbm2ddl.SchemaExport execute

信息: schema export complete

2003-9-16 10:36:18 net.sf.hibernate.connection.DriverManagerConnectionProvider close

信息: cleaning up connection pool: jdbc:mysql://localhost/hibernatedb

2003-9-16 10:36:18 net.sf.hibernate.connection.DriverManagerConnectionProvider close

信息: cleaning up connection pool: jdbc:mysql://localhost/hibernatedb

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值