You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(110) |
Nov
(296) |
Dec
(107) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(212) |
Feb
(263) |
Mar
(161) |
Apr
(183) |
May
(183) |
Jun
(75) |
Jul
(106) |
Aug
(88) |
Sep
(227) |
Oct
(143) |
Nov
(154) |
Dec
(53) |
2008 |
Jan
(77) |
Feb
|
Mar
|
Apr
(6) |
May
(103) |
Jun
(296) |
Jul
(54) |
Aug
|
Sep
(379) |
Oct
(283) |
Nov
(224) |
Dec
(214) |
2009 |
Jan
(129) |
Feb
(257) |
Mar
(136) |
Apr
(12) |
May
(329) |
Jun
(434) |
Jul
(375) |
Aug
(171) |
Sep
|
Oct
|
Nov
|
Dec
(54) |
2010 |
Jan
(198) |
Feb
(76) |
Mar
(3) |
Apr
(1) |
May
|
Jun
(62) |
Jul
(210) |
Aug
(447) |
Sep
(330) |
Oct
(257) |
Nov
(133) |
Dec
(453) |
2011 |
Jan
(240) |
Feb
(128) |
Mar
(442) |
Apr
(320) |
May
(428) |
Jun
(141) |
Jul
(13) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Vitaliy K. (JIRA) <nh...@gm...> - 2011-05-25 07:11:50
|
QueryOver does not work with 2nd level cache if entity contains lazy properties ------------------------------------------------------------------------------- Key: NH-2740 URL: http://216.121.112.228/browse/NH-2740 Project: NHibernate Issue Type: Bug Components: Core, QueryOver Affects Versions: 3.2.0Beta1 Reporter: Vitaliy Kryvosheiev Priority: Major QueryOver<> queries do not work for entities with lazy properties if second-level cache is turned on. Running such query results in Exception *Entity:* [Serializable] public class UserRole { public virtual int Id { get; set; } public virtual string Name { get;set; } } *Mapping:* <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="KudaNado.Core.Entities" assembly="KudaNado.Core" schema="dbo" default-cascade="save-update"> <class name="UserRole" table="UserRole"> <cache usage="nonstrict-read-write" region="LongTerm" /> <id name="Id" column="ID"> <generator class="native" /> </id> <property name="Name" length="50" not-null="true" lazy="true"/> </class> </hibernate-mapping> *Query:* var roles = session.QueryOver<UserRole>().Take(2).List(); ADO.NET Provider: MS SQL "))* .NET Version: 4.0 10:07:46,175 [TestRunnerThread] DEBUG [NHibernate.Impl.SessionImpl] - [session-id=3e29ff04-f9e6-4498-b95c-2783ce545b9a] opened session at timestamp: 5350678798987264, for session factory: [/9cd392140f24407d9243cc6bd4c7693b] 10:07:46,178 [TestRunnerThread] INFO [KudaNado.Integration.Tests.MappingIntegrationTests] - Execute query 10:07:46,210 [TestRunnerThread] DEBUG [NHibernate.Loader.Criteria.CriteriaQueryTranslator] - put criteria= alias=this0_ 10:07:46,242 [TestRunnerThread] DEBUG [NHibernate.AdoNet.AbstractBatcher] - Opened new IDbCommand, open IDbCommands: 1 10:07:46,242 [TestRunnerThread] DEBUG [NHibernate.AdoNet.AbstractBatcher] - Building an IDbCommand object for the SqlString: SELECT TOP (?) this_.ID as ID12_0_ FROM dbo.UserRole this_ 10:07:46,245 [TestRunnerThread] INFO [NHibernate.Loader.Loader] - SELECT TOP (@p0) this_.ID as ID12_0_ FROM dbo.UserRole this_ 10:07:46,249 [TestRunnerThread] DEBUG [NHibernate.SQL] - SELECT TOP (@p0) this_.ID as ID12_0_ FROM dbo.UserRole this_;@p0 = 2 [Type: Int32 (0)] 10:07:46,251 [TestRunnerThread] DEBUG [NHibernate.Connection.DriverConnectionProvider] - Obtaining IDbConnection from Driver 10:07:46,252 [TestRunnerThread] DEBUG [NHibernate.AdoNet.AbstractBatcher] - ExecuteReader took 0 ms 10:07:46,253 [TestRunnerThread] DEBUG [NHibernate.AdoNet.AbstractBatcher] - Opened IDataReader, open IDataReaders: 1 10:07:46,254 [TestRunnerThread] DEBUG [NHibernate.Loader.Loader] - processing result set 10:07:46,254 [TestRunnerThread] DEBUG [NHibernate.Loader.Loader] - result set row: 0 10:07:46,256 [TestRunnerThread] DEBUG [NHibernate.Type.Int32Type] - returning '1' as column: ID12_0_ 10:07:46,259 [TestRunnerThread] DEBUG [NHibernate.Loader.Loader] - result row: EntityKey[KudaNado.Core.Entities.UserRole#1] 10:07:46,263 [TestRunnerThread] DEBUG [NHibernate.Driver.NHybridDataReader] - running NHybridDataReader.Dispose() 10:07:46,263 [TestRunnerThread] DEBUG [NHibernate.AdoNet.AbstractBatcher] - Closed IDataReader, open IDataReaders :0 10:07:46,263 [TestRunnerThread] DEBUG [NHibernate.AdoNet.AbstractBatcher] - DataReader was closed after 11 ms 10:07:46,264 [TestRunnerThread] DEBUG [NHibernate.AdoNet.AbstractBatcher] - Closed IDbCommand, open IDbCommands: 0 10:07:46,266 [TestRunnerThread] DEBUG [NHibernate.Util.ADOExceptionReporter] - could not execute query [ SELECT TOP (@p0) this_.ID as ID12_0_ FROM dbo.UserRole this_ ] System.NotSupportedException: Specified method is not supported. at NHibernate.Proxy.AbstractProxyFactory.GetFieldInterceptionProxy(Object instanceToWrap) at NHibernate.Tuple.PocoInstantiator.Instantiate() at NHibernate.Tuple.PocoInstantiator.Instantiate(Object id) at NHibernate.Tuple.Entity.AbstractEntityTuplizer.Instantiate(Object id) at NHibernate.Persister.Entity.AbstractEntityPersister.Instantiate(Object id, EntityMode entityMode) at NHibernate.Impl.SessionImpl.Instantiate(IEntityPersister persister, Object id) at NHibernate.Impl.SessionImpl.Instantiate(String clazz, Object id) at NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList hydratedObjects, ISessionImplementor session) at NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] persisters, EntityKey[] keys, Object optionalObject, EntityKey optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, ISessionImplementor session) at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies) at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) 10:07:46,268 [TestRunnerThread] WARN [NHibernate.Util.ADOExceptionReporter] - System.NotSupportedException: Specified method is not supported. at NHibernate.Proxy.AbstractProxyFactory.GetFieldInterceptionProxy(Object instanceToWrap) at NHibernate.Tuple.PocoInstantiator.Instantiate() at NHibernate.Tuple.PocoInstantiator.Instantiate(Object id) at NHibernate.Tuple.Entity.AbstractEntityTuplizer.Instantiate(Object id) at NHibernate.Persister.Entity.AbstractEntityPersister.Instantiate(Object id, EntityMode entityMode) at NHibernate.Impl.SessionImpl.Instantiate(IEntityPersister persister, Object id) at NHibernate.Impl.SessionImpl.Instantiate(String clazz, Object id) at NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList hydratedObjects, ISessionImplementor session) at NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] persisters, EntityKey[] keys, Object optionalObject, EntityKey optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, ISessionImplementor session) at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies) at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) 10:07:46,268 [TestRunnerThread] ERROR [NHibernate.Util.ADOExceptionReporter] - Specified method is not supported. 10:07:46,269 [TestRunnerThread] DEBUG [NHibernate.Util.ADOExceptionReporter] - could not execute query [ SELECT TOP (@p0) this_.ID as ID12_0_ FROM dbo.UserRole this_ ] [ SELECT TOP (@p0) this_.ID as ID12_0_ FROM dbo.UserRole this_ ] System.NotSupportedException: Specified method is not supported. at NHibernate.Proxy.AbstractProxyFactory.GetFieldInterceptionProxy(Object instanceToWrap) at NHibernate.Tuple.PocoInstantiator.Instantiate() at NHibernate.Tuple.PocoInstantiator.Instantiate(Object id) at NHibernate.Tuple.Entity.AbstractEntityTuplizer.Instantiate(Object id) at NHibernate.Persister.Entity.AbstractEntityPersister.Instantiate(Object id, EntityMode entityMode) at NHibernate.Impl.SessionImpl.Instantiate(IEntityPersister persister, Object id) at NHibernate.Impl.SessionImpl.Instantiate(String clazz, Object id) at NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList hydratedObjects, ISessionImplementor session) at NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] persisters, EntityKey[] keys, Object optionalObject, EntityKey optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, ISessionImplementor session) at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies) at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) 10:07:46,269 [TestRunnerThread] WARN [NHibernate.Util.ADOExceptionReporter] - System.NotSupportedException: Specified method is not supported. at NHibernate.Proxy.AbstractProxyFactory.GetFieldInterceptionProxy(Object instanceToWrap) at NHibernate.Tuple.PocoInstantiator.Instantiate() at NHibernate.Tuple.PocoInstantiator.Instantiate(Object id) at NHibernate.Tuple.Entity.AbstractEntityTuplizer.Instantiate(Object id) at NHibernate.Persister.Entity.AbstractEntityPersister.Instantiate(Object id, EntityMode entityMode) at NHibernate.Impl.SessionImpl.Instantiate(IEntityPersister persister, Object id) at NHibernate.Impl.SessionImpl.Instantiate(String clazz, Object id) at NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList hydratedObjects, ISessionImplementor session) at NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] persisters, EntityKey[] keys, Object optionalObject, EntityKey optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, ISessionImplementor session) at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies) at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) 10:07:46,269 [TestRunnerThread] ERROR [NHibernate.Util.ADOExceptionReporter] - Specified method is not supported. 10:07:46,270 [TestRunnerThread] DEBUG [NHibernate.AdoNet.ConnectionManager] - after autocommit 10:07:46,271 [TestRunnerThread] DEBUG [NHibernate.Impl.SessionImpl] - transaction completion 10:07:46,271 [TestRunnerThread] DEBUG [NHibernate.AdoNet.ConnectionManager] - transaction completed on session with on_close connection release mode; be sure to close the session to release ADO.Net resources! 10:07:46,280 [TestRunnerThread] DEBUG [NHibernate.Impl.SessionImpl] - closing session 10:07:46,280 [TestRunnerThread] DEBUG [NHibernate.AdoNet.AbstractBatcher] - running BatcherImpl.Dispose(true) 10:07:46,282 [TestRunnerThread] DEBUG [NHibernate.Connection.ConnectionProvider] - Closing connection 10:07:46,282 [TestRunnerThread] DEBUG [NHibernate.Impl.SessionImpl] - transaction completion 10:07:46,282 [TestRunnerThread] DEBUG [NHibernate.AdoNet.ConnectionManager] - transaction completed on session with on_close connection release mode; be sure to close the session to release ADO.Net resources! 10:07:46,284 [TestRunnerThread] DEBUG [NHibernate.Impl.SessionImpl] - [session-id=3e29ff04-f9e6-4498-b95c-2783ce545b9a] running ISession.Dispose() 10:07:46,284 [TestRunnerThread] DEBUG [NHibernate.Impl.SessionImpl] - [session-id=3e29ff04-f9e6-4498-b95c-2783ce545b9a] executing real Dispose(True) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Michael T. (JIRA) <nh...@gm...> - 2011-05-24 22:04:47
|
Can't get ByCode mapping to produce not nullable varbinary(max) --------------------------------------------------------------- Key: NH-2739 URL: http://216.121.112.228/browse/NH-2739 Project: NHibernate Issue Type: Bug Components: Mapping by-code Affects Versions: 3.2.0Beta1 Reporter: Michael Teper Priority: Major Trying to map the following class: public class MyData { public byte[] Data { get; set; } } to 'varbinary(max) (not null)' field in SQL Server 2008. mapper.Class<MyData>(map => { map.Property(x => x.Data, m => m.Length(int.MaxValue)); map.Property(x => x.Data, m => m.NotNullable(true)); }); produces 'image(null)' -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Andrei (JIRA) <nh...@gm...> - 2011-05-24 17:53:46
|
[ http://216.121.112.228/browse/NH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrei updated NH-2736: ----------------------- Attachment: Debug.jpg Hello, I don't know if this can help identifying the issue, but I'va noticed that the SqlString generated in the Translator of the HQLQueryPlan doesn't set the BackTrack property for the o0 parameter but it set for the o1 parameter as you can see in the attached image. I've also noticed that if I set the BackTrack property for the parameter (using the debugger window) the query executes correctly. Andrei > Inverted parameters in HQL statement using take > ----------------------------------------------- > > Key: NH-2736 > URL: http://216.121.112.228/browse/NH-2736 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: Debug.jpg, NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 17:12:51
|
[ http://216.121.112.228/browse/NH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21187#action_21187 ] Fabio Maulo commented on NH-2736: --------------------------------- Ok Andrei thanks for the issue. The skip/take with parameter are already suffering some bugs due to the no-meaning Parameter way NH manage parameters all around the code. Patrick are working in another big refactoring to cut the problem at its root. I'll find a workaround just for this release. > Inverted parameters in HQL statement using take > ----------------------------------------------- > > Key: NH-2736 > URL: http://216.121.112.228/browse/NH-2736 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 16:25:50
|
[ http://216.121.112.228/browse/NH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21186#action_21186 ] Fabio Maulo commented on NH-2736: --------------------------------- Confirmed!! :(( > Inverted parameters in HQL statement using take > ----------------------------------------------- > > Key: NH-2736 > URL: http://216.121.112.228/browse/NH-2736 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 16:18:50
|
[ http://216.121.112.228/browse/NH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21185#action_21185 ] Fabio Maulo commented on NH-2736: --------------------------------- Probably was introduced by another change made to the dialects... :( > Inverted parameters in HQL statement using take > ----------------------------------------------- > > Key: NH-2736 > URL: http://216.121.112.228/browse/NH-2736 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 16:13:44
|
[ http://216.121.112.228/browse/NH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo reopened NH-2736: ----------------------------- > Inverted parameters in HQL statement using take > ----------------------------------------------- > > Key: NH-2736 > URL: http://216.121.112.228/browse/NH-2736 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Diego M. (JIRA) <nh...@gm...> - 2011-05-24 16:09:02
|
[ http://216.121.112.228/browse/NH-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21184#action_21184 ] Diego Mijelshon commented on NH-2319: ------------------------------------- More like 9 months, but yeah... I haven't had time to do this, plus I'm working in a project with EF now :-( The general scenario has changed, though. With NuGet, I could publish this as an addon more easily. But I still feel like this could be part of the core; don't close it yet. > IQueryable support for persistent collections > --------------------------------------------- > > Key: NH-2319 > URL: http://216.121.112.228/browse/NH-2319 > Project: NHibernate > Issue Type: New Feature > Components: Core, Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Diego Mijelshon > Priority: Minor > Attachments: QueryableCollections.patch, QueryableCollectionsV2.patch > > > With this patch, persistent collections can be queried in the server by client code even without referencing NHibernate, by using the standard AsQueryable extension method. > And advantage of that is that the code will work seamlessly even in unit tests (it will use an EnumerableQuery internally) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Michael T. (JIRA) <nh...@gm...> - 2011-05-24 16:04:45
|
Exception thrown when mapping contains empty enum ------------------------------------------------- Key: NH-2738 URL: http://216.121.112.228/browse/NH-2738 Project: NHibernate Issue Type: Bug Components: Mapping by-code Affects Versions: 3.2.0Beta1 Reporter: Michael Teper Priority: Minor I was playing around with new mapping by code and ConventionModelMapper and ran into an "Array ouf bounds exception". Turned out that one of my entities had an enum property and the enum was empty (I haven't yet added any values). As this was a pretty trivial project, the issue was easy to track down but it would be great if this was handled better by NH. Either this should be ignored (what's the harm?) or the error message should point out the empty enum and the class that was referencing it. Thank you! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Andrei (JIRA) <nh...@gm...> - 2011-05-24 15:52:45
|
[ http://216.121.112.228/browse/NH-2737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrei updated NH-2737: ----------------------- Attachment: NH2736.patch Hello Fabio, I have modified the test to use the o0 and o1 parameter names instead of the p0 and p1 reserved names and the error is the same. I've attached an update test. Thanks, Andrei > CLONE -Inverted parameters in HQL statement using take > ------------------------------------------------------ > > Key: NH-2737 > URL: http://216.121.112.228/browse/NH-2737 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Andrei (JIRA) <nh...@gm...> - 2011-05-24 15:50:46
|
CLONE -Inverted parameters in HQL statement using take ------------------------------------------------------ Key: NH-2737 URL: http://216.121.112.228/browse/NH-2737 Project: NHibernate Issue Type: Bug Components: Core Affects Versions: 3.2.0CR1 Reporter: Andrei Hello, When I create a HQL query using parameters the parameters are inverted. Here is an example (I'll attach a test as soon as I have the issue number): var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); query.SetParameter("p0", 1); query.SetParameter("p1", 2); var result = query.List(); Assert.That(result.Count, Is.EqualTo(2)); The SQL Statement is: exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 So the query selects the top 1 rows and the quantity column is filtered with 2. Probably this bug is related with the implementation that allows to specify the take rows using parameters. Thanks, Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Andrei (JIRA) <nh...@gm...> - 2011-05-24 15:25:50
|
[ http://216.121.112.228/browse/NH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21182#action_21182 ] Andrei commented on NH-2736: ---------------------------- Hi Fabio, I've replaced the parameter names with o0 and o1 and there is the same problem. If you want I can upload the modified patch. > Inverted parameters in HQL statement using take > ----------------------------------------------- > > Key: NH-2736 > URL: http://216.121.112.228/browse/NH-2736 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 15:12:47
|
[ http://216.121.112.228/browse/NH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo closed NH-2736. --------------------------- Resolution: Won't Fix You are using NH's internals parameters names. The usage of "p" followed by a number is not allowed as user-parameter-name. Those parameter-names are reserved by NHibernate. > Inverted parameters in HQL statement using take > ----------------------------------------------- > > Key: NH-2736 > URL: http://216.121.112.228/browse/NH-2736 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 14:55:02
|
[ http://216.121.112.228/browse/NH-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21180#action_21180 ] Fabio Maulo commented on NH-2319: --------------------------------- We are closer to one year... Have you some news ? > IQueryable support for persistent collections > --------------------------------------------- > > Key: NH-2319 > URL: http://216.121.112.228/browse/NH-2319 > Project: NHibernate > Issue Type: New Feature > Components: Core, Linq Provider > Affects Versions: 3.0.0.Alpha2 > Reporter: Diego Mijelshon > Priority: Minor > Attachments: QueryableCollections.patch, QueryableCollectionsV2.patch > > > With this patch, persistent collections can be queried in the server by client code even without referencing NHibernate, by using the standard AsQueryable extension method. > And advantage of that is that the code will work seamlessly even in unit tests (it will use an EnumerableQuery internally) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Andrei A. (JIRA) <nh...@gm...> - 2011-05-24 13:13:50
|
[ http://216.121.112.228/browse/NH-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21179#action_21179 ] Andrei Alecu commented on NH-2734: ---------------------------------- Ok, bare with me for a second please: Based on what you're saying, this shouldn't work either: from Being b where b.class = Alien However, someone was smart enough to add some special handling so that in this case the class name is converted to its SQL discriminator value, as I mentioned in the comments in NH-2328. Please look at LiteralProcessor.cs line 153: // IDENT might be the name of a class. IQueryable queryable = _walker.SessionFactoryHelper.FindQueryableUsingImports(constant.Text); if (isIdent && queryable != null) { constant.Text = queryable.DiscriminatorSQLValue; } *That* little fix however is unfortunately incomplete, and does not work in all cases... classes mapped as <any> do not have explicit discriminator values assigned to them, because they could be used in several mappings with several different discriminator values. I believe the proper fix would've been to parametrize the equality for .class=? so that NullSafeSet() would be called by default, and MetaType would itself handle this scenario. This way, the fix would be consistent for *BOTH* of these scenarios. Please give this some thought before dismissing it as not being a bug, it is not good API design to have such terribly inconsistent behavior and consider it by design. :) > HQL .class query on <any> mapping does not work > ----------------------------------------------- > > Key: NH-2734 > URL: http://216.121.112.228/browse/NH-2734 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0Beta1 > Reporter: Andrei Alecu > Priority: Major > > Consider the test in trunk for NH-2328. > Modifying it to do this does not work: > var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = Square") > .List<ToyBox>(); > The error is: > System.NullReferenceException : Object reference not set to an instance of an object. > at NHibernate.Hql.Ast.ANTLR.SessionFactoryHelperExtensions.FindSQLFunction(String functionName) in SessionFactoryHelperExtensions.cs: line 45 > at NHibernate.Hql.Ast.ANTLR.Tree.IdentNode.get_DataType() in IdentNode.cs: line 41 > at NHibernate.Hql.Ast.ANTLR.Tree.BinaryLogicOperatorNode.ExtractDataType(IASTNode operand) in BinaryLogicOperatorNode.cs: line 244 > at NHibernate.Hql.Ast.ANTLR.Tree.BinaryLogicOperatorNode.Initialize() in BinaryLogicOperatorNode.cs: line 50 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.PrepareLogicOperator(IASTNode operatorNode) in HqlSqlWalker.cs: line 786 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.comparisonExpr() in HqlSqlWalker.cs: line 6239 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.logicalExpr() in HqlSqlWalker.cs: line 5228 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.whereClause() in HqlSqlWalker.cs: line 4952 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.unionedQuery() in HqlSqlWalker.cs: line 1706 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.query() in HqlSqlWalker.cs: line 1514 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.selectStatement() in HqlSqlWalker.cs: line 540 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.statement() in HqlSqlWalker.cs: line 439 > at NHibernate.Hql.Ast.ANTLR.HqlSqlTranslator.Translate() in QueryTranslatorImpl.cs: line 590 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Analyze(String collectionRole) in QueryTranslatorImpl.cs: line 449 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.DoCompile(IDictionary`2 replacements, Boolean shallow, String collectionRole) in QueryTranslatorImpl.cs: line 354 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Compile(IDictionary`2 replacements, Boolean shallow) in QueryTranslatorImpl.cs: line 71 > at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(IASTNode ast, String queryIdentifier, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) in ASTQueryTranslatorFactory.cs: line 43 > at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryString, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) in ASTQueryTranslatorFactory.cs: line 21 > at NHibernate.Engine.Query.HQLStringQueryPlan.CreateTranslators(String hql, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 24 > at NHibernate.Engine.Query.HQLStringQueryPlan..ctor(String hql, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 16 > at NHibernate.Engine.Query.HQLStringQueryPlan..ctor(String hql, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 10 > at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(String queryString, Boolean shallow, IDictionary`2 enabledFilters) in QueryPlanCache.cs: line 61 > at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(String query, Boolean shallow) in AbstractSessionImpl.cs: line 304 > at NHibernate.Impl.AbstractSessionImpl.CreateQuery(String queryString) in AbstractSessionImpl.cs: line 283 > at NHibernate.Test.NHSpecificTest.NH2328.Fixture.AnyIs_HqlRequiresNumberIn() in Fixture.cs: line 80 > However, explicitly using a parameter works properly: > var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = :clazz") > .SetParameter("clazz", typeof(Square).FullName).List<ToyBox>(); > Upon further inspection, it works because the implementation calls NullSafeSet() on MetaType while setting the parameter. If the type is specified inline, NullSafeSet isn't called. > I believe the proper fix here would be for the query parser to extract what's after = here and pass it in as a parameter, if possible, so that NullSafeSet() is called. It might involve changes to the grammar files, I'm not sure. > Fixing this bug in the HQL parser should also fix NH-2328. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Andrei (JIRA) <nh...@gm...> - 2011-05-24 13:09:47
|
[ http://216.121.112.228/browse/NH-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrei updated NH-2736: ----------------------- Attachment: NH2736.patch I've attached the test that can be integrated in the NHibernate.Test project. > Inverted parameters in HQL statement using take > ----------------------------------------------- > > Key: NH-2736 > URL: http://216.121.112.228/browse/NH-2736 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0CR1 > Reporter: Andrei > Attachments: NH2736.patch > > > Hello, > When I create a HQL query using parameters the parameters are inverted. > Here is an example (I'll attach a test as soon as I have the issue number): > var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); > query.SetParameter("p0", 1); > query.SetParameter("p1", 2); > var result = query.List(); > Assert.That(result.Count, Is.EqualTo(2)); > The SQL Statement is: > exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 > So the query selects the top 1 rows and the quantity column is filtered with 2. > Probably this bug is related with the implementation that allows to specify the take rows using parameters. > Thanks, > Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Andrei (JIRA) <nh...@gm...> - 2011-05-24 13:04:44
|
Inverted parameters in HQL statement using take ----------------------------------------------- Key: NH-2736 URL: http://216.121.112.228/browse/NH-2736 Project: NHibernate Issue Type: Bug Components: Core Affects Versions: 3.2.0CR1 Reporter: Andrei Hello, When I create a HQL query using parameters the parameters are inverted. Here is an example (I'll attach a test as soon as I have the issue number): var query = session.CreateQuery("select o.Id, i.Id from SalesOrder o left join o.Items i with i.Quantity = :p0 take :p1"); query.SetParameter("p0", 1); query.SetParameter("p1", 2); var result = query.List(); Assert.That(result.Count, Is.EqualTo(2)); The SQL Statement is: exec sp_executesql N'select TOP (@p0) salesorder0_.Id as col_0_0_, items1_.Id as col_1_0_ from SalesOrder salesorder0_ left outer join Item items1_ on salesorder0_.Id=items1_.SalesOrder and (items1_.Quantity=@p1)',N'@p0 int,@p1 int',@p0=1,@p1=2 So the query selects the top 1 rows and the quantity column is filtered with 2. Probably this bug is related with the implementation that allows to specify the take rows using parameters. Thanks, Andrei -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 12:55:48
|
[ http://216.121.112.228/browse/NH-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21177#action_21177 ] Fabio Maulo commented on NH-2734: --------------------------------- Is not a bug because when you use a parameter is supposed that NH may have some way to understand how assign it. Probably you are using meta-values... in this case the "secret" db-representation is your own representation. Try to avoid meta-values and let us know what happen specifying a class in hql-line instead use a parameter. > HQL .class query on <any> mapping does not work > ----------------------------------------------- > > Key: NH-2734 > URL: http://216.121.112.228/browse/NH-2734 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0Beta1 > Reporter: Andrei Alecu > Priority: Major > > Consider the test in trunk for NH-2328. > Modifying it to do this does not work: > var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = Square") > .List<ToyBox>(); > The error is: > System.NullReferenceException : Object reference not set to an instance of an object. > at NHibernate.Hql.Ast.ANTLR.SessionFactoryHelperExtensions.FindSQLFunction(String functionName) in SessionFactoryHelperExtensions.cs: line 45 > at NHibernate.Hql.Ast.ANTLR.Tree.IdentNode.get_DataType() in IdentNode.cs: line 41 > at NHibernate.Hql.Ast.ANTLR.Tree.BinaryLogicOperatorNode.ExtractDataType(IASTNode operand) in BinaryLogicOperatorNode.cs: line 244 > at NHibernate.Hql.Ast.ANTLR.Tree.BinaryLogicOperatorNode.Initialize() in BinaryLogicOperatorNode.cs: line 50 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.PrepareLogicOperator(IASTNode operatorNode) in HqlSqlWalker.cs: line 786 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.comparisonExpr() in HqlSqlWalker.cs: line 6239 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.logicalExpr() in HqlSqlWalker.cs: line 5228 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.whereClause() in HqlSqlWalker.cs: line 4952 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.unionedQuery() in HqlSqlWalker.cs: line 1706 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.query() in HqlSqlWalker.cs: line 1514 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.selectStatement() in HqlSqlWalker.cs: line 540 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.statement() in HqlSqlWalker.cs: line 439 > at NHibernate.Hql.Ast.ANTLR.HqlSqlTranslator.Translate() in QueryTranslatorImpl.cs: line 590 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Analyze(String collectionRole) in QueryTranslatorImpl.cs: line 449 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.DoCompile(IDictionary`2 replacements, Boolean shallow, String collectionRole) in QueryTranslatorImpl.cs: line 354 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Compile(IDictionary`2 replacements, Boolean shallow) in QueryTranslatorImpl.cs: line 71 > at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(IASTNode ast, String queryIdentifier, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) in ASTQueryTranslatorFactory.cs: line 43 > at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryString, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) in ASTQueryTranslatorFactory.cs: line 21 > at NHibernate.Engine.Query.HQLStringQueryPlan.CreateTranslators(String hql, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 24 > at NHibernate.Engine.Query.HQLStringQueryPlan..ctor(String hql, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 16 > at NHibernate.Engine.Query.HQLStringQueryPlan..ctor(String hql, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 10 > at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(String queryString, Boolean shallow, IDictionary`2 enabledFilters) in QueryPlanCache.cs: line 61 > at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(String query, Boolean shallow) in AbstractSessionImpl.cs: line 304 > at NHibernate.Impl.AbstractSessionImpl.CreateQuery(String queryString) in AbstractSessionImpl.cs: line 283 > at NHibernate.Test.NHSpecificTest.NH2328.Fixture.AnyIs_HqlRequiresNumberIn() in Fixture.cs: line 80 > However, explicitly using a parameter works properly: > var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = :clazz") > .SetParameter("clazz", typeof(Square).FullName).List<ToyBox>(); > Upon further inspection, it works because the implementation calls NullSafeSet() on MetaType while setting the parameter. If the type is specified inline, NullSafeSet isn't called. > I believe the proper fix here would be for the query parser to extract what's after = here and pass it in as a parameter, if possible, so that NullSafeSet() is called. It might involve changes to the grammar files, I'm not sure. > Fixing this bug in the HQL parser should also fix NH-2328. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Andrei A. (JIRA) <nh...@gm...> - 2011-05-24 12:47:51
|
[ http://216.121.112.228/browse/NH-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21176#action_21176 ] Andrei Alecu commented on NH-2734: ---------------------------------- I don't think that's right Fabio. See the test in UnionSubclassFixture.cs. Assert.AreEqual(1, s.CreateQuery("from Being b where b.class = Alien").List().Count); This works properly for classes mapped as a hierarchy, and you don't need to use any secret type. Not being able to use the same query on <any> mappings is not consistent and I don't see it documented anywhere, if you can point me towards documentation it would be great. Anyway, something working as a parameter, but not as a literal in a HQL query does not make sense to me. I would still consider this to be a major bug. Also note that this works: var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = 2").List<ToyBox>(); But this does not work: var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = :clazz") .SetParameter("clazz", 2) .List<ToyBox>(); I don't see how this inconsistent behavior is not considered a bug. The only problem is, trying to come up with a fix is probably non trivial. I'm not sure if Hibernate is affected or not, or if they fixed this already. > HQL .class query on <any> mapping does not work > ----------------------------------------------- > > Key: NH-2734 > URL: http://216.121.112.228/browse/NH-2734 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0Beta1 > Reporter: Andrei Alecu > Priority: Major > > Consider the test in trunk for NH-2328. > Modifying it to do this does not work: > var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = Square") > .List<ToyBox>(); > The error is: > System.NullReferenceException : Object reference not set to an instance of an object. > at NHibernate.Hql.Ast.ANTLR.SessionFactoryHelperExtensions.FindSQLFunction(String functionName) in SessionFactoryHelperExtensions.cs: line 45 > at NHibernate.Hql.Ast.ANTLR.Tree.IdentNode.get_DataType() in IdentNode.cs: line 41 > at NHibernate.Hql.Ast.ANTLR.Tree.BinaryLogicOperatorNode.ExtractDataType(IASTNode operand) in BinaryLogicOperatorNode.cs: line 244 > at NHibernate.Hql.Ast.ANTLR.Tree.BinaryLogicOperatorNode.Initialize() in BinaryLogicOperatorNode.cs: line 50 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.PrepareLogicOperator(IASTNode operatorNode) in HqlSqlWalker.cs: line 786 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.comparisonExpr() in HqlSqlWalker.cs: line 6239 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.logicalExpr() in HqlSqlWalker.cs: line 5228 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.whereClause() in HqlSqlWalker.cs: line 4952 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.unionedQuery() in HqlSqlWalker.cs: line 1706 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.query() in HqlSqlWalker.cs: line 1514 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.selectStatement() in HqlSqlWalker.cs: line 540 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.statement() in HqlSqlWalker.cs: line 439 > at NHibernate.Hql.Ast.ANTLR.HqlSqlTranslator.Translate() in QueryTranslatorImpl.cs: line 590 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Analyze(String collectionRole) in QueryTranslatorImpl.cs: line 449 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.DoCompile(IDictionary`2 replacements, Boolean shallow, String collectionRole) in QueryTranslatorImpl.cs: line 354 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Compile(IDictionary`2 replacements, Boolean shallow) in QueryTranslatorImpl.cs: line 71 > at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(IASTNode ast, String queryIdentifier, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) in ASTQueryTranslatorFactory.cs: line 43 > at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryString, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) in ASTQueryTranslatorFactory.cs: line 21 > at NHibernate.Engine.Query.HQLStringQueryPlan.CreateTranslators(String hql, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 24 > at NHibernate.Engine.Query.HQLStringQueryPlan..ctor(String hql, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 16 > at NHibernate.Engine.Query.HQLStringQueryPlan..ctor(String hql, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 10 > at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(String queryString, Boolean shallow, IDictionary`2 enabledFilters) in QueryPlanCache.cs: line 61 > at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(String query, Boolean shallow) in AbstractSessionImpl.cs: line 304 > at NHibernate.Impl.AbstractSessionImpl.CreateQuery(String queryString) in AbstractSessionImpl.cs: line 283 > at NHibernate.Test.NHSpecificTest.NH2328.Fixture.AnyIs_HqlRequiresNumberIn() in Fixture.cs: line 80 > However, explicitly using a parameter works properly: > var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = :clazz") > .SetParameter("clazz", typeof(Square).FullName).List<ToyBox>(); > Upon further inspection, it works because the implementation calls NullSafeSet() on MetaType while setting the parameter. If the type is specified inline, NullSafeSet isn't called. > I believe the proper fix here would be for the query parser to extract what's after = here and pass it in as a parameter, if possible, so that NullSafeSet() is called. It might involve changes to the grammar files, I'm not sure. > Fixing this bug in the HQL parser should also fix NH-2328. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 12:45:46
|
[ http://216.121.112.228/browse/NH-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21175#action_21175 ] Fabio Maulo commented on NH-2731: --------------------------------- I can't understand these 2 new bugs. Are both introduced by the new implementations on Dialect ? > Limit parameters should be updated on each query execution > ---------------------------------------------------------- > > Key: NH-2731 > URL: http://216.121.112.228/browse/NH-2731 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0Beta1 > Reporter: Patrick Earl > > Limits that are set as parameters should be adjusted according to the UseMaxForLimit and OffsetStartsAtOne parameters. Consider also cases where constants and parameters are mixed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 12:36:45
|
[ http://216.121.112.228/browse/NH-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo closed NH-2727. --------------------------- Resolution: Not an Issue In the title you are describing the default behavior of DefaultDirtyCheckEventListener. > Calling ISession.IsDirty Raises SaveOrUpdate Event > -------------------------------------------------- > > Key: NH-2727 > URL: http://216.121.112.228/browse/NH-2727 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.1.0, 3.2.0Beta1 > Reporter: Ricardo Peres > Attachments: FlushTest.zip > > > When calling ISession.IsDirty() after loading an entity which lazy loads another one and doing nothing to them, the SaveOrUpdate event is raised on the lazy loaded entity. > This doesn't happen all the time, only if the lazy loaded entity is not specifically loaded beforehand. > The included test creates the DB and populates it with test records. The HIBERNATE_UNIQUE_KEY table must be created first, since SchemaUpdate does not create it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 12:34:47
|
[ http://216.121.112.228/browse/NH-2734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo closed NH-2734. --------------------------- Resolution: Not an Issue The NullSafeSet is not called because you don't have something to set. When you use a constant, in the HQL, to compare a special not existent property (as 'class' or 'id') you have to know its "secret" type/db-representation. > HQL .class query on <any> mapping does not work > ----------------------------------------------- > > Key: NH-2734 > URL: http://216.121.112.228/browse/NH-2734 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.2.0Beta1 > Reporter: Andrei Alecu > Priority: Major > > Consider the test in trunk for NH-2328. > Modifying it to do this does not work: > var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = Square") > .List<ToyBox>(); > The error is: > System.NullReferenceException : Object reference not set to an instance of an object. > at NHibernate.Hql.Ast.ANTLR.SessionFactoryHelperExtensions.FindSQLFunction(String functionName) in SessionFactoryHelperExtensions.cs: line 45 > at NHibernate.Hql.Ast.ANTLR.Tree.IdentNode.get_DataType() in IdentNode.cs: line 41 > at NHibernate.Hql.Ast.ANTLR.Tree.BinaryLogicOperatorNode.ExtractDataType(IASTNode operand) in BinaryLogicOperatorNode.cs: line 244 > at NHibernate.Hql.Ast.ANTLR.Tree.BinaryLogicOperatorNode.Initialize() in BinaryLogicOperatorNode.cs: line 50 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.PrepareLogicOperator(IASTNode operatorNode) in HqlSqlWalker.cs: line 786 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.comparisonExpr() in HqlSqlWalker.cs: line 6239 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.logicalExpr() in HqlSqlWalker.cs: line 5228 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.whereClause() in HqlSqlWalker.cs: line 4952 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.unionedQuery() in HqlSqlWalker.cs: line 1706 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.query() in HqlSqlWalker.cs: line 1514 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.selectStatement() in HqlSqlWalker.cs: line 540 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.statement() in HqlSqlWalker.cs: line 439 > at NHibernate.Hql.Ast.ANTLR.HqlSqlTranslator.Translate() in QueryTranslatorImpl.cs: line 590 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Analyze(String collectionRole) in QueryTranslatorImpl.cs: line 449 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.DoCompile(IDictionary`2 replacements, Boolean shallow, String collectionRole) in QueryTranslatorImpl.cs: line 354 > at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.Compile(IDictionary`2 replacements, Boolean shallow) in QueryTranslatorImpl.cs: line 71 > at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(IASTNode ast, String queryIdentifier, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) in ASTQueryTranslatorFactory.cs: line 43 > at NHibernate.Hql.Ast.ANTLR.ASTQueryTranslatorFactory.CreateQueryTranslators(String queryString, String collectionRole, Boolean shallow, IDictionary`2 filters, ISessionFactoryImplementor factory) in ASTQueryTranslatorFactory.cs: line 21 > at NHibernate.Engine.Query.HQLStringQueryPlan.CreateTranslators(String hql, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 24 > at NHibernate.Engine.Query.HQLStringQueryPlan..ctor(String hql, String collectionRole, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 16 > at NHibernate.Engine.Query.HQLStringQueryPlan..ctor(String hql, Boolean shallow, IDictionary`2 enabledFilters, ISessionFactoryImplementor factory) in HQLStringQueryPlan.cs: line 10 > at NHibernate.Engine.Query.QueryPlanCache.GetHQLQueryPlan(String queryString, Boolean shallow, IDictionary`2 enabledFilters) in QueryPlanCache.cs: line 61 > at NHibernate.Impl.AbstractSessionImpl.GetHQLQueryPlan(String query, Boolean shallow) in AbstractSessionImpl.cs: line 304 > at NHibernate.Impl.AbstractSessionImpl.CreateQuery(String queryString) in AbstractSessionImpl.cs: line 283 > at NHibernate.Test.NHSpecificTest.NH2328.Fixture.AnyIs_HqlRequiresNumberIn() in Fixture.cs: line 80 > However, explicitly using a parameter works properly: > var boxes = s.CreateQuery("from ToyBox t where t.Shape.class = :clazz") > .SetParameter("clazz", typeof(Square).FullName).List<ToyBox>(); > Upon further inspection, it works because the implementation calls NullSafeSet() on MetaType while setting the parameter. If the type is specified inline, NullSafeSet isn't called. > I believe the proper fix here would be for the query parser to extract what's after = here and pass it in as a parameter, if possible, so that NullSafeSet() is called. It might involve changes to the grammar files, I'm not sure. > Fixing this bug in the HQL parser should also fix NH-2328. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 12:28:44
|
[ http://216.121.112.228/browse/NH-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo updated NH-2735: ---------------------------- Component/s: (was: Core) Linq Provider > Allow query on .id special accessor on <any> mappings via Linq > -------------------------------------------------------------- > > Key: NH-2735 > URL: http://216.121.112.228/browse/NH-2735 > Project: NHibernate > Issue Type: Improvement > Components: Linq Provider > Affects Versions: 3.2.0Beta1 > Reporter: Andrei Alecu > > Querying a property defined with an <any> mapping by its id needs to use the special .class and .id properties defined by HQL. > Not having a way to access .id makes it impossible to translate queries such as the following to Linq: > from ToyBox t where t.Shape.class = Square and t.Shape.id = 1 (note that there's currently a bug with .class at NH-2734) > Note that accessing the identifier property mapped as .Id (non lowercase) does not work, the HQL query parser complains that there's an access to an unmapped property .Id. > My current workaround is to define this extension method as a custom linq generator: > public class ImplicitIdGenerator : BaseHqlGeneratorForMethod > { > public ImplicitIdGenerator() > { > this.SupportedMethods = new[] { ReflectionHelper.GetMethodDefinition<object>(x => x.ImplicitId()) }; > } > public override HqlTreeNode BuildHql( > MethodInfo method, > Expression targetObject, > ReadOnlyCollection<Expression> arguments, > HqlTreeBuilder treeBuilder, > IHqlExpressionVisitor visitor) > { > return treeBuilder.Dot(visitor.Visit(arguments[0]).AsExpression(), treeBuilder.Ident("id")); > } > } > public static class NhibernateLinqExtensions > { > public static object ImplicitId(this object what) > { > throw new NotImplementedException("Used by NHibernate linq with <any> mappings."); > } > } > I believe the special .id property may also be used in other circumstances when the name of the property used for the identifier is not known. > I'm not sure if this is the most elegant implementation, but this code lets you do this: > var results = session.Query<ToyBox>().Where(x=> /* class constraint, see NH-2328 */ && x.Shape.ImplicitId() == 1); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 12:24:53
|
[ http://216.121.112.228/browse/NH-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21172#action_21172 ] Fabio Maulo commented on NH-2728: --------------------------------- Your test is in: NHibernate.Test.MappingByCode.IntegrationTests.NH2728 have a look to it ;) > ManyToAny missing from ICollectionElementRelation<TElement> > ----------------------------------------------------------- > > Key: NH-2728 > URL: http://216.121.112.228/browse/NH-2728 > Project: NHibernate > Issue Type: Improvement > Components: Mapping by-code > Affects Versions: 3.2.0Beta1 > Reporter: Kelly Stuard > Priority: Major > Fix For: 3.2.0CR1 > > Attachments: NH2728.zip > > > When mapping collections through code, all the choices (OneToMany, ManyToMany, etc) are there, except one. Unfortunately, ManyToAny is not present. > Of course, I discovered this because it is one that I'm trying to use. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-24 12:24:45
|
[ http://216.121.112.228/browse/NH-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo resolved NH-2728. ----------------------------- Resolution: Fixed Fix Version/s: 3.2.0CR1 > ManyToAny missing from ICollectionElementRelation<TElement> > ----------------------------------------------------------- > > Key: NH-2728 > URL: http://216.121.112.228/browse/NH-2728 > Project: NHibernate > Issue Type: Improvement > Components: Mapping by-code > Affects Versions: 3.2.0Beta1 > Reporter: Kelly Stuard > Priority: Major > Fix For: 3.2.0CR1 > > Attachments: NH2728.zip > > > When mapping collections through code, all the choices (OneToMany, ManyToMany, etc) are there, except one. Unfortunately, ManyToAny is not present. > Of course, I discovered this because it is one that I'm trying to use. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |