Re: System.InvalidProgramException: Common Language Runtime detected an invalid program on a QueryForObject

2006-09-25 Thread Gilles Bayon
This will be corrected today. On 9/26/06, Louwris, Wessel <[EMAIL PROTECTED]> wrote: Thanks a lot, Don. This was the solution. I've been searching on the list before to solve this, but that was before your post :) Should have been using the properties immediately of course... Thank again. Wes

RE: Persisting Object Graph

2006-09-25 Thread Choi, Brian
I understand IBatis is trying to do one thing only -- Mapping object to table. However objects and also tables are only meaningful within their relationships to other entities. IBatis is very good product. But it forces users to reinvent this persistence mechanism over and over and over. What a wa

RE: System.InvalidProgramException: Common Language Runtime detected an invalid program on a QueryForObject

2006-09-25 Thread Louwris, Wessel
Thanks a lot, Don. This was the solution. I've been searching on the list before to solve this, but that was before your post :) Should have been using the properties immediately of course... Thank again. Wessel Don Dwoske wrote: > This is the bug I found last week (I believe). Look back in

RE: Composite Key parameter

2006-09-25 Thread Jeremy Gray
Title: Composite Key parameter Just to reply to my own reply: the place where I have used this is in creating discriminator column values on the fly when using a single query with parameterized table names to support concrete table inheritance. Works fantastically. I have yet to push generi

RE: Composite Key parameter

2006-09-25 Thread Jeremy Gray
Title: Composite Key parameter Where you have 2.5, 20, and 40, Ibatis is expecting a result set column name. If you can modify your query to produce the values and modify the column attribute to say ParentImageID=ImageID,Magnification=NewColumnName then it’ll work perfectly.   Jeremy  

RE: Persisting Object Graph

2006-09-25 Thread Nguyen, Tom
Correction: Rels.Business.Blog.Insert *= Rels.Business.Blog.Delete In response to: > to persist all the related objects. It will be much easier if we have > similar construct describing object relationship > > for insert, update and delete as in "select" clause in ParameterMap. I feel that the D

RE: Persisting Object Graph

2006-09-25 Thread Nguyen, Tom
I was actually doing exactly this in my demo project that I posted some months ago. See - ObjectPersister. http://www.noogen.net/download/free/Blogs.zip FYI: >From my presentation feedback, I found that it was hard for (.Net) Developers to get head around the (java) DAO Pattern. It was also to

Re: Persisting Object Graph

2006-09-25 Thread Peter Mills
I would love to hear more about your solutions, Brian. I plan on implementing similar functionality. Cheers, Peter Choi, Brian wrote: Hi all. Anybody implemented Object Graph Persistence using IBatis? It seems like there is only loading support via Lazy Load. (Java version has join fetch).

FW: Composite Key parameter

2006-09-25 Thread Luke Siler
Title: Composite Key parameter Hi, I have a follow-up to my composite key parameter question.  I looked at order.xml and see the following example:   I'm using

Re: MySQL connection

2006-09-25 Thread Gilles Bayon
Yes, go the MySql site and download the MySQL Connector/Net driver. -- Cheers, Gilles http://www.amazon.com/gp/registry/6JCP7AORB0LE";>Wish List

Re: Persisting Object Graph

2006-09-25 Thread Gilles Bayon
Nor the .NET or the Java version support that, you have to do it manually On 9/25/06, Choi, Brian <[EMAIL PROTECTED]> wrote: Hi all. Anybody implemented Object Graph Persistence using IBatis? It seems like there is only loading support via Lazy Load. (Java version has join fetch). It will b

Persisting Object Graph

2006-09-25 Thread Choi, Brian
Hi all. Anybody implemented Object Graph Persistence using IBatis? It seems like there is only loading support via Lazy Load. (Java version has join fetch). It will be great if someone can share their experience or best practice.   Currently I am using external xml or custom attribute s

MySQL connection!

2006-09-25 Thread Dorin Manoli
Hi all. ! I try to connect to MySQl 5 database, but Iallways get an exception that MySQl provider encounter a problem.   Do I need to download additional drivers for MySQL ? ….     Re: System.InvalidProgramException: Common Language Runtime detected an invalid program on a QueryForObject
This is the bug I found last week (I believe). Look back in the board for my message about using public fields. I included source code for the change which you would have to make in your own local copy (I compiled the source on my own to debug and find this) - I'm too busy to submit a bug report

MySQL connection

Hi all. ! I try to connect to MySQl 5 database, but Iallways get an exception that MySQl provider encounter a problem.   Do I need to download additional drivers for MySQL ? ….    

15 matches