Bonjour,
j'utilise
Eclipse Eclipse Indigo (3.7.1)
GWT : 2.3.0
aucune librairies GWT additionnelle
Hibernate 3.0
je suis débutant avec le GWT je suis entrain de développer ma première application GWT avec un accès au base de donnée en se basant sur Hbernate mais ça marche pas et je sais pas que dois-je faire pour résoudre ce problème je demande votre aide svp.
voila le resultat de la console :
je fichier : persistence.cfg.xml
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94 18 nov. 2011 16:04:31 org.hibernate.cfg.Environment <clinit> INFO: Hibernate 3.2.5 18 nov. 2011 16:04:31 org.hibernate.cfg.Environment <clinit> INFO: hibernate.properties not found 18 nov. 2011 16:04:31 org.hibernate.cfg.Environment buildBytecodeProvider INFO: Bytecode provider name : cglib 18 nov. 2011 16:04:31 org.hibernate.cfg.Environment <clinit> INFO: using JDK 1.4 java.sql.Timestamp handling 18 nov. 2011 16:04:31 org.hibernate.cfg.Configuration configure INFO: configuring from resource: persistence.cfg.xml 18 nov. 2011 16:04:31 org.hibernate.cfg.Configuration getConfigurationInputStream INFO: Configuration resource: persistence.cfg.xml 18 nov. 2011 16:04:32 org.hibernate.cfg.Configuration addResource INFO: Reading mappings from resource : auth.mapping.xml 18 nov. 2011 16:04:32 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues INFO: Mapping class: ma.rpc.exemple.client.Commande -> Commande 18 nov. 2011 16:04:32 org.hibernate.cfg.Configuration doConfigure INFO: Configured SessionFactory: null 18 nov. 2011 16:04:32 org.hibernate.connection.DriverManagerConnectionProvider configure INFO: Using Hibernate built-in connection pool (not for production use!) 18 nov. 2011 16:04:32 org.hibernate.connection.DriverManagerConnectionProvider configure INFO: Hibernate connection pool size: 20 18 nov. 2011 16:04:32 org.hibernate.connection.DriverManagerConnectionProvider configure INFO: autocommit mode: false 18 nov. 2011 16:04:32 org.hibernate.connection.DriverManagerConnectionProvider configure INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/struts 18 nov. 2011 16:04:32 org.hibernate.connection.DriverManagerConnectionProvider configure INFO: connection properties: {user=root} 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: RDBMS: MySQL, version: 5.1.32-community-log 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.12 ( Revision: ${bzr.revision-id} ) 18 nov. 2011 16:04:33 org.hibernate.dialect.Dialect <init> INFO: Using dialect: org.hibernate.dialect.MySQLDialect 18 nov. 2011 16:04:33 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory INFO: Using default transaction strategy (direct JDBC transactions) 18 nov. 2011 16:04:33 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Automatic flush during beforeCompletion(): disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Automatic session close at end of transaction: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: JDBC batch size: 15 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: JDBC batch updates for versioned data: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Scrollable result sets: enabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: JDBC3 getGeneratedKeys(): enabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Connection release mode: auto 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Maximum outer join fetch depth: 2 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Default batch fetch size: 1 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Generate SQL with comments: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Order SQL updates by primary key: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Order SQL inserts for batching: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 18 nov. 2011 16:04:33 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init> INFO: Using ASTQueryTranslatorFactory 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Query language substitutions: {} 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: JPA-QL strict compliance: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Second-level cache: enabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Query cache: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory createCacheProvider INFO: Cache provider: org.hibernate.cache.NoCacheProvider 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Optimize cache for minimal puts: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Structured second-level cache entries: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Echoing all SQL to stdout 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Statistics: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Deleted entity synthetic identifier rollback: disabled 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Default entity-mode: pojo 18 nov. 2011 16:04:33 org.hibernate.cfg.SettingsFactory buildSettings INFO: Named query checking : enabled 18 nov. 2011 16:04:33 org.hibernate.impl.SessionFactoryImpl <init> INFO: building session factory 18 nov. 2011 16:04:33 org.hibernate.impl.SessionFactoryObjectFactory addInstance INFO: Not binding factory to JNDI, no JNDI name configured
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 <?xml version='1.0' encoding='utf-8'?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <property name="dialect">org.hibernate.dialect.MySQLDialect</property> <property name="connection.url">jdbc:mysql://localhost:3306/struts</property> <property name="connection.username">root</property> <property name="connection.driver_class">com.mysql.jdbc.Driver</property> <property name="show_sql">true</property> <mapping resource="auth.mapping.xml" /> </session-factory> </hibernate-configuration>
Partager