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: nullCode:
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