-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: connexion hibernate eclipse ganymede oracle
PostPosted: Sat Dec 10, 2011 2:08 am 
Newbie

Joined: Sun Dec 04, 2011 9:43 am
Posts: 1
j'ai pas arriver a detecter le probleme,
à l'execution le console m'affiche:
Code:
07:48:06,200  INFO Environment:456 ? Hibernate 3.0rc1
07:48:06,203  INFO Environment:469 ? hibernate.properties not found
07:48:06,205  INFO Environment:502 ? using CGLIB reflection optimizer
07:48:06,206  INFO Environment:532 ? using JDK 1.4 java.sql.Timestamp handling
07:48:06,207  INFO Configuration:1228 ? configuring from resource: Motivation.cfg.xml
07:48:06,207  INFO Configuration:1199 ? Configuration resource: Motivation.cfg.xml
07:48:06,414  INFO Configuration:439 ? Mapping resource: Motivation.hbm.xml
07:48:06,484  INFO HbmBinder:256 ? Mapping class: com.grh.util.Motivation -> MOTIVATIONnnn
07:48:06,515  INFO Configuration:1340 ? Configured SessionFactory: motivation
07:48:06,515  INFO Configuration:844 ? processing extends queue
07:48:06,515  INFO Configuration:848 ? processing collection mappings
07:48:06,515  INFO Configuration:857 ? processing association property references
07:48:06,515  INFO Configuration:884 ? processing foreign key constraints
07:48:06,578  INFO Dialect:89 ? Using dialect: org.hibernate.dialect.Oracle10gDialect
07:48:06,578  INFO SettingsFactory:81 ? Default schema: diamah
07:48:06,578  INFO SettingsFactory:90 ? Default batch fetch size: 1
07:48:06,578  INFO SettingsFactory:94 ? Generate SQL with comments: disabled
07:48:06,578  INFO SettingsFactory:98 ? Order SQL updates by primary key: disabled
07:48:06,578  INFO SettingsFactory:273 ? Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
07:48:06,578  INFO ASTQueryTranslatorFactory:21 ? Using ASTQueryTranslatorFactory
07:48:06,578  INFO SettingsFactory:106 ? Query language substitutions: {}
07:48:06,578  INFO DriverManagerConnectionProvider:41 ? Using Hibernate built-in connection pool (not for production use!)
07:48:06,578  INFO DriverManagerConnectionProvider:42 ? Hibernate connection pool size: 10
07:48:06,578  INFO DriverManagerConnectionProvider:45 ? autocommit mode: false
07:48:06,601  INFO DriverManagerConnectionProvider:80 ? using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:diamah
07:48:06,601  INFO DriverManagerConnectionProvider:86 ? connection properties: {user=hosniGRH, password=****}
07:48:07,447  INFO SettingsFactory:148 ? JDBC batch size: 15
07:48:07,448  INFO SettingsFactory:151 ? JDBC batch updates for versioned data: disabled
07:48:07,449  INFO SettingsFactory:156 ? Scrollable result sets: enabled
07:48:07,449  INFO SettingsFactory:164 ? JDBC3 getGeneratedKeys(): disabled
07:48:07,452  INFO TransactionFactoryFactory:31 ? Using default transaction strategy (direct JDBC transactions)
07:48:07,454  INFO TransactionManagerLookupFactory:33 ? No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
07:48:07,454  INFO SettingsFactory:176 ? Automatic flush during beforeCompletion(): disabled
07:48:07,455  INFO SettingsFactory:179 ? Automatic session close at end of transaction: disabled
07:48:07,455  INFO SettingsFactory:260 ? Cache provider: org.hibernate.cache.EhCacheProvider
07:48:07,459  INFO SettingsFactory:187 ? Second-level cache: enabled
07:48:07,459  INFO SettingsFactory:192 ? Optimize cache for minimal puts: disabled
07:48:07,460  INFO SettingsFactory:199 ? Structured second-level cache entries: enabled
07:48:07,460  INFO SettingsFactory:203 ? Query cache: disabled
07:48:07,460  INFO SettingsFactory:210 ? Echoing all SQL to stdout
07:48:07,460  INFO SettingsFactory:214 ? Statistics: disabled
07:48:07,461  INFO SettingsFactory:218 ? Deleted entity synthetic identifier rollback: disabled
07:48:07,462  INFO SettingsFactory:232 ? Default entity-mode: pojo
07:48:07,573  INFO SessionFactoryImpl:140 ? building session factory
07:48:07,575 DEBUG CacheManager:191 ? Creating new CacheManager with default config
07:48:07,578 DEBUG CacheManager:164 ? Configuring ehcache from classpath.
07:48:07,580  WARN Configurator:126 ? No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Users/kAREM/Desktop/formation/WS_TEST/HibernateGettingStarted/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
07:48:07,585 DEBUG Configuration$DiskStore:185 ? Disk Store Path: C:\Users\kAREM\AppData\Local\Temp\
07:48:07,770  INFO SessionFactoryObjectFactory:86 ? Factory name: motivation
07:48:07,770  INFO NamingHelper:26 ? JNDI InitialContext properties:{}
07:48:07,817  WARN SessionFactoryObjectFactory:98 ? Could not bind factory to JNDI
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
   at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
   at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
   at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
   at javax.naming.InitialContext.getNameParser(InitialContext.java:480)
   at org.hibernate.util.NamingHelper.bind(NamingHelper.java:52)
   at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
   at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:247)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
   at com.grh.util.Main.main(Main.java:13)
07:48:07,819  INFO SessionFactoryImpl:366 ? Checking 0 named queries
07:48:07,946  WARN JDBCExceptionReporter:57 ? SQL Error: 942, SQLState: 42000
07:48:07,946 ERROR JDBCExceptionReporter:58 ? ORA-00942: Table ou vue inexistante

could not fetch initial value



Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.