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 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
|
Buildfile: C:\Documents and Settings\mon.nom\Bureau\jpa-aveclib\hibernate\direct\personnes-entites\ant-hibernate.xml
clean:
[delete] Deleting directory C:\Documents and Settings\mon.nom\Bureau\jpa-aveclib\hibernate\direct\personnes-entites\bin
[mkdir] Created dir: C:\Documents and Settings\mon.nom\Bureau\jpa-aveclib\hibernate\direct\personnes-entites\bin
compile:
[javac] Compiling 3 source files to C:\Documents and Settings\mon.nom\Bureau\jpa-aveclib\hibernate\direct\personnes-entites\bin
copyconf:
[copy] Copying 2 files to C:\Documents and Settings\mon.nom\Bureau\jpa-aveclib\hibernate\direct\personnes-entites\bin
DDL:
[hibernatetool] Executing Hibernate Tool with a JPA Configuration
[hibernatetool] 1. task: hbm2ddl (Generates database schema)
[hibernatetool] 09:38:35,703 INFO Version:15 - Hibernate EntityManager 3.2.0.CR3
[hibernatetool] 09:38:35,750 INFO Version:15 - Hibernate Annotations 3.2.0.CR3
[hibernatetool] 09:38:35,765 INFO Environment:500 - Hibernate 3.2.0.cr5
[hibernatetool] 09:38:35,781 INFO Environment:533 - hibernate.properties not found
[hibernatetool] 09:38:35,781 INFO Environment:667 - Bytecode provider name : cglib
[hibernatetool] 09:38:35,781 INFO Environment:584 - using JDK 1.4 java.sql.Timestamp handling
[hibernatetool] 09:38:35,984 DEBUG Ejb3Configuration:194 - Look up for persistence unit: null
[hibernatetool] 09:38:35,984 DEBUG Ejb3Configuration:206 - Analyse of persistence.xml: file:/C:/Documents%20and%20Settings/mon.nom/Bureau/jpa-aveclib/hibernate/direct/personnes-entites/bin/META-INF/persistence.xml
[hibernatetool] 09:38:36,843 DEBUG PersistenceXmlLoader:115 - Persistent Unit name from persistence.xml: jpa
[hibernatetool] 09:38:36,843 DEBUG Ejb3Configuration:213 - PersistenceMetadata [
[hibernatetool] name: jpa
[hibernatetool] jtaDataSource: null
[hibernatetool] nonJtaDataSource: null
[hibernatetool] transactionType: RESOURCE_LOCAL
[hibernatetool] provider: org.hibernate.ejb.HibernatePersistence
[hibernatetool] classes[
[hibernatetool] ]
[hibernatetool] packages[
[hibernatetool] ]
[hibernatetool] mappingFiles[
[hibernatetool] ]
[hibernatetool] jarFiles[
[hibernatetool] ]
[hibernatetool] hbmfiles: 0
[hibernatetool] properties[
[hibernatetool] hibernate.c3p0.timeout: 300
[hibernatetool] hibernate.connection.driver_class: org.postgresql.Driver
[hibernatetool] hibernate.c3p0.max_statements: 50
[hibernatetool] hibernate.c3p0.max_size: 20
[hibernatetool] hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
[hibernatetool] hibernate.c3p0.idle_test_period: 3000
[hibernatetool] hibernate.c3p0.min_size: 5
[hibernatetool] hibernate.connection.username: jpa
[hibernatetool] hibernate.hbm2ddl.auto: create
[hibernatetool] hibernate.archive.autodetection: class, hbm
[hibernatetool] hibernate.connection.url: jdbc:postgresql:jpa
[hibernatetool] hibernate.connection.password: jpa
[hibernatetool] ]]
[hibernatetool] 09:38:36,859 DEBUG Ejb3Configuration:522 - Detect class: true; detect hbm: true
[hibernatetool] 09:38:36,875 DEBUG JarVisitor:192 - Searching mapped entities in jar/par: file:/C:/Documents%20and%20Settings/mon.nom/Bureau/jpa-aveclib/hibernate/direct/personnes-entites/bin
[hibernatetool] 09:38:36,875 WARN FileZippedJarVisitor:37 - Unable to find file (ignored): file:/C:/Documents%20and%20Settings/mon.nom/Bureau/jpa-aveclib/hibernate/direct/personnes-entites/bin
[hibernatetool] java.io.FileNotFoundException: C:\Documents and Settings\mon.nom\Bureau\jpa-aveclib\hibernate\direct\personnes-entites\bin (Accès refusé)
[hibernatetool] at java.util.zip.ZipFile.open(Native Method)
[hibernatetool] at java.util.zip.ZipFile.<init>(Unknown Source)
[hibernatetool] at java.util.jar.JarFile.<init>(Unknown Source)
[hibernatetool] at java.util.jar.JarFile.<init>(Unknown Source)
[hibernatetool] at org.hibernate.ejb.packaging.FileZippedJarVisitor.doProcessElements(FileZippedJarVisitor.java:34)
[hibernatetool] at org.hibernate.ejb.packaging.JarVisitor.getMatchingEntries(JarVisitor.java:215)
[hibernatetool] at org.hibernate.ejb.Ejb3Configuration.addMetadataFromVisitor(Ejb3Configuration.java:253)
[hibernatetool] at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:229)
[hibernatetool] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[hibernatetool] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[hibernatetool] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[hibernatetool] at java.lang.reflect.Method.invoke(Unknown Source)
[hibernatetool] at org.hibernate.tool.ant.JPAConfigurationTask.createConfiguration(JPAConfigurationTask.java:28)
[hibernatetool] at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:54)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:287)
[hibernatetool] at org.hibernate.tool.ant.Hbm2DDLExporterTask.execute(Hbm2DDLExporterTask.java:45)
[hibernatetool] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:171)
[hibernatetool] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[hibernatetool] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernatetool] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernatetool] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernatetool] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[hibernatetool] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[hibernatetool] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[hibernatetool] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[hibernatetool] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
[hibernatetool] 09:38:36,875 DEBUG Ejb3Configuration:522 - Detect class: true; detect hbm: true
[hibernatetool] 09:38:36,875 DEBUG Ejb3Configuration:151 - Creating Factory: jpa
[hibernatetool] 09:38:36,890 DEBUG AnnotationConfiguration:235 - Execute first pass mapping processing
[hibernatetool] 09:38:36,953 DEBUG AnnotationConfiguration:435 - Process hbm files
[hibernatetool] 09:38:36,953 DEBUG AnnotationConfiguration:443 - Process annotated classes
[hibernatetool] 09:38:36,953 DEBUG AnnotationConfiguration:329 - processing manytoone fk mappings
[hibernatetool] 09:38:36,953 DEBUG Configuration:1044 - processing extends queue
[hibernatetool] 09:38:36,953 DEBUG Configuration:1048 - processing collection mappings
[hibernatetool] 09:38:36,968 DEBUG Configuration:1059 - processing native query and ResultSetMapping mappings
[hibernatetool] 09:38:36,968 DEBUG Configuration:1067 - processing association property references
[hibernatetool] 09:38:36,968 DEBUG Configuration:1089 - processing foreign key constraints
[hibernatetool] 09:38:36,968 DEBUG AnnotationConfiguration:235 - Execute first pass mapping processing
[hibernatetool] 09:38:36,968 DEBUG AnnotationConfiguration:435 - Process hbm files
[hibernatetool] 09:38:36,968 DEBUG AnnotationConfiguration:443 - Process annotated classes
[hibernatetool] 09:38:36,968 DEBUG AnnotationConfiguration:329 - processing manytoone fk mappings
[hibernatetool] 09:38:36,984 DEBUG Configuration:1044 - processing extends queue
[hibernatetool] 09:38:36,984 DEBUG Configuration:1048 - processing collection mappings
[hibernatetool] 09:38:36,984 DEBUG Configuration:1059 - processing native query and ResultSetMapping mappings
[hibernatetool] 09:38:36,984 DEBUG Configuration:1067 - processing association property references
[hibernatetool] 09:38:36,984 DEBUG Configuration:1089 - processing foreign key constraints
[hibernatetool] 09:38:37,015 INFO Dialect:141 - Using dialect: org.hibernate.dialect.PostgreSQLDialect
[hibernatetool] 09:38:37,109 DEBUG AnnotationConfiguration:235 - Execute first pass mapping processing
[hibernatetool] 09:38:37,109 DEBUG AnnotationConfiguration:435 - Process hbm files
[hibernatetool] 09:38:37,109 DEBUG AnnotationConfiguration:443 - Process annotated classes
[hibernatetool] 09:38:37,109 DEBUG AnnotationConfiguration:329 - processing manytoone fk mappings
[hibernatetool] 09:38:37,109 DEBUG Configuration:1044 - processing extends queue
[hibernatetool] 09:38:37,109 DEBUG Configuration:1048 - processing collection mappings
[hibernatetool] 09:38:37,109 DEBUG Configuration:1059 - processing native query and ResultSetMapping mappings
[hibernatetool] 09:38:37,109 DEBUG Configuration:1067 - processing association property references
[hibernatetool] 09:38:37,109 DEBUG Configuration:1089 - processing foreign key constraints
[hibernatetool] 09:38:37,109 DEBUG AnnotationConfiguration:235 - Execute first pass mapping processing
[hibernatetool] 09:38:37,109 DEBUG AnnotationConfiguration:435 - Process hbm files
[hibernatetool] 09:38:37,125 DEBUG AnnotationConfiguration:443 - Process annotated classes
[hibernatetool] 09:38:37,125 DEBUG AnnotationConfiguration:329 - processing manytoone fk mappings
[hibernatetool] 09:38:37,125 DEBUG Configuration:1044 - processing extends queue
[hibernatetool] 09:38:37,125 DEBUG Configuration:1048 - processing collection mappings
[hibernatetool] 09:38:37,125 DEBUG Configuration:1059 - processing native query and ResultSetMapping mappings
[hibernatetool] 09:38:37,125 DEBUG Configuration:1067 - processing association property references
[hibernatetool] 09:38:37,125 DEBUG Configuration:1089 - processing foreign key constraints
[hibernatetool] 09:38:37,125 INFO SchemaExport:154 - Running hbm2ddl schema export
[hibernatetool] 09:38:37,125 DEBUG SchemaExport:170 - import file not found: /import.sql
[hibernatetool] 09:38:37,125 INFO SchemaExport:174 - writing generated schema to file: C:\Documents and Settings\mon.nom\Bureau\jpa-aveclib\hibernate\direct\personnes-entites\ddl\schema.sql
[hibernatetool] 09:38:37,125 INFO SchemaExport:196 - schema export complete
BUILD SUCCESSFUL
Total time: 3 seconds |
Partager