Re: [nhusers] Best way to persist System.Net.IPAddress

2010-09-11 Thread Tuna Toksoz
IUserType Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sat, Sep 11, 2010 at 12:34 PM, alexey_baranov wrote: > Hi! > > I have a System.Net.IPAddress field in my NetworkEquipment class. > What i

Re: [nhusers] Re: Property Lazy Loading...... example not working. Am I missing something?

2010-09-09 Thread Tuna Toksoz
It might be useful for things like blobs, perhaps. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Sep 9, 2010 at 2:43 PM, MattO wrote: > Interesting, never thought of lazy loading a single p

Re: [nhusers] SetProjection(null)

2010-09-03 Thread Tuna Toksoz
Oh now i see. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Sep 3, 2010 at 8:11 PM, Craig van Nieuwkerk wrote: > f total records, the second one is to get the results for the > current page

Re: [nhusers] SetProjection(null)

2010-09-03 Thread Tuna Toksoz
why do you go to db if you have full objects already? linq to objects would do this? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Sep 3, 2010 at 7:07 PM, Craig van Nieuwkerk wrote: > I did

Re: [nhusers] NH Linq provider bug fix

2010-09-03 Thread Tuna Toksoz
IT is dead in favor of 3.0 provider. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Sep 3, 2010 at 11:52 AM, Andrew B wrote: > I think I found (and possibly fixed) a bug in the NH Linq provi

Re: [nhusers] How to query using Criteria API using "Not Equal", nHibernate appears to be missing .ne from Hibernate criteria API

2010-08-25 Thread Tuna Toksoz
Write your own? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Aug 25, 2010 at 1:56 PM, MattO wrote: > This one is throwing me for a bit of a loop and still don't know how > to write a "not

Re: [nhusers] Re: SQL Server Column Level Encryption

2010-08-25 Thread Tuna Toksoz
> > > On Aug 25, 11:25 am, Tuna Toksoz wrote: > > I hate to say that, but you can perhaps use a trigger on insert, and use > an > > iusertype on update. > > > > Tuna Toksöz > > Eternal sunshine of the open source mind. > > > > > http://devlic

Re: [nhusers] Re: SQL Server Column Level Encryption

2010-08-25 Thread Tuna Toksoz
I hate to say that, but you can perhaps use a trigger on insert, and use an iusertype on update. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Aug 25, 2010 at 11:23 AM, Sal wrote: > Frans,

Re: [nhusers] Re: Is there a way to change the this_ alias in nHibernate?

2010-08-20 Thread Tuna Toksoz
perhaps one can use interception? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Aug 20, 2010 at 12:39 PM, Diego Mijelshon wrote: > I can certainly be sorry for his pain (I'm a little young t

Re: [nhusers] Re: Friends, did you see this? A NH Designer!!!

2010-08-12 Thread Tuna Toksoz
> > 2010/8/12 Tuna Toksoz > >> >> I agree with John, and will like to add that I don't see the point of a >>> tool generating code for another tool that generates code. >> >> I do see value in that. FNH is much more readable and editable than >> ordi

Re: [nhusers] Re: Friends, did you see this? A NH Designer!!!

2010-08-12 Thread Tuna Toksoz
> I agree with John, and will like to add that I don't see the point of a > tool generating code for another tool that generates code. I do see value in that. FNH is much more readable and editable than ordinary XML. > Is like if the FNH team choose to generate LLLBlGen Pro dsl. > I hope this w

Re: [nhusers] Nhibernate update without select

2010-08-09 Thread Tuna Toksoz
executable hql? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Aug 9, 2010 at 6:51 PM, osman nuri katib wrote: > Hello everybody, > I want to update a persistent record in database(MS sql 200

Re: [nhusers] Imidiatly Load()

2010-08-07 Thread Tuna Toksoz
Get()? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sat, Aug 7, 2010 at 10:18 AM, alexey_baranov wrote: > I'm looking for a session method wich would load entity imidiatly and > throw exception

Re: [nhusers] simple joined-subclass example tries to update the identity column of the base table

2010-07-12 Thread Tuna Toksoz
Tariq, This is the problem. column="ParentID" would probably solve it. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Jul 13, 2010 at 2:56 AM, Tariq wrote: > Hi, > > I must be missing som

Re: [nhusers] Session relation to Session Factory

2010-07-12 Thread Tuna Toksoz
Why do you close the session factory? What do you mean? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Jul 12, 2010 at 7:52 PM, Krishna Jetti wrote: > can com -- You received this message b

Re: [nhusers] MD5 for NH 2.1.2 GA?

2010-07-12 Thread Tuna Toksoz
Looks like one of us misunderstood the question. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Jul 12, 2010 at 7:06 PM, Fabio Maulo wrote: > And the IUserType > > http://code.google.com/p/u

Re: [nhusers] MD5 for NH 2.1.2 GA?

2010-07-12 Thread Tuna Toksoz
things in sourceforge are official and trusted. you can calculate md5-sum or sha1-sum pretty easily? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Jul 12, 2010 at 5:42 PM, Leonardo wrote: >

Re: [nhusers] NHibernate persist Configuration

2010-07-06 Thread Tuna Toksoz
It was a sample code for Castle NH Facility. You should concentrate on the code itself, not the method names. You can serialize the configuration into a file. You should, however, be aware of config may have changed, so you should invalidate it when necessary. http://github.com/castleproject/Castl

Re: [nhusers] How to prevent NHibernate 1.2 from caching SQL queries that it generates to fetch data from database

2010-06-27 Thread Tuna Toksoz
You may try upgrading it to 2.1, which has potentially those leaks removed. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Jun 28, 2010 at 1:39 AM, Nikhil Desai wrote: > Hi > I am using Nhibe

Re: [nhusers] NH3 breaking changes

2010-06-23 Thread Tuna Toksoz
.@hotmail.com > > Relax :-) > > >Diego > > > > On Wed, Jun 23, 2010 at 17:29, John Davidson wrote: > >> Either a bug, or someone with admin control of the nhusers email. >> >> John Davidson >> >> >> On Wed, Jun 23, 2010 at 3

Re: [nhusers] NH3 breaking changes

2010-06-23 Thread Tuna Toksoz
dson wrote: > Either a bug, or someone with admin control of the nhusers email. > > John Davidson > > On Wed, Jun 23, 2010 at 3:39 PM, Tuna Toksoz wrote: > >> wtf?! >> >> from: nhusers@googlegroups.com >> * >> * >> * >> *Tuna Toksöz >&

Re: [nhusers] NH3 breaking changes

2010-06-23 Thread Tuna Toksoz
wtf?! from: nhusers@googlegroups.com * * * *Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Jun 23, 2010 at 10:35 PM, wrote: > Hi Guys, > > > > I know that NH3 is not out, but does someone kn

Re: [nhusers] Linq aggregate over empty row set

2010-06-17 Thread Tuna Toksoz
Does union work in Linq provider in nh3? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Jun 18, 2010 at 12:36 AM, Chris Constantin wrote: > session.Query().Sum(a => a.PropertyX) > -- You re

Re: [nhusers] Generator for a property

2010-06-15 Thread Tuna Toksoz
Yopumay use events for that purpose i guess. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Jun 15, 2010 at 11:05 PM, Federico Tolomei < federico.tolo...@gmail.com> wrote: > Thanks. > > On Tu

Re: [nhusers] Link NHForge

2010-06-12 Thread Tuna Toksoz
Another version of logo is here http://tunatoksoz.com/nhlogo.png I don't know where i got it. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sat, Jun 12, 2010 at 6:20 PM, Fabio Maulo wrote: > H

Re: [nhusers] Future of NHibernate

2010-06-08 Thread Tuna Toksoz
What's your timeframe? NH will die eventually, but currently it is a lot hotter than EF in terms of development, and it is a lot cooler in terms of feature set. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehl

Re: [nhusers] Hilo after including legacy data

2010-05-31 Thread Tuna Toksoz
Assuming your gapsize is 100, you'll need to set the hi in database to 51, i guess. or 50, but to be safe use 52 :) Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, May 31, 2010 at 3:31 PM, Paul

Re: [nhusers] Nhibernate id’s with sequential one step incremented id’s (alternatives to HiLo)

2010-05-20 Thread Tuna Toksoz
Hilo's intention is not only to be able to manage multiple app service but also to be reduce overhead of table locks. Getting a max and incrementing it will everytime cause a lock. With hilo, you don't have that problem. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/b

Re: [nhusers] Nhibernate 3 / Trunk

2010-05-17 Thread Tuna Toksoz
https://nhibernate.svn.sourceforge.net/svnroot/nhibernate/trunk/ Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, May 17, 2010 a

Re: [nhusers] NHibernate and .Net 4.0 compatibility issues

2010-05-17 Thread Tuna Toksoz
I remember there were some changes in reflection stuff, might be it, i mean it might be due to dynamic proxy frameworks. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, May 17, 2010 at 6:02 PM,

Re: [nhusers] Re: FutureValue problem

2010-05-17 Thread Tuna Toksoz
i guess nobody works on mysql dialect, so it may not be at all working in the trunk. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, May 17, 2010 at 12:27 PM, Sosh wrote: > MySQLDialect --

Re: [nhusers] FutureValue problem

2010-05-16 Thread Tuna Toksoz
could you please try using trunk version and see if it is fixed already? Also, which dialect are you using against which database? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sun, May 16, 2010

Re: [nhusers] NHibernate Profiler - Read File Error

2010-05-15 Thread Tuna Toksoz
This is not the right place for it :( Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sat, May 15, 2010 at 5:40 PM, Bogdan Cucosel (James) wrote: > Hello, > > I get the following error when trying

Re: [nhusers] Re: How to get Session.SetBatchSize to work as expected

2010-04-30 Thread Tuna Toksoz
t; namespace="MyProject.Domain.Model"> >> >> >> >> >> >> >> >> >> Let me know if there is any other info I can provide. >&g

Re: [nhusers] Re: How to get Session.SetBatchSize to work as expected

2010-04-30 Thread Tuna Toksoz
He means "what is your identifier strategy" Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Apr 30, 2010 at 11:27 PM, Fabio Maulo wrote: > Are you talking about INSERTs ? > Can we see the fir

Re: [nhusers] NHibernate.Linq Where clause doesn't do strings correctly

2010-04-24 Thread Tuna Toksoz
That being said, it would be cool if we can see NHProf or SQL Prof output for this query. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sat, Apr 24, 2010 at 4:30 PM, Oskar Berggren wrote: > Do yo

Re: [nhusers] Criteria count returns Int32, HQL count returns Int64

2010-04-23 Thread Tuna Toksoz
seemed like a bug. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sat, Apr 24, 2010 at 12:40 AM, Jason Dentler wrote: > I have these working queries: > > var movieCountQuery = session.Qu

Re: [nhusers] test

2010-04-23 Thread Tuna Toksoz
thought you were going to ping. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Apr 23, 2010 at 10:41 PM, simon wrote: > test > > -- > You received this message because you are subscribed to

Re: [nhusers] Service: Castle.Facilities.NHibernateIntegration.ISessionManager was not registered

2010-04-20 Thread Tuna Toksoz
please check the documentation on castle website. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Apr 21, 2010 at 12:42 AM, José F. Romaniello wrote: > I think you are missing the registratio

Re: [nhusers] Re: Slow building of SessionFactory

2010-04-11 Thread Tuna Toksoz
Startup is not just one time. Think of it when you're doing development. Every once in a while, you'll need to restart your app. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Apr 12, 2010 at

Re: [nhusers] Collection was modified; enumeration operation may not execute

2010-04-07 Thread Tuna Toksoz
Seems to me that you are initializing NH Configuration (and also session factory) many times? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Apr 7, 2010 at 12:23 PM, Daoming Yang wrote: >

Re: [nhusers] Re: Hilo Step by Step

2010-04-03 Thread Tuna Toksoz
why do you care about id's being wasted? This is the purpose of HiLo, reducing id traffic. If there was a way to preserve counter, it would be to store it in DB everytime it is incremented, which is not what we want Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tu

Re: [nhusers] nhibernate.linq won't download

2010-03-24 Thread Tuna Toksoz
Are you using windows zip utility? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Mar 24, 2010 at 6:40 PM, tqwhite wrote: > it shows an 88k file and gives me errors. Does anyone know somepla

Re: [nhusers] Cannot unzip the sources of NHibernate

2010-03-22 Thread Tuna Toksoz
please try winrar, 7zip or any other archive manager. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Mar 22, 2010 at 7:14 PM, Dejan Radovic wrote: > Hi all > > I'm trying to download the sour

Re: [nhusers] How do I get row count using the NHibernate QueryOver api?

2010-03-22 Thread Tuna Toksoz
isn't future for future queries, why do you need it ? Just execute the query. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Mar 22, 2010 at 2:04 PM, Jim Geurts wrote: > HI all, > > I'm usi

Re: [nhusers] Re: deleting entities from db with generator id

2010-03-12 Thread Tuna Toksoz
no, it wont. Assuming you don't delete anything from the id table. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Mar 12, 2010 at 11:12 AM, wa...@codingvista.com < codingvi...@googlemail.com>

Re: [nhusers] Re: NHibernate.MappingException : No persister for: FirstSolution.Domain.Product

2010-03-04 Thread Tuna Toksoz
Everytime i see you mailing, a kitten dies in me. TC=Team City. I fear of the build process fail:) Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Mar 4, 2010 at 8:08 PM, TC wrote: > I fixed

Re: [nhusers] NHibernate Linq question

2010-02-05 Thread Tuna Toksoz
Take Expression>, taking Func doesn't leave any chance to parse it. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Feb 5, 2010 at 1:05 PM, Ili wrote: > My guess is that it is me who is doin

Re: [nhusers] Re: Mapping a table requires using "[tableName]" for reserved words??

2010-01-22 Thread Tuna Toksoz
http://fabiomaulo.blogspot.com/2009/06/auto-quote-tablecolumn-names.html Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Jan 22, 2010 at 2:05 PM, DanV wrote: > Couldn't find it on NH referenc

Re: [nhusers] Using Linq in the trunk version

2010-01-11 Thread Tuna Toksoz
.Where (p => p.Category.Id == categoryId) Doesn't this work? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Jan 11, 2010 at 10:34 PM, ulu wrote: > Hi, > > What is t

Re: [nhusers] Strong named NHibernate.Linq

2010-01-06 Thread Tuna Toksoz
is it contrib one? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Dec 10, 2009 at 1:48 PM, Ramon Smits wrote: > > Dear maintainers, > > Is it possible to make a signed version available of N

Re: [nhusers] Re: CascadeOnFlush called 584,441 times

2010-01-05 Thread Tuna Toksoz
Sharing your mappings can reveal a lot of information to us so that we can be helpful for you. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Jan 5, 2010 at 11:16 PM, Shane C wrote: > The he

Re: [nhusers] Advice : Generate number

2010-01-04 Thread Tuna Toksoz
; You are right ! > > It's not just "for fun", the legislation ask "no hole in the numbering > sequence" > > Thanks, > > 2010/1/4 Tuna Toksoz > > This kind of key generation sounded like a business concern to me. >> Thoughts? >> > >

Re: [nhusers] HQL Query: how to use expressions in select clause

2010-01-04 Thread Tuna Toksoz
select wage.Currency as curr, (wage.Amount * wage.Percentage) as sss from Wage wage or something like that? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Jan 4, 2010 at 6:33 PM, DanV wrote

Re: [nhusers] Advice : Generate number

2010-01-04 Thread Tuna Toksoz
This kind of key generation sounded like a business concern to me. Thoughts? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Jan 4, 2010 at 6:01 PM, José F. Romaniello wrote: > A web applicati

Re: [nhusers] linq binaries corrupt?

2009-12-22 Thread Tuna Toksoz
use winrar. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Dec 22, 2009 at 11:01 PM, Dave wrote: > I try to unzip the NHibernate.Linq-2.1.2.zip of the 2.1.2GA release > but getting an error

[nhusers] Re: Multi tenancy with NHibernate

2009-10-26 Thread Tuna Toksoz
ious, but maybe the only way to do it. > > Im thinking about using OpenSession(IDbConnection dbConnection), more > visible. > > But I have something in my back head telling me that hasn't > SessionFactory something to do with second level cache or something > else that would

[nhusers] Re: Multi tenancy with NHibernate

2009-10-26 Thread Tuna Toksoz
oh yeah http://nhforge.org/wikis/howtonh/dynamically-change-user-info-in-connection-string.aspx Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Oct 26, 2009 at 11:49 PM, Tuna Toksoz wrote

[nhusers] Re: Multi tenancy with NHibernate

2009-10-26 Thread Tuna Toksoz
Does that solve your problem? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Oct 26, 2009 at 11:51 PM, Tuna Toksoz wrote: > oh yeah > > > http://nhforge.org/wikis/howtonh/dynami

[nhusers] Re: Multi tenancy with NHibernate

2009-10-26 Thread Tuna Toksoz
if someone has a link to Fabio's solution, or > maybe he has it on his blog? > > On Oct 26, 10:40 pm, Tuna Toksoz wrote: > > Fabio has a better solution. I think it was implementing/extending > > > > NHibernate.Connection.DriverConnectionProvider > > > >

[nhusers] Re: Multi tenancy with NHibernate

2009-10-26 Thread Tuna Toksoz
Fabio has a better solution. I think it was implementing/extending NHibernate.Connection.DriverConnectionProvider thing. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Oct 26, 2009 at 11:

[nhusers] Re: The query performance of the LINQ provider is atrocious

2009-10-19 Thread Tuna Toksoz
ce some value, not complain. I hope i made myself clear. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Oct 20, 2009 at 8:07 AM, Tuna Toksoz wrote: > I know, i couldn't resist thou

[nhusers] Re: The query performance of the LINQ provider is atrocious

2009-10-19 Thread Tuna Toksoz
ullshit! > > > Cheers, > Alec Whittington > > > > > > On Mon, Oct 19, 2009 at 3:32 PM, Tuna Toksoz wrote: > >> http://lkml.org/lkml/2000/8/25/132 >> >> Tuna Toksöz >> Eternal sunshine of the open source mind. >> >> http://devlicio.us/b

[nhusers] Re: The query performance of the LINQ provider is atrocious

2009-10-19 Thread Tuna Toksoz
http://lkml.org/lkml/2000/8/25/132 Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Oct 20, 2009 at 1:30 AM, aemami wrote: > > Comparing NHibernate's LINQ provider to the only other ORM I have

[nhusers] Re: Trial for spam

2009-10-15 Thread Tuna Toksoz
ource mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Oct 15, 2009 at 5:37 PM, Tuna Toksoz wrote: > --- Message ID= 8740 --- > This email was sent byAnonyMailer.Net <http://www.anonymailer.net/> v2.2 > for free... > Remove

[nhusers] Trial for spam

2009-10-15 Thread Tuna Toksoz
--- Message ID= 8740 --- This email was sent byAnonyMailer.Net v2.2 for free... Remove this advertisement for just $12/year -- Just checking. --~--~-~--

[nhusers] Re: Encrypting binary columns

2009-10-13 Thread Tuna Toksoz
It is basically the same? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Oct 13, 2009 at 10:32 PM, kasvis...@gmail.com wrote: > > Hi, > > I am developing an application that is storing sensit

[nhusers] Re: Nhibernate Linq and Date management

2009-10-13 Thread Tuna Toksoz
Short answer, this is not implemented otherwise.It can be done, but nobody did it. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Oct 13, 2009 at 7:53 PM, José F. Romaniello wrote: > I'm expl

[nhusers] Re: Contextual Entities

2009-10-13 Thread Tuna Toksoz
Oh no! http://www.nhforge.org/doc/nh/en/index.html#objectstate-filters Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Oct 13, 2009 at 2:01 PM, José F. Romaniello wrote: > Hi, have look to thi

[nhusers] Re: Objects not getting dirty, so commit does nothing

2009-10-09 Thread Tuna Toksoz
Isolation of the problem into a test case would be awesome, but you can start by showing entity and its mapping and the code that exhibits the behavior. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike

[nhusers] Re: Criteria API help needed

2009-10-02 Thread Tuna Toksoz
from mind .CreateCriteria(typeof(DetentionSession),"det") .Add(Restrictions.Between("det.sessionDateTime",beginDate,endDate)) .CreateCriteria("det.proctor") .Add(Restrictions.Eq("proc.Id",proctorId)) Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http:

[nhusers] Re: nhforge.org reference documentation broken

2009-09-30 Thread Tuna Toksoz
Same issue Warning: Visiting this site may harm your computer! The website at *nhforge.org* contains elements from the site *doxyia.ru*, which appears to host malware – software that can hurt your computer or otherwise operate without your consent. Just visiting a site that contains malware can inf

[nhusers] Re: Active Record and Active writer

2009-09-29 Thread Tuna Toksoz
Please send your message to Castle group "castle-project-users" , Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Sep 29, 2009 at 1:05 PM, Shishya wrote: > > Does any one have any experience

[nhusers] Re: How to Order By the Result of a Select Clause Using NHibernate 1.2.1 GA

2009-09-21 Thread Tuna Toksoz
2009 at 12:39 PM, paper1337 wrote: > > Upgrading to the latest version of NHibernate may be an option if that > would solve my problem in a relatively staightforward manner. Do you > know how to do this in NHibernate 2.1.0 GA? > > On Sep 21, 9:39 am, Tuna Toksoz wrote: > &

[nhusers] Re: How to Order By the Result of a Select Clause Using NHibernate 1.2.1 GA

2009-09-21 Thread Tuna Toksoz
I think this is a feature added in 2.0+ Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Sep 17, 2009 at 4:57 PM, paper1337 wrote: > > Using the Criteria API, I want to create a query that gen

[nhusers] Re: Nhibernate and Compact framework

2009-09-19 Thread Tuna Toksoz
+1 for db4o Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sat, Sep 19, 2009 at 10:01 AM, Paulo Quicoli wrote: > you can use db4o, an object database! www.db4o.com > > bye > > > 2009/9/19 Mikael

[nhusers] Re: Session.Get performance

2009-09-18 Thread Tuna Toksoz
> obj-graph and he turn-off the lazy loading. > > > 2009/9/18 Tuna Toksoz > >> Slow performances for the first time is ok, there is a lot going on and nh >> is lazy in doing things, until you do something it won't create cache, to >> name a few. >

[nhusers] Re: Session.Get performance

2009-09-18 Thread Tuna Toksoz
? Is connection pooling > working? If you do the same SQL query manually, how long does it take? > Is the database indexed properly? Does the database engine use the > index? > > Committing the transaction when you have only fetched data seems > unnecessary and unclean. >

[nhusers] Re: Session.Get performance

2009-09-18 Thread Tuna Toksoz
k you very much . > Sravan > > On Thu, Sep 17, 2009 at 6:33 PM, Tuna Toksoz wrote: > >> Opening a session in every operation is bad. You loose unit of work + >> first level cache etc. Don't do it. >> >> >> >> Tuna Toksöz >>

[nhusers] Re: Session.Get performance

2009-09-17 Thread Tuna Toksoz
Opening a session in every operation is bad. You loose unit of work + first level cache etc.Don't do it. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Thu, Sep 17, 2009 at 9:31 PM, sravan wrote:

[nhusers] Re: NH Linq - QueryException: could not resolve property

2009-09-16 Thread Tuna Toksoz
Can't you use .Contains? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Sep 16, 2009 at 3:26 PM, Steve Wagner wrote: > > ISet > > Steve > > Tuna Toksoz schrieb: >

[nhusers] Re: NH Linq - QueryException: could not resolve property

2009-09-16 Thread Tuna Toksoz
What is the type of Bars? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Sep 16, 2009 at 3:13 PM, Steve Wagner wrote: > is type of query unsupported in the current implementation or is --~-

[nhusers] Re: Next version of NHibernate

2009-09-16 Thread Tuna Toksoz
Next version of nh targets 3.5, not 4. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Sep 16, 2009 at 10:22 AM, Jason Dentler wrote: > I know that better LINQ support is a work in progress an

[nhusers] Re: Why is HiLo algorithm done this way?

2009-09-15 Thread Tuna Toksoz
ially is. so I > guess it cannot be done in NHibernate. too bad:& > > > On Tue, Sep 15, 2009 at 2:49 PM, Tuna Toksoz wrote: > >> Do your stuff in the generator, instead of instance fields have static >> fields for high and low, that's it? >> >> Tuna To

[nhusers] Re: Why is HiLo algorithm done this way?

2009-09-15 Thread Tuna Toksoz
Do your stuff in the generator, instead of instance fields have static fields for high and low, that's it? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tue, Sep 15, 2009 at 2:46 PM, Delucia wrot

[nhusers] Re: Why is HiLo algorithm done this way?

2009-09-15 Thread Tuna Toksoz
hi to get a new range. For a web > application that's not an issue because it's rarely restarted. see my first > post for example. > Thanks > > > On Tue, Sep 15, 2009 at 12:28 PM, Tuna Toksoz wrote: > >> Inline >> 1. It requires less trips to database

[nhusers] Re: Why is HiLo algorithm done this way?

2009-09-15 Thread Tuna Toksoz
Inline 1. It requires less trips to database because next_hi is not done per table, hence more efficient. Efficiency is correct, but it is not of crucial importance. One query per entity type (or table whatever), and their ranges will be consumed more slowly than your previous one. 2. much less f

[nhusers] Re: Why is HiLo algorithm done this way?

2009-09-14 Thread Tuna Toksoz
- insert employee -> employee_id = 2002 > > you can see the second implementation is much better and more > efficient. > > On Sep 14, 5:28 pm, Tuna Toksoz wrote: > > This is something not harmful, why do you care for id's anyway? if you > want > > you can imple

[nhusers] Re: Why is HiLo algorithm done this way?

2009-09-14 Thread Tuna Toksoz
This is something not harmful, why do you care for id's anyway? if you want you can implement your own generator. This is, I believe nice feature of Hilo as you can track id's better. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com

[nhusers] Re: s.Delete(s.Load(12)), lazy loading, and cascade options

2009-09-14 Thread Tuna Toksoz
Use executable HQL :) Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Sep 14, 2009 at 11:20 AM, Morten Maxild wrote: > Yes > > > -- > > *From:* nhusers@googlegr

[nhusers] Re: Hibernate SQL Beautifier

2009-09-13 Thread Tuna Toksoz
here is a public method that I can use (like the one that > exist in Java lib). > If I can't use it, I will change the code to use ISQLQuery. > > On 13 sep, 20:10, Tuna Toksoz wrote: > > For what reason do you need it? There is a way if i recall correct, but > tell > &g

[nhusers] Re: Hibernate SQL Beautifier

2009-09-13 Thread Tuna Toksoz
For what reason do you need it? There is a way if i recall correct, but tell me. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sun, Sep 13, 2009 at 2:08 PM, DomZ wrote: > > Thanks guys, > > I wa

[nhusers] Re: Hibernate SQL Beautifier

2009-09-13 Thread Tuna Toksoz
format_sql=true, google it. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Sun, Sep 13, 2009 at 1:00 PM, DomZ wrote: > > Hi Guys, > > I read that Hibernate library has a SQL Beautifier inside (in

[nhusers] Re: Download is broken

2009-09-11 Thread Tuna Toksoz
We can confirm but we don't know the reason. Please use a better zip utility. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Sep 11, 2009 at 4:30 PM, gauche wrote: > > Hi, > > I must be doing

[nhusers] Re: NHibernate performance issues

2009-09-11 Thread Tuna Toksoz
Can you show your sample project? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Fri, Sep 11, 2009 at 11:39 AM, Goku Da Master wrote: > > I just upgraded to NH 2.1.0-GA. No change in performance.

[nhusers] Re: NHibernate performance issues

2009-09-09 Thread Tuna Toksoz
1.2 is quiet old, i mean very very old. Another point is that use an sql profiler and see what datagrid kind of things do to your codes, they may be initializing your collections Better would be to send a sample project (after upgrading to 2.0 or 2.1) so that we can check. Tuna Toksöz Eternal sun

[nhusers] Re: Querying with subqueries in projection (or equivalent)

2009-09-09 Thread Tuna Toksoz
You wouldn't want to see how this can be done with criteria api. Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Wed, Sep 9, 2009 at 12:16 PM, Hitt wrote: > > I just recently converted a rather si

[nhusers] Re: HQL Join with unmapped entities

2009-09-07 Thread Tuna Toksoz
noop access strategy might be useful, but be aware that i haven't read the whole conversation Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Sep 7, 2009 at 5:37 PM, Stefan Steinegger < stefan.

[nhusers] Re: Data Access Restrictions

2009-09-07 Thread Tuna Toksoz
ng for something on > the NHibernate pipeline that would let me inject custom criterias... > Does this exist? > > > On Sep 7, 7:12 pm, Tuna Toksoz wrote: > > filters maybe? > > > > Tuna Toksöz > > Eternal sunshine of the open source mind. > > > > > h

[nhusers] Re: Data Access Restrictions

2009-09-07 Thread Tuna Toksoz
filters maybe? Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Mon, Sep 7, 2009 at 2:06 PM, Ricardo Peres wrote: > > Hello, > > What would be the best way to implement restriction of data for a >

  1   2   3   4   5   6   >