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

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

為什么單元測試錯(cuò)誤但是數(shù)據(jù)庫結(jié)果正確

58bccfaf0001408e05000386.jpg

58bccfb00001956e05000282.jpg

以下是控制臺信息:

三月 06, 2017 10:52:45 上午 org.hibernate.annotations.common.Version <clinit>

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

三月 06, 2017 10:52:45 上午 org.hibernate.Version logVersion

INFO: HHH000412: Hibernate Core {4.2.4.Final}

三月 06, 2017 10:52:45 上午 org.hibernate.cfg.Environment <clinit>

INFO: HHH000206: hibernate.properties not found

三月 06, 2017 10:52:45 上午 org.hibernate.cfg.Environment buildBytecodeProvider

INFO: HHH000021: Bytecode provider name : javassist

三月 06, 2017 10:52:46 上午 org.hibernate.cfg.Configuration configure

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

三月 06, 2017 10:52:46 上午 org.hibernate.cfg.Configuration getConfigurationInputStream

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

三月 06, 2017 10:52:46 上午 org.hibernate.cfg.Configuration addResource

INFO: HHH000221: Reading mappings from resource: Student.hbm.xml

三月 06, 2017 10:52:46 上午 org.hibernate.internal.util.xml.DTDEntityResolver resolveEntity

WARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!

三月 06, 2017 10:52:46 上午 org.hibernate.cfg.Configuration doConfigure

INFO: HHH000041: Configured SessionFactory: null

三月 06, 2017 10:52:46 上午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

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

三月 06, 2017 10:52:46 上午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000115: Hibernate connection pool size: 20

三月 06, 2017 10:52:46 上午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

INFO: HHH000006: Autocommit mode: false

三月 06, 2017 10:52:46 上午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

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

三月 06, 2017 10:52:46 上午 org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure

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

三月 06, 2017 10:52:46 上午 org.hibernate.dialect.Dialect <init>

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

三月 06, 2017 10:52:46 上午 org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService

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

三月 06, 2017 10:52:46 上午 org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>

INFO: HHH000397: Using ASTQueryTranslatorFactory

三月 06, 2017 10:52:46 上午 org.hibernate.tool.hbm2ddl.SchemaExport execute

INFO: HHH000227: Running hbm2ddl schema export

Hibernate:?

? ? drop table if exists STUDENT

Hibernate:?

? ? create table STUDENT (

? ? ? ? SID integer not null,

? ? ? ? NAME varchar(255),

? ? ? ? GENDER varchar(255),

? ? ? ? BIRTHDAY datetime,

? ? ? ? ADDRESS varchar(255),

? ? ? ? primary key (SID)

? ? )

三月 06, 2017 10:52:47 上午 org.hibernate.tool.hbm2ddl.SchemaExport execute

INFO: HHH000230: Schema export complete

Hibernate:?

? ? insert?

? ? into

? ? ? ? STUDENT

? ? ? ? (NAME, GENDER, BIRTHDAY, ADDRESS, SID)?

? ? values

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


正在回答

1 回答

寫多了,你先看它報(bào)錯(cuò)(我發(fā)的有圖,你多關(guān)閉了下)然后看第二張圖的代碼,你刪掉一個(gè)就行了。

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

西西不小心 提問者

對對,嗨呀,太粗心!謝謝
2017-03-13 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

為什么單元測試錯(cuò)誤但是數(shù)據(jù)庫結(jié)果正確

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

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

幫助反饋 APP下載

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

公眾號

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