-->
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: ORA – 01013 Insufficient Privileges error
PostPosted: Wed Nov 17, 2010 1:07 pm 
Newbie

Joined: Wed Nov 17, 2010 12:54 pm
Posts: 2
Hello

I added a new field to the Oracle database and to the correspondent Mapping file. Everything works OK when I retrieve the data.
However, if I want to Insert a new row or Update an existing one I receive the above error.
I don't believe is from the database because I am using the same user for update/inserts throughout the application and is working fine. So the user has all the required privileges.

I think is from the mapping files somewhere???
Any hints ideas??

here is the error:
ORA – 01013 Insufficient Privileges

" at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure)\r\n at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src)\r\n at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()\r\n at NHibernate.AdoNet.OracleDataClientBatchingBatcher.DoExecuteBatch(IDbCommand ps)\r\n at NHibernate.AdoNet.AbstractBatcher.ExecuteBatch()\r\n at NHibernate.Persister.Entity.AbstractEntityPersister.ProcessGeneratedProperties(Object id, Object entity, Object[] state, ISessionImplementor session, SqlString selectionSQL, ValueInclusion[] includeds)\r\n at NHibernate.Persister.Entity.AbstractEntityPersister.ProcessInsertGeneratedProperties(Object id, Object entity, Object[] state, ISessionImplementor session)\r\n at NHibernate.Action.EntityInsertAction.Execute()\r\n at NHibernate.Engine.ActionQueue.Execute(IExecutable executable)\r\n at NHibernate.Engine.ActionQueue.ExecuteActions(IList list)\r\n at NHibernate.Engine.ActionQueue.ExecuteActions()\r\n at NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions(IEventSource session)\r\n at NHibernate.Event.Default.DefaultFlushEventListener.OnFlush(FlushEvent event)\r\n at NHibernate.Impl.SessionImpl.Flush()\r\n at BNYM.Ark.Entities.Framework.NHibernate.EntityBase.Insert(IEntityInfo entity) in C:\\BNYM\\ARK\\Business\\BNYM.Ark.Business.Entities.Framework\\EntityBase.cs:line 397\r\n at BNYM.Ark.Business.Entities.ReleasePurposeTypeSetEntity.Insert(IReleasePurposeTypeSetInfo entityInfo) in C:\\BNYM\\ARK\\Business\\BNYM.Ark.Business.Entities\\ReleasePurpose\\ReleasePurposeTypeSetEntity.cs:line 104\r\n at BNYM.Ark.Business.Processes.CoreBP.AddReleasePurposeTypeSetBF(IReleasePurposeTypeSetInfo info, ArkContext context) in
C:\\BNYM\\ARK\\Business\\BNYM.Ark.Business.Processes\\ReferenceData.cs:line 1493"


Thank you


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.