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.  [ 1 post ] 
Author Message
 Post subject: Can't be the only one...
PostPosted: Sat Jul 05, 2008 2:01 am 
Newbie

Joined: Sat Jul 05, 2008 1:57 am
Posts: 1
I have a program that is used in commercial environments. NHibernate has been extremely useful for any number of reasons, but some things are still a manual process, which I'm trying to change.

One of them is when we update the product and the DB changes structure. I would like to have the SQL scripts run from within NHibernate. Now, I'm trying to use the session.CreateSQLQuery command, but it is proving difficult. I can make it work, but in ways that I'm not happy with.

Surely there is a way to simply run an SQL command through NHibernate? I don't expect it to understand the DB behind it or do anything else tricky, I just want it to run the SQL and that's that.

I have scoured the forum, the internet and in a fit of manic passion started asking random people on the street. No luck.

Any help would be greatly appreciated.


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

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.