-->
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: import.sql missing from tutorial
PostPosted: Tue Feb 07, 2006 7:04 pm 
Newbie

Joined: Tue Feb 07, 2006 2:46 pm
Posts: 1
Hibernate version: 3.1.2


I downloaded the tutorial. Using ant, the tutorial builds fine.
When doing "ant run -Daction=store", I see in console:
DEBUG SchemaExport:173 - import file not found: /import.sql
and leter in the console:
insert into EVENTS (EVENT_DATE, title, EVENT_ID) values (?, ?, null)

Should the null be a "?" or is this OK?


I am wondering if anyone else has seen this. Is import.sql important to this tutorial to function? Since lack of this file does not throw exception, (see SchemaExport.java when it tries to read import.sql), I assume it is not important.



Regards,
Mike


Top
 Profile  
 
 Post subject: Re: import.sql missing from tutorial
PostPosted: Wed Feb 08, 2006 8:18 am 
Beginner
Beginner

Joined: Mon Jan 30, 2006 2:28 am
Posts: 47
Location: INDIA
Hi Mike,

Try these ways

1.if event_id integer type pls mention values(?,?, 0) thats all.
2. if it is string values(?,?,' ')
3. or pass the value directly values('12/12/2005','title name', 1)

_________________
A.Edward Durai
"The things which are impossible with men are possible with God."


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.