Hibernate-2.1 final <br>weblogic 6.1
why?
[code]
<2004-8-30 上午10时13分26秒> <Notice> <WebLogicServer> <ListenThread listening o
n port 7001>
<2004-8-30 上午10时13分27秒> <Notice> <WebLogicServer> <Started WebLogic Admin S
erver "myserver" for domain "mydomain" running in Production Mode>
- Hibernate 2.1 final
- loaded properties from resource hibernate.properties: {hibernate.cglib.use_ref
lection_optimizer=true, hibernate.cache.provider_class=net.sf.hibernate.cache.Ha
shtableCacheProvider, hibernate.transaction.manager_lookup_class=net.sf.hibernat
e.transaction.WeblogicTransactionManagerLookup, hibernate.max_fetch_depth=1, hib
ernate.dialect=net.sf.hibernate.dialect.OracleDialect, hibernate.jdbc.use_stream
s_for_binary=true, hibernate.jdbc.batch_size=0, hibernate.query.substitutions=tr
ue 1, false 0, yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.co
nnection.datasource=csms2sysjndi, hibernate.show_sql=true, hibernate.connection.
provider_class=net.sf.hibernate.connection.DatasourceConnectionProvider, hiberna
te.connection.pool_size=1}
- using java.io streams to persist binary types
- using CGLIB reflection optimizer
- JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets disab
led
- using workaround for JVM bug in java.sql.Timestamp
- Mapping resource: com/cao/Tool/Person.hbm.xml
- Mapping class: com.cao.Tool.Person -> Person
- Using dialect: net.sf.hibernate.dialect.OracleDialect
- processing one-to-many association mappings
- processing one-to-one association property references
- processing foreign key constraints
- processing one-to-many association mappings
- processing one-to-one association property references
- processing foreign key constraints
- Running hbm2ddl schema export
- writing generated schema to file: e:\sql2.txt
- exporting generated schema to database
- Initializing connection provider: net.sf.hibernate.connection.DatasourceConnec
tionProvider
- JNDI InitialContext properties:{}
- Using datasource: csms2sysjndi
drop table Person cascade constraints
create table Person (
id VARCHAR2(255) not null,
name VARCHAR2(255),
address VARCHAR2(255),
primary key (id)
)
- schema export complete
- processing one-to-many association mappings
- processing one-to-one association property references
- processing foreign key constraints
- Using dialect: net.sf.hibernate.dialect.OracleDialect
- Maximim outer join fetch depth: 1
- Use outer join fetching: true
- Initializing connection provider: net.sf.hibernate.connection.DatasourceConnec
tionProvider
- JNDI InitialContext properties:{}
- Using datasource: csms2sysjndi
- instantiating TransactionManagerLookup: net.sf.hibernate.transaction.WeblogicT
ransactionManagerLookup
- instantiated TransactionManagerLookup
- Use scrollable result sets: true
- echoing all SQL to stdout
- Query language substitutions: {false=0, no='N', yes='Y', true=1}
- cache provider: net.sf.hibernate.cache.HashtableCacheProvider
- instantiating and configuring caches
- building session factory
<2004-8-30 上午10时45分00秒> <Error> <HTTP> <[WebAppServletContext(-12110398,Def
aultWebApp,/DefaultWebApp)] Servlet failed with Exception
java.lang.NoSuchMethodError: net.sf.hibernate.persister.AbstractEntityPersister:
method getTableName()Ljava/lang/String; not found
at net.sf.hibernate.persister.AbstractEntityPersister.generateSelectVers
ionString(AbstractEntityPersister.java:1188)
at net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.jav
a:916)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(Pers
isterFactory.java:41)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.ja
va:136)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
java:726)
at com.cao.Tool.TestPerson.exe(TestPerson.java:68)
at com.cao.Tool.TestPerson.testName(TestPerson.java:54)
at jsp_servlet._cao.__myhib._jspService(__myhib.java:107)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:263)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2390)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1959)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
[code]
[/code]
|