I have a problem while using complex properties. Here is my code :
Isn't your select statement only returning distinct profil values. You need
to include the id and droits columns in order for your config to work.
Z.
>
> I have a problem while using complex properties. Here is my code :
>
> class="Utilisateur.classe">
>
>
>
>
>
>
>
>
>
> select="Pro
In fact, idProfil refers to the field id in the table profil :
table "utilisateur":
id
login
password
...
idProfil
table "profilutilisateur" :
id
profil
droits
idProfil refers to profilutilisateur.id
I have tried what your solution and it works with this request :
SELECT DIS
The SQL that Abator generates try's to insert null into my identity columns
(eg car_id) which are auto-generated and 'not nullable'.
DB2 doesn't like this, and throws and exception about putting null into
non-null columns.
To get around it i've been deleting from the generated sql's insert
statem
Whoops - my bad:
http://ibatis.apache.org/docs/tools/abator/configreference/generatedKey.html
Seems to behave nicely now :)
"The Element
The element is used to specify properties for auto generated
keys (from identity field or sequences). If you specify this element, Abator
will generate an
Hi all,
I am using iBatis. it works great and i love it.
in my project i need to use a embedded ( branded ) driver from data direct.
Does iBatis support these embedded JDBC connections.
this link provides more information
http://www.datadirect.com/support/oem_embedding/index.ssp
Quoting from t
Yeah, it'll work. You may need to do a little plumbing, but it
shouldn't be too difficult.
My guess is that you'll need to create a data source / data source
factory, and make your required function call there. I think I'd use a
proxy on an existing data source implementation.
Larry
On 4/30/07
thanks Larry.
i will try it out in a day or two.
regards
ashok
On 4/30/07, Larry Meadors <[EMAIL PROTECTED]> wrote:
Yeah, it'll work. You may need to do a little plumbing, but it
shouldn't be too difficult.
My guess is that you'll need to create a data source / data source
factory, and make