-->
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.  [ 3 posts ] 
Author Message
 Post subject: OR-Mapping of View -> automatic table creation
PostPosted: Wed Aug 04, 2004 5:25 am 
Newbie

Joined: Wed Aug 04, 2004 4:15 am
Posts: 2
Hi!

I try to map the result of a view from a MS SQL Server. I've created a class and a mapping file. During the initialisation of Hiberante, it tries to create a table with the name of the view, because it might missing the table/view!?
What is wrong?

Thanks
Michael


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 12:11 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
If Hibernate is trying to create tables, etc on start up then that means you have the session factory configured to automatically run schema export.

Turn that option off (how is covered in the docs).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 5:58 am 
Newbie

Joined: Wed Aug 04, 2004 4:15 am
Posts: 2
It works!

Thx
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.