Ibatis DAO and Hibernate support

2005-09-20 Thread hicham abassi
Hello, I'm trying to use Ibatis DAO with Hibernate. Does Ibatis DAO support Hibernate 3 ? Thanks -- hicham ABASSI [EMAIL PROTECTED]

Avoiding selects and other problems with complex objects / Hibernate

2005-09-20 Thread Farsi, Reza
Hi, I don't know, if I can describe my queotion clealy, but I try it. Following scenario: There are two objects Fund and Instrument. Instrument hat one composite object called Interest. Fund does not reference any other obejct. Instrument reference only Interest. There is also an obejct called

Re: Dynamic condition/fields

2005-09-20 Thread Larry Meadors
On 9/20/05, Ron Grabowski [EMAIL PROTECTED] wrote: Q3. All sql statements to/from the database are logged. You can capture those and do whatever you want with them. I think what he's looking for here is a way to get the SQL before it is executed to tweak it. No, there is not currently a way

Re: Mapping Composition (aka composite property, aka value objects)

2005-09-20 Thread Dan Bradley
I have the same question myself, but haven't yet figured out how to handle that situation. Anyone else know? On 9/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: If iBATIS is doing these steps Product product = new Product(); product.getPrice().setAmount(amount); the

Re: Dynamic condition/fields

2005-09-20 Thread Mathew Samuel
Problem 3 (Q3) is not for logging/debugging purposes. It's to actually modify (mostly append) the generated SQL text, say, to add additional SQL constructs before it is sent to the execution engine. Thanks --- Ron Grabowski [EMAIL PROTECTED] wrote: Q1. You could pass your parameters in

Re: Dynamic condition/fields

2005-09-20 Thread Larry Meadors
Honestly, I can say in the 3 years (?!) i have been using iBATIS, I have never needed to do that..but at the same time, I can see where it might be useful. I can see a MUCH larger use in this way - I spent last weekend writing a DAO implementation for an LDAP directory...LDAP queries are every

Re: Dynamic condition/fields

2005-09-20 Thread Ron Grabowski
I think my idea is strange...I'd vote -1 for it :-/ Do you think a generic callBackTag would be helpful? You would pass in a class that could do processing once ibatis has done its job: callBackTag type=MyCallBackTag isNotNull prepend=and property=attribute1 FIELD1 $likeClause$