title: Error when I try to map(persist) my database
body: <p>I'am trying to map my database(jira database) using JPA/Hibernate.
  but an error occure when I do that!!(I have tried the same configuration on another database and it's worked)
  My cofiguration files:</p>
  
  <p><strong>persistence.xml:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;persistence version="2.0"
      xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"&gt;
      &lt;persistence-unit name="JIRAKPIPU" transaction-type="RESOURCE_LOCAL"&gt;
          &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;
          &lt;class&gt;DTOJIRA.Portalpage&lt;/class&gt;
          &lt;class&gt;DTOJIRA.QrtzFiredTriggers&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Jiraworkflows&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Externalgadget&lt;/class&gt;
          &lt;class&gt;DTOJIRA.OsHistorystepPrev&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Versioncontrol&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdApplicationAddress&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Oauthspconsumer&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Label&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Propertydata&lt;/class&gt;
          &lt;class&gt;DTOJIRA.ExternalEntities&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Changeitem&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Upgradehistory&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Favouriteassociations&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Jiraaction&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Issuestatus&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Priority&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Serviceconfig&lt;/class&gt;
          &lt;class&gt;DTOJIRA.QrtzJobDetails&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Permissionscheme&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Userhistoryitem&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Oauthconsumertoken&lt;/class&gt;
          &lt;class&gt;DTOJIRA.QrtzJobListeners&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldlayoutscheme&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Jiraeventtype&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Genericconfiguration&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Searchrequest&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Configurationcontext&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Changegroup&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Customfieldoption&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Customfield&lt;/class&gt;
          &lt;class&gt;DTOJIRA.OsCurrentstepPrev&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Userassociation&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Remembermetoken&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Userbase&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldconfigscheme&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Jiraissue&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdDirectoryOperation&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Issuetypescreenscheme&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Gadgetuserpreference&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Filtersubscription&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Optionconfiguration&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Projectroleactor&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldscreen&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Propertydate&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Oauthsptoken&lt;/class&gt;
          &lt;class&gt;DTOJIRA.QrtzCronTriggers&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Schemeissuesecuritylevels&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Upgradeversionhistory&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Projectversion&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdDirectory&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldscreenlayoutitem&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldscreenschemeitem&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Notificationscheme&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Issuelinktype&lt;/class&gt;
          &lt;class&gt;DTOJIRA.OsWfentry&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldscreenscheme&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Notification&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Issuesecurityscheme&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Schemeissuesecurities&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Jiradraftworkflows&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdApplication&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Jiraperms&lt;/class&gt;
          &lt;class&gt;DTOJIRA.QrtzSimpleTriggers&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldscreentab&lt;/class&gt;
          &lt;class&gt;DTOJIRA.QrtzTriggers&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Component&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Issuelink&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Trustedapp&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fileattachment&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Propertydecimal&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Propertystring&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Avatar&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Project&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdUser&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Membershipbase&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdDirectoryAttribute&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Workflowschemeentity&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Notificationinstance&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldconfigschemeissuetype&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Schemepermissions&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Projectrole&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Issuetype&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Columnlayoutitem&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Groupbase&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Columnlayout&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Mailserver&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Sharepermissions&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Propertyentry&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Oauthconsumer&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdMembership&lt;/class&gt;
          &lt;class&gt;DTOJIRA.SequenceValueItem&lt;/class&gt;
          &lt;class&gt;DTOJIRA.TrackbackPing&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldlayout&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Customfieldvalue&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Propertynumber&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Workflowscheme&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Listenerconfig&lt;/class&gt;
          &lt;class&gt;DTOJIRA.QrtzTriggerListeners&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Portletconfiguration&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Projectcategory&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldlayoutitem&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Pluginversion&lt;/class&gt;
          &lt;class&gt;DTOJIRA.OsHistorystep&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdGroup&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdGroupAttributes&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldlayoutschemeassociation&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Issuetypescreenschemeentity&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldconfiguration&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Fieldlayoutschemeentity&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Propertytext&lt;/class&gt;
          &lt;class&gt;DTOJIRA.OsCurrentstep&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Resolution&lt;/class&gt;
          &lt;class&gt;DTOJIRA.QrtzCalendars&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Worklog&lt;/class&gt;
          &lt;class&gt;DTOJIRA.Nodeassociation&lt;/class&gt;
          &lt;class&gt;DTOJIRA.CwdUserAttributes&lt;/class&gt;
          &lt;exclude-unlisted-classes&gt;false&lt;/exclude-unlisted-classes&gt;
          &lt;properties&gt;
              &lt;property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/jiradb" /&gt;
              &lt;property name="javax.persistence.jdbc.password" value="root" /&gt;
              &lt;property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" /&gt;
              &lt;property name="javax.persistence.jdbc.user" value="root" /&gt;
          &lt;/properties&gt;
      &lt;/persistence-unit&gt;
  &lt;/persistence&gt;
  
  **hibernate.cfg.xml**
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;
  &lt;hibernate-configuration&gt;
      &lt;session-factory&gt;
          &lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.MySQLDialect&lt;/property&gt;
          &lt;property name="hibernate.connection.driver_class"&gt;com.mysql.jdbc.Driver&lt;/property&gt;
          &lt;property name="hibernate.connection.url"&gt;jdbc:mysql://localhost:3306/jiradb&lt;/property&gt;
          &lt;property name="hibernate.connection.username"&gt;root&lt;/property&gt;
          &lt;property name="hibernate.connection.password"&gt;root&lt;/property&gt;
      &lt;/session-factory&gt;
  &lt;/hibernate-configuration&gt;
  </code></pre>
  
  <p><strong>My class Read:</strong></p>
  
  <pre><code>public class JiraissueRead {
      EntityManagerFactory emf = Persistence
              .createEntityManagerFactory("JIRAKPIPU");
      EntityManager em = emf.createEntityManager();
  
      public JiraissueRead() {
      }
  
      public Jiraissue findKpi(Integer id) {
          System.out.println("ttttttttttttttttttttttttttttttttt");
  
          try {
  
              EntityTransaction entr = em.getTransaction();
              System.out.println("debut 1");
              entr.begin();
              entr.commit();
              System.out.println("debut 2");
              Jiraissue j = em.find(Jiraissue.class, id);
              return j;
          } catch (Exception e) {
              System.out.println(e.getMessage());
          } finally {
              em.close();
          }
          return null;
      }
  }
  </code></pre>
  
  <p><strong>MAin:</strong></p>
  
  <pre><code>public static void main(String[] args) {
      // TODO code application logic here
      JiraissueRead jiraissue = new JiraissueRead();
      System.out.println("_______________");
      System.out.println(jiraissue.findKpi(10000));
  
  }
  </code></pre>
  
  <p><strong>The error</strong></p>
  
  <pre><code>17 juin 2011 17:39:12 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findById =&gt; SELECT c FROM CwdUserAttributes c WHERE c.id = :id
  17 juin 2011 17:39:12 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findByUserId =&gt; SELECT c FROM   CwdUserAttributes c WHERE c.userId = :userId
  17 juin 2011 17:39:12 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findByDirectoryId =&gt; SELECT c FROM    CwdUserAttributes c WHERE c.directoryId = :directoryId
  17 juin 2011 17:39:12 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findByAttributeName =&gt; SELECT c FROM CwdUserAttributes c WHERE c.attributeName = :attributeName
   17 juin 2011 17:39:12 org.hibernate.cfg.annotations.QueryBinder bindQuery
   INFO: Binding Named query: CwdUserAttributes.findByAttributeValue =&gt; SELECT c FROM   CwdUserAttributes c WHERE c.attributeValue = :attributeValue
   17 juin 2011 17:39:12 org.hibernate.cfg.annotations.QueryBinder bindQuery
   INFO: Binding Named query: CwdUserAttributes.findByLowerAttributeValue =&gt; SELECT c FROM CwdUserAttributes c WHERE c.lowerAttributeValue = :lowerAttributeValue
   17 juin 2011 17:39:12 org.hibernate.cfg.annotations.EntityBinder bindTable
   INFO: Bind entity DTOJIRA.CwdUserAttributes on table cwd_user_attributes
   17 juin 2011 17:39:12 org.hibernate.cfg.AnnotationConfiguration secondPassCompile
   INFO: Hibernate Validator not found: ignoring
    17 juin 2011 17:39:12 org.hibernate.connection.UserSuppliedConnectionProvider configure
   ATTENTION: No connection properties specified - the user must supply JDBC connections
   Exception in thread "main" javax.persistence.PersistenceException: [PersistenceUnit: J  IRAKPIPU] Unable to build EntityManagerFactory
   at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
  at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory  (HibernatePersistence.java:126)
  at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
  at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
  at DAOJIRA.JiraissueRead.&lt;init&gt;(JiraissueRead.java:16)
  at DAOJIRA.Main.main(Main.java:18)
   Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
  at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
  at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
  at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
  at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
  at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory   (AnnotationConfiguration.java:859)
  at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
  ... 5 more
  Java Result: 1
  </code></pre>
  
  <p>After I have added the hibernate.dialect to my persistence.xml and the error changed,know the error is(the error it's too long):</p>
  
  <pre><code>INFO: Binding Named query: Nodeassociation.findAll =&gt; SELECT n FROM Nodeassociation n
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: Nodeassociation.findBySourceNodeId =&gt; SELECT n FROM     Nodeassociation n WHERE n.nodeassociationPK.sourceNodeId = :sourceNodeId
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: Nodeassociation.findBySourceNodeEntity =&gt; SELECT n FROM      Nodeassociation n WHERE n.nodeassociationPK.sourceNodeEntity = :sourceNodeEntity
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: Nodeassociation.findBySinkNodeId =&gt; SELECT n FROM Nodeassociation n WHERE n.nodeassociationPK.sinkNodeId = :sinkNodeId
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: Nodeassociation.findBySinkNodeEntity =&gt; SELECT n FROM    Nodeassociation n WHERE n.nodeassociationPK.sinkNodeEntity = :sinkNodeEntity
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: Nodeassociation.findByAssociationType =&gt; SELECT n FROM Nodeassociation n WHERE n.nodeassociationPK.associationType = :associationType
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: Nodeassociation.findBySequence =&gt; SELECT n FROM   Nodeassociation n WHERE n.sequence = :sequence
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.EntityBinder bindTable
  INFO: Bind entity DTOJIRA.Nodeassociation on table nodeassociation
  18 juin 2011 09:49:46 org.hibernate.cfg.AnnotationBinder bindClass
  INFO: Binding entity from annotated class: DTOJIRA.CwdUserAttributes
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findAll =&gt; SELECT c FROM CwdUserAttributes c
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findById =&gt; SELECT c FROM CwdUserAttributes c WHERE c.id = :id
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findByUserId =&gt; SELECT c FROM  CwdUserAttributes c WHERE c.userId = :userId
   18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findByDirectoryId =&gt; SELECT c FROM    CwdUserAttributes c WHERE c.directoryId = :directoryId
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findByAttributeName =&gt; SELECT c FROM  CwdUserAttributes c WHERE c.attributeName = :attributeName
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findByAttributeValue =&gt; SELECT c FROM    CwdUserAttributes c WHERE c.attributeValue = :attributeValue
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.QueryBinder bindQuery
  INFO: Binding Named query: CwdUserAttributes.findByLowerAttributeValue =&gt; SELECT c FROM CwdUserAttributes c WHERE c.lowerAttributeValue = :lowerAttributeValue
  18 juin 2011 09:49:46 org.hibernate.cfg.annotations.EntityBinder bindTable
  INFO: Bind entity DTOJIRA.CwdUserAttributes on table cwd_user_attributes
  18 juin 2011 09:49:46 org.hibernate.cfg.AnnotationConfiguration secondPassCompile
  INFO: Hibernate Validator not found: ignoring
  18 juin 2011 09:49:47 org.hibernate.connection.UserSuppliedConnectionProvider configure
  ATTENTION: No connection properties specified - the user must supply JDBC connections
  juin 2011 09:49:47 org.hibernate.dialect.Dialect &lt;init&gt;
  INFO: Using dialect: org.hibernate.dialect.MySQLDialect
  18 juin 2011 09:49:47 org.hibernate.transaction.TransactionFactoryFactory       buildTransactionFactory
  INFO: Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
  18 juin 2011 09:49:47 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 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Automatic flush during beforeCompletion(): disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Automatic session close at end of transaction: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Scrollable result sets: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: JDBC3 getGeneratedKeys(): disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Connection release mode: auto
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Maximum outer join fetch depth: 2
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Default batch fetch size: 1
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Generate SQL with comments: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Order SQL updates by primary key: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Order SQL inserts for batching: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
  INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
  18 juin 2011 09:49:47 org.hibernate.hql.ast.ASTQueryTranslatorFactory &lt;init&gt;
  INFO: Using ASTQueryTranslatorFactory
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Query language substitutions: {}
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: JPA-QL strict compliance: enabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Second-level cache: enabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Query cache: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory createCacheProvider
  INFO: Cache provider: org.hibernate.cache.NoCacheProvider
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Optimize cache for minimal puts: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Structured second-level cache entries: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Statistics: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Deleted entity synthetic identifier rollback: disabled
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Default entity-mode: pojo
  18 juin 2011 09:49:47 org.hibernate.cfg.SettingsFactory buildSettings
  INFO: Named query checking : enabled
  18 juin 2011 09:49:47 org.hibernate.impl.SessionFactoryImpl &lt;init&gt;
  INFO: building session factory
  18 juin 2011 09:49:47 org.hibernate.impl.SessionFactoryObjectFactory addInstance
  INFO: Not binding factory to JNDI, no JNDI name configured
   _______________
   ttttttttttttttttttttttttttttttttt
  debut 1
  The user must supply a JDBC connection
  errrrrs
  ++++++++++null
  BUILD SUCCESSFUL (total time: 5 seconds)
  </code></pre>