Hi Gilles, I am currently trying to
use IDictionary for my parameterClass. One of my parameter is a
DateTime because it is related to a column in oracle that is from the DATE
type. I seems that my request
does not work because of this parameter. I get a “System.Data.OracleClient.OracleException:
ORA-01745: invalid host/bind variable name” exception… What should I do to avoid
this problem ? I have seen the dbtype attribute on the parameter element of the
resultMap. Should I use this kind of
attribute ? Thanks a lot for your
help, Regards Jean-Guillaume LALANNE De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] declare a new resultMap BLDetailPK
see UnitTest with Order and Item mapping.
> Hi all, > > > I am trying to use ibatisnet with my objects. > One of these objects has a composite primary key. > > When I try to use resultmap, as it is described in
the following lines, I > get an error saying that there are no setters and
getters for the Id.blNum > and Id.BlUnit attributes ... > > > > > > > > > > > BLHeader is at this url : > http://jeanguitou.jexiste.fr/tests/uml_bldetail.gif > > What Is the correct way to proceed ? > > Thanks in adavance for your help. > > Regards > > Jean-Guillaume LALANNE > > > Accédez au courrier électronique de 3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50
(0,34/mn) |
- Object with composite PK to populate Jean Guillaume LALANNE
- Howto log the SQL statement that are really ex... Jean Guillaume LALANNE
- Howto log the SQL statement that are reall... Jean Guillaume LALANNE