第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么我每次執(zhí)行后數(shù)據(jù)庫(kù)都沒(méi)有了數(shù)據(jù)

什么我每次執(zhí)行后數(shù)據(jù)庫(kù)都沒(méi)有了數(shù)據(jù)

五 14, 2016 9:21:16 下午 org.hibernate.annotations.common.Version <clinit>

INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}

五月 14, 2016 9:21:16 下午 org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {4.1.4.Final}

五月 14, 2016 9:21:16 下午 org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

五月 14, 2016 9:21:16 下午 org.hibernate.cfg.Environment buildBytecodeProvider

INFO: HHH000021: Bytecode provider name : javassist

五月 14, 2016 9:21:16 下午 org.hibernate.cfg.Configuration configure

INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml

五月 14, 2016 9:21:16 下午 org.hibernate.cfg.Configuration getConfigurationInputStream

INFO: HHH000040: Configuration resource: /hibernate.cfg.xml

五月 14, 2016 9:21:16 下午 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: entity/Students.hbm.xml

五月 14, 2016 9:21:16 下午 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: entity/Users.hbm.xml

五月 14, 2016 9:21:16 下午 org.hibernate.cfg.Configuration doConfigure

INFO: HHH000041: Configured SessionFactory: null

五月 14, 2016 9:21:16 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000402: Using Hibernate built-in connection pool (not for production use!)

五月 14, 2016 9:21:16 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000115: Hibernate connection pool size: 20

五月 14, 2016 9:21:16 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000006: Autocommit mode: false

五月 14, 2016 9:21:16 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql:///test?useUnicode=true&characterEncoding=UTF-8]

五月 14, 2016 9:21:16 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000046: Connection properties: {user=root, password=****}

Sat May 14 21:21:16 CST 2016 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

五月 14, 2016 9:21:17 下午 org.hibernate.dialect.Dialect <init>

INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect

五月 14, 2016 9:21:17 下午 org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService

INFO: HHH000399: Using default transaction strategy (direct JDBC transactions)

五月 14, 2016 9:21:17 下午 org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>

INFO: HHH000397: Using ASTQueryTranslatorFactory

五月 14, 2016 9:21:17 下午 org.hibernate.validator.util.Version <clinit>

信息: Hibernate Validator bean-validator-3.0-JBoss-4.0.2

五月 14, 2016 9:21:17 下午 org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA

信息: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

五月 14, 2016 9:21:17 下午 org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA

信息: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute

INFO: HHH000228: Running hbm2ddl schema update

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute

INFO: HHH000102: Fetching database metadata

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute

INFO: HHH000396: Updating schema

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000261: Table found: test.students

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000037: Columns: [birthday, sid, address, gender, sname]

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000108: Foreign keys: []

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000126: Indexes: [primary]

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000261: Table found: test.users

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000037: Columns: [uid, username, password]

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000108: Foreign keys: []

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000126: Indexes: [primary]

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute

INFO: HHH000232: Schema update complete

Hibernate:?

? ? insert?

? ? into

? ? ? ? STUDENTS

? ? ? ? (sname, gender, birthday, address, sid)?

? ? values

? ? ? ? (?, ?, ?, ?, ?)

Hibernate:?

? ? insert?

? ? into

? ? ? ? STUDENTS

? ? ? ? (sname, gender, birthday, address, sid)?

? ? values

? ? ? ? (?, ?, ?, ?, ?)

Hibernate:?

? ? insert?

? ? into

? ? ? ? STUDENTS

? ? ? ? (sname, gender, birthday, address, sid)?

? ? values

? ? ? ? (?, ?, ?, ?, ?)

五月 14, 2016 9:21:17 下午 org.hibernate.cfg.Configuration configure

INFO: HHH000043: Configuring from resource: /hibernate.cfg.xml

五月 14, 2016 9:21:17 下午 org.hibernate.cfg.Configuration getConfigurationInputStream

INFO: HHH000040: Configuration resource: /hibernate.cfg.xml

五月 14, 2016 9:21:17 下午 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: entity/Students.hbm.xml

五月 14, 2016 9:21:17 下午 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: entity/Users.hbm.xml

五月 14, 2016 9:21:17 下午 org.hibernate.cfg.Configuration doConfigure

INFO: HHH000041: Configured SessionFactory: null

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000402: Using Hibernate built-in connection pool (not for production use!)

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000115: Hibernate connection pool size: 20

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000006: Autocommit mode: false

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql:///test?useUnicode=true&characterEncoding=UTF-8]

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000046: Connection properties: {user=root, password=****}

Sat May 14 21:21:17 CST 2016 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

五月 14, 2016 9:21:17 下午 org.hibernate.dialect.Dialect <init>

INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect

五月 14, 2016 9:21:17 下午 org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService

INFO: HHH000399: Using default transaction strategy (direct JDBC transactions)

五月 14, 2016 9:21:17 下午 org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>

INFO: HHH000397: Using ASTQueryTranslatorFactory

五月 14, 2016 9:21:17 下午 org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA

信息: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

五月 14, 2016 9:21:17 下午 org.hibernate.validator.engine.resolver.DefaultTraversableResolver detectJPA

信息: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute

INFO: HHH000228: Running hbm2ddl schema update

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute

INFO: HHH000102: Fetching database metadata

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute

INFO: HHH000396: Updating schema

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000261: Table found: test.students

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000037: Columns: [birthday, sid, address, gender, sname]

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000108: Foreign keys: []

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000126: Indexes: [primary]

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000261: Table found: test.users

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000037: Columns: [uid, username, password]

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000108: Foreign keys: []

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.TableMetadata <init>

INFO: HHH000126: Indexes: [primary]

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute

INFO: HHH000232: Schema update complete

五月 14, 2016 9:21:17 下午 org.hibernate.dialect.Dialect <init>

INFO: HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect

五月 14, 2016 9:21:17 下午 org.hibernate.tool.hbm2ddl.SchemaExport execute

INFO: HHH000227: Running hbm2ddl schema export

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000402: Using Hibernate built-in connection pool (not for production use!)

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000115: Hibernate connection pool size: 20

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000006: Autocommit mode: false

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000401: using driver [com.mysql.jdbc.Driver] at URL [jdbc:mysql:///test?useUnicode=true&characterEncoding=UTF-8]

五月 14, 2016 9:21:17 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000046: Connection properties: {user=root, password=****}

Sat May 14 21:21:17 CST 2016 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.


? ? drop table if exists STUDENTS


? ? drop table if exists USERS


? ? create table STUDENTS (

? ? ? ? sid varchar(8) not null,

? ? ? ? sname varchar(255),

? ? ? ? gender varchar(255),

? ? ? ? birthday date,

? ? ? ? address varchar(255),

? ? ? ? primary key (sid)

? ? )


? ? create table USERS (

? ? ? ? uid integer not null auto_increment,

? ? ? ? username varchar(255),

? ? ? ? password varchar(255),

? ? ? ? primary key (uid)

? ? )

五月 14, 2016 9:21:18 下午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl stop

INFO: HHH000030: Cleaning up connection pool [jdbc:mysql:///test?useUnicode=true&characterEncoding=UTF-8]

五月 14, 2016 9:21:18 下午 org.hibernate.tool.hbm2ddl.SchemaExport execute

INFO: HHH000230: Schema export complete


正在回答

2 回答

表的生成策略是不是create,是的話每執(zhí)行一次,會(huì)先將之前的表刪除再重新創(chuàng)建新表,建議改成update

0 回復(fù) 有任何疑惑可以回復(fù)我~

刷新數(shù)據(jù)庫(kù)表試試


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為什么我每次執(zhí)行后數(shù)據(jù)庫(kù)都沒(méi)有了數(shù)據(jù)

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)