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.  [ 11 posts ] 
Author Message
 Post subject: NHibernate 1.2.0.Beta1 released
PostPosted: Sun Sep 24, 2006 8:41 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
NHibernate now supports the use of stored procedures (and custom SQL in general). Beta1 also contains several other new features and bug fixes, a significant portion of which was contributed by the users.

Change Log | Download


Last edited by sergey on Fri Nov 10, 2006 9:41 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 1:52 pm 
Regular
Regular

Joined: Thu Aug 24, 2006 2:05 am
Posts: 80
Congrads sergey and team for the release!
I was looking for the release which supports Stored Procedure :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 6:01 pm 
Beginner
Beginner

Joined: Fri Sep 02, 2005 12:13 pm
Posts: 44
Location: Denver, CO
Woohoo!!! Thanks guys...I've been looking foward to this release and am (slightly) holding my breath for the production release. We have 1/2 dozen production projects watering at the mouth. ;) Thanks again...working with NHibernate has been a true silver bullet over ADO.NET.

Billy


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 8:03 am 
Newbie

Joined: Thu Feb 09, 2006 3:44 pm
Posts: 5
Wow! I completely agree with Billy: superduper work there Sergey & team! I'm very excited of this one step closer to a 1.2.0 production release. I'm hoping we'll get there within reasonable amount of time. From an architectural viewpoint, NHibernate fits our needs just perfectly!

Pascal.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 28, 2006 6:38 am 
Beginner
Beginner

Joined: Sat Sep 09, 2006 5:55 am
Posts: 23
Thanks Sergey, we were looking forward to the stored procedure and custom sql support as well.

Would it be possible to give a rough indication of the planned release date for 1.2.0 final? This would allow us to decide if we can make the transition from 1.0.2 now, or if we should wait for the next version of our software.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 29, 2006 6:06 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
We don't set release dates, releases depend on features/issues that need to be resolved. Check the JIRA road map to see the list of open issues for a particular release.

http://jira.nhibernate.org/browse/NH?re ... dmap-panel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 7:51 am 
Regular
Regular

Joined: Thu Aug 24, 2006 2:05 am
Posts: 80
does it support Transactional Scope similar to .Net 2.0?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 16, 2006 6:00 am 
Beginner
Beginner

Joined: Wed Jul 26, 2006 11:52 am
Posts: 23
Location: Edinburgh, Scotland
Great stuff sergey - congratulations. We are hoping to use NHiberante within our company but as a big Oracle shop with most of our business logic in stored code the lack of support for stored procedures was a major draw back. Are there any code snippets anywhere or documentation to show how to use this new feature? Also do you have any advice on how I can "guesstimate" as to when this functionality will be included in an alpha release - i've had a look at the roadmap but don't see an alpha release planned that contains support for stored code call . Finally i'm a beginner to NHibernate but am interested in becoming part of the development team, do you have any advice on how I could do this.

Cheers,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 26, 2006 7:43 am 
Newbie

Joined: Tue Oct 24, 2006 9:10 am
Posts: 17
It will be very nice when the IQuery have support to Query By Example with aggregation functions ( as Count, SUM, AVg, etc. ), I'm anxious to se final release.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 28, 2006 4:50 pm 
Beginner
Beginner

Joined: Fri Jul 22, 2005 4:08 pm
Posts: 28
I'm seeing an exception and I don't know if I should submit a bug for it.

I have the following mapping:

Code:
<?xml version="1.0"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"
               assembly="Eg" namespace="Eg"
               default-lazy="false">
  <class name="FactoryInfo" table="FactoryInfos">
    <id name="Id">
      <generator class="guid.comb"/>
    </id>
    <property name="Name" column="`Name`"  length="64" not-null="true" />
    <property name="Description" length="256" not-null="true" />
    <property name="ObjectType" not-null="true" />
  </class>
</hibernate-mapping>


The 'ObjectType' property is a Type, using the hbm2ddl SchemaExport class, that column in the table gets created as an nvarchar(255). But when I try to issue the following query and turn on SQL Logging, it generates a query where the objectType parameter is passed as a byte array:

Code:
public FactoryInfo GetFactoryInfo(Type objectType)
{
   IQuery query = CreateQuery("FROM FactoryInfo AS fi WHERE fi.ObjectType = :objectType");
   query.SetParameter("objectType", objectType);
   return query.UniqueResult() as FactoryInfo;
}


I can switch the SetParameter call to use objectType.AssemblyQualifiedName and that works, but shouldn't HQL generate the correct query for Types it knows how to map?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 04, 2006 6:25 am 
Beginner
Beginner

Joined: Thu Jul 27, 2006 1:11 am
Posts: 21
christian wrote:
We don't set release dates, releases depend on features/issues that need to be resolved. Check the JIRA road map to see the list of open issues for a particular release.

http://jira.nhibernate.org/browse/NH?re ... dmap-panel


We all understand why you guys don't set release dates but a very rough indication from one of you would be better than what we can work out from the issues lift in jira. We are not going to hold you to this date or anything. Something more along the lines of "early next year" or "hopefully by Dec 2006" or something.

I'd like to use 1.2 for a project I will be releasing early next year because I am majorly refactoring my whole web application at the moment and I'd like to know whether or not I should move to 1.2 because I don't think I can really release on a beta even though it is stable.

Keep up the great work, Jono


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