RE: Medium Trust Environments

2009-07-30 Thread Carlos Peix
. Sadly I can't help him. Regards Carlos Peix _ De: Dustin Aleksiuk [mailto:dustin.aleks...@huskyenergy.com] Enviado el: Jueves, 30 de Julio de 2009 01:35 p.m. Para: user-cs@ibatis.apache.org Asunto: RE: Medium Trust Environments Hi Carlos, I know what lazy loading is, I d

RE: Medium Trust Environments

2009-07-30 Thread Carlos Peix
=lazy+loading [2] http://www.google.com/search?q=ibatis+lazy+loading Regards Carlos Peix _ De: Dustin Aleksiuk [mailto:dustin.aleks...@huskyenergy.com] Enviado el: Jueves, 30 de Julio de 2009 12:00 p.m. Para: user-cs@ibatis.apache.org Asunto: RE: Medium Trust Environments What do you

RE: Medium Trust Environments

2009-07-30 Thread Carlos Peix
Erin, Be careful, resigning lazy loading nowadays is equivalent to resign the Queen and two Bishops in chess. Just as a warning. Regards. Carlos Peix _ De: Erin Rollenhagen [mailto:e...@entrepreneurialtechnologies.com] Enviado el: Jueves, 30 de Julio de 2009 11:43 a.m. Para

RE: MySql provider

2008-11-11 Thread Carlos Peix
Hi Milivoj, I thought about the type handler, but I realized that it only works on object hydration, not on saving. I may be wrong though. Thanks Carlos Peix _ De: Milivoj Milani [mailto:[EMAIL PROTECTED] Enviado el: Martes, 11 de Noviembre de 2008 12:30 p.m. Para: user-cs

RE: MySql provider

2008-11-11 Thread Carlos Peix
Hi Samuel, Yes, it IS a huge issue, but no other drivers are available for MySql and NET 1.1 (AFAIK) because the version 5.x is for NET 2.0 and the ByteFX driver doesn't release since 2004 and doesn't support the new MySql authentication version. Thanks anyway. Carlos Peix _

RE: MySql provider

2008-11-11 Thread Carlos Peix
Hi Samuel, Yes, I think that you are right. I guess I have to escape some characters like ' (39) and \ (92). I there a way to do this in iBatis with some kind of interceptor at save time? Thanks Carlos Peix _ De: Clough, Samuel (USPC.PRG.Atlanta) [mailto:[EMAIL PROT

RE: MySql provider

2008-11-10 Thread Carlos Peix
gging session. Thank you very much, I'll let you know the results Carlos Peix _ De: Milivoj Milani [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Noviembre de 2008 12:25 p.m. Para: user-cs@ibatis.apache.org Asunto: RE: MySql provider I understand. iBatis.NET is built using

RE: MySql provider

2008-11-10 Thread Carlos Peix
IBatis is concatenating strings to build the command, which is a big risk with the "sql injection" guys out there. I appreciate your effort Carlos Peix _ De: Milivoj Milani [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 10 de Noviembre de 2008 10:43 a.m. Para: user-cs@ibatis.

RE: MySql provider

2008-11-10 Thread Carlos Peix
= SYSDATE() WHERE CodInmobiliaria = #CodInmobiliaria# AND CodInmueble = #CodInmueble# parameterClass="Inmueble" where Inmueble is a POCO, the problem was with the DescResultados field (free text on the database) Thanks Carlos Peix _ De: Milivoj Milani [mailto:[EMAIL

MySql provider

2008-11-10 Thread Carlos Peix
n provider configuration? The problem doesn't appear with the old ByteFX provider but it doesn't work with the new authentication in MySql 5.0 Thanks and have a nice week Carlos Peix

RE: Do not use with SCOPE_IDENTITY and MSSQL?

2007-09-18 Thread Carlos Peix
expected/desired. SCOPE_IDENTITY() (after the table1 insert) will return the key generated for table1 because the insert statement to table1 runs in a context and the trigger that inserts in table2 runs in another. Just as Gilles explained. Carlos Peix _ From: Clough, Samuel

RE: Kind of architecture question

2007-05-08 Thread Carlos Peix
uot;SelectApplic > ationByName", > applicationName); > if (application != null) > { > foreach (ApplicationUser user in application.Users) > { > user.Application = application; > } >

RE: Kind of architecture question

2007-05-08 Thread Carlos Peix
d type, cache, timely clearing of cache for GC, etc.. Regards, Tom Nguyen Sr. Developer On 5/7/07, Carlos Peix <[EMAIL PROTECTED]> wrote: Hi Shane, thanks for taking the time to answer. Yes, you are talking about an Identity Map I guess, but this solution is harder to implem

RE: Kind of architecture question

2007-05-08 Thread Carlos Peix
asking for some kind of hook into IBatis object instantiation to implement this kind of stateful operation. Thanks for taking the time to answer. Carlos Peix _ From: Clough, Samuel (USPC.PRG.Atlanta) [mailto:[EMAIL PROTECTED] Sent: Martes, 08 de Mayo de 2007 08:47 a.m. To: user-cs@ib

Kind of architecture question

2007-05-08 Thread Carlos Peix
ing this simple as not being a very important part of that 80%. I'm definitely looking forward to a better solution to this problem if anyone can come up with one. Shane On 5/7/07, Carlos Peix <[EMAIL PROTECTED]> wrote: Hi Shane, thanks for taking the time to answer. Yes, you are

Kind of architecture question

2007-05-07 Thread Carlos Peix
instead have your repository fill in the reference after it gets the Order. Definitely not a solution I'm in love with though. Shane On 5/7/07, Carlos Peix <[EMAIL PROTECTED]> wrote: Hi all, I used IBatis.NET with success in various projects now but I am still not very happy with my im

Kind of architecture question

2007-05-07 Thread Carlos Peix
of them include IBatis cache configuration) but I'm not happy with any of them. Sorry about the long post and thanks in advance. Carlos Peix

IBatis.NET cache

2006-09-11 Thread Carlos Peix
Hi all, I would like to know about experiences with the IBatis.NET cache (articles, documentation, case studies, etc.). With a production application we are facing performance problems due to extensive object graph loading time after time. In our model we use extensively object relations and not

RE: Instances integrity

2006-06-26 Thread Carlos Peix
code you want to have to write yourself stemming from issues you’d have to bump into yourself. There be dragons. J     Jeremy   On 6/26/06, Carlos Peix <[EMAIL PROTECTED]> wrote: Hi all,I'm wondering how you manage with different instances of the same (conceptual

Instances integrity

2006-06-26 Thread Carlos Peix
Hi all, I'm wondering how you manage with different instances of the same (conceptual) entity. As I tested, IBatis builds new instances on each query. This is causing me problems with the integrity of the domain model, for example, if I code: OperatingUnit firstInstance = (OperatingUnit)Mapper

Caching

2006-06-10 Thread Carlos Peix
Hi Alexandre, Hi all, In which level the cache you mention would work? Let me explain my question. I'm wondering how you (and my other fellows) manage with different instances for de same (conceptual) entity. As I tested, IBatis builds new instances on each query. This is causing me problems wi