-->
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.  [ 2 posts ] 
Author Message
 Post subject: no output from SchemaExportTask
PostPosted: Fri Mar 04, 2005 3:17 pm 
Newbie

Joined: Fri Mar 04, 2005 3:00 pm
Posts: 14
Hello,

I am a newbie to Hibernate, so excuse me i ask trivial question.

I have run the SchemaExportTask an received the following log :

************************************************
[schemaexport] 10:28:28,181 INFO Environment:451 - Hibernate 3.0 beta 4
[schemaexport] 10:28:28,211 INFO Environment:469 - loaded properties from resource hibernate.properties: {hibernate.connection.username=sa, hibernate.connection.password=sa, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=org.hibernate.dialect.SAPDBDialect, hibernate.connection.url=jdbc:sapdb://localhost/LimsTest, hibernate.connection.driver_class=com.sap.dbtech.jdbc.DriverSapDB}
[schemaexport] 10:28:28,231 INFO Environment:497 - using CGLIB reflection optimizer
[schemaexport] 10:28:28,241 INFO Environment:527 - using JDK 1.4 java.sql.Timestamp handling
[schemaexport] 10:28:28,551 INFO Dialect:86 - Using dialect: org.hibernate.dialect.SAPDBDialect
[schemaexport] 10:28:28,882 INFO Configuration:832 - processing extends queue
[schemaexport] 10:28:28,882 INFO Configuration:836 - processing collection mappings
[schemaexport] 10:28:28,892 INFO Configuration:845 - processing association property references
[schemaexport] 10:28:28,902 INFO Configuration:872 - processing foreign key constraints
[schemaexport] 10:28:28,912 INFO Configuration:832 - processing extends queue
[schemaexport] 10:28:28,912 INFO Configuration:836 - processing collection mappings
[schemaexport] 10:28:28,922 INFO Configuration:845 - processing association property references
[schemaexport] 10:28:28,932 INFO Configuration:872 - processing foreign key constraints
[schemaexport] 10:28:28,942 INFO SchemaExport:100 - Running hbm2ddl schema export
[schemaexport] 10:28:28,952 INFO SchemaExport:116 - writing generated schema to file: schema.sql
[schemaexport] 10:28:28,952 INFO SchemaExport:121 - exporting generated schema to database
[schemaexport] 10:28:29,152 INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!)
[schemaexport] 10:28:29,162 INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 20
[schemaexport] 10:28:29,162 INFO DriverManagerConnectionProvider:45 - autocommit mode: false
[schemaexport] 10:28:29,342 INFO DriverManagerConnectionProvider:80 - using driver: com.sap.dbtech.jdbc.DriverSapDB at URL: jdbc:sapdb://localhost/LimsTest
[schemaexport] 10:28:29,352 INFO DriverManagerConnectionProvider:86 - connection properties: {user=sa, password=****}
[schemaexport] 10:28:29,623 INFO SchemaExport:166 - schema export complete
[schemaexport] 10:28:29,633 INFO DriverManagerConnectionProvider:147 - cleaning up connection pool: jdbc:sapdb://localhost/LimsTest
*************************************************

i believe the task ended succesfully....still my schema.sql file is empty

anyone got any ideeas?
Thank you


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 4:56 am 
Newbie

Joined: Fri Mar 04, 2005 3:00 pm
Posts: 14
Hello,
managed to figure it out ; problem was that the tool couldn't find
my mapping files... :)
Since it was the first time running the tool i didn't know what to exactly expect from it . I was confused by the fact that it didn't issue any warning of the type " No mapping files could be found" ... so i thought everything
was smooth ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

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.