-->
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: arf SessionFactory: null
PostPosted: Tue Jun 24, 2008 10:49 am 
Newbie

Joined: Tue Jun 24, 2008 6:42 am
Posts: 19
Bonjour a tous, je suis débutant j'ai fais mon premier projet, ou j'essaye d'insérer une ligne dans une table et voila ce qui s'affiche sur la console, et bien sur rien dans ma table, ceci s'affiche juste après : Session session = HibernateUtil.currentSession();

Maintenant je n'avance plus, je n'ai aucune idée pour évoluer, c'est pourquoi j'en appel à vos lumières !!


Code:
16:44:25,566  INFO Environment:514 - Hibernate 3.2.6
16:44:25,581  INFO Environment:547 - hibernate.properties not found
16:44:25,581  INFO Environment:681 - Bytecode provider name : cglib
16:44:25,581  INFO Environment:598 - using JDK 1.4 java.sql.Timestamp handling
16:44:25,660  INFO Configuration:1432 - configuring from resource: /hibernate.cfg.xml
16:44:25,660  INFO Configuration:1409 - Configuration resource: /hibernate.cfg.xml
16:44:25,753  INFO Configuration:559 - Reading mappings from resource : test/Target.hbm.xml
16:44:25,847  INFO HbmBinder:300 - Mapping class: test.Target -> target
16:44:25,863  INFO Configuration:559 - Reading mappings from resource : test/Node.hbm.xml
16:44:25,894  INFO HbmBinder:300 - Mapping class: test.Node -> node

16:44:25,894 INFO Configuration:1547 - Configured SessionFactory: null
Code:
16:44:25,956  INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!)
16:44:25,956  INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 20
16:44:25,956  INFO DriverManagerConnectionProvider:45 - autocommit mode: false
16:44:25,972  INFO DriverManagerConnectionProvider:80 - using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql:///nod
16:44:25,972  INFO DriverManagerConnectionProvider:86 - connection properties: {user=root}
16:44:26,269  INFO SettingsFactory:89 - RDBMS: MySQL, version: 5.0.27-community-log
16:44:26,269  INFO SettingsFactory:90 - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
16:44:26,300  INFO Dialect:152 - Using dialect: org.hibernate.dialect.MySQLDialect
16:44:26,300  INFO TransactionFactoryFactory:31 - Using default transaction strategy (direct JDBC transactions)
16:44:26,300  INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
16:44:26,300  INFO SettingsFactory:143 - Automatic flush during beforeCompletion(): disabled
16:44:26,300  INFO SettingsFactory:147 - Automatic session close at end of transaction: disabled
16:44:26,300  INFO SettingsFactory:154 - JDBC batch size: 15
16:44:26,300  INFO SettingsFactory:157 - JDBC batch updates for versioned data: disabled
16:44:26,300  INFO SettingsFactory:162 - Scrollable result sets: enabled
16:44:26,300  INFO SettingsFactory:170 - JDBC3 getGeneratedKeys(): enabled
16:44:26,300  INFO SettingsFactory:178 - Connection release mode: auto
16:44:26,300  INFO SettingsFactory:202 - Maximum outer join fetch depth: 2
16:44:26,300  INFO SettingsFactory:205 - Default batch fetch size: 1
16:44:26,316  INFO SettingsFactory:209 - Generate SQL with comments: disabled
16:44:26,316  INFO SettingsFactory:213 - Order SQL updates by primary key: disabled
16:44:26,316  INFO SettingsFactory:217 - Order SQL inserts for batching: disabled
16:44:26,316  INFO SettingsFactory:386 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
16:44:26,316  INFO ASTQueryTranslatorFactory:24 - Using ASTQueryTranslatorFactory
16:44:26,316  INFO SettingsFactory:225 - Query language substitutions: {}
16:44:26,316  INFO SettingsFactory:230 - JPA-QL strict compliance: disabled
16:44:26,316  INFO SettingsFactory:235 - Second-level cache: enabled
16:44:26,316  INFO SettingsFactory:239 - Query cache: disabled
16:44:26,316  INFO SettingsFactory:373 - Cache provider: org.hibernate.cache.NoCacheProvider
16:44:26,316  INFO SettingsFactory:254 - Optimize cache for minimal puts: disabled
16:44:26,347  INFO SettingsFactory:263 - Structured second-level cache entries: disabled
16:44:26,347  INFO SettingsFactory:290 - Statistics: disabled
16:44:26,347  INFO SettingsFactory:294 - Deleted entity synthetic identifier rollback: disabled
16:44:26,347  INFO SettingsFactory:309 - Default entity-mode: pojo
16:44:26,347  INFO SettingsFactory:313 - Named query checking : enabled
16:44:26,378  INFO SessionFactoryImpl:161 - building session factory
16:44:26,659  INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured


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.