ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: How many field can insert
Date Thu, 17 Feb 2005 16:22:04 GMT
Roger,

You'll need to dig a little harder to find the root cause of the exception.  

Unless I see a com.ibatis.* exception, I can't help you.

Cheers,
Clinton


On Thu, 17 Feb 2005 08:14:40 -0800 (PST), Roger Baeza
<rogerimo@yahoo.com> wrote:
> java.lang.ExceptionInInitializerError
> 
> sep.fmat.sipre.service.PreinscripcionService.<init>(PreinscripcionService.java:53)
> sep.fmat.sipre.service.PreinscripcionService.<clinit>(PreinscripcionService.java:37)
> sep.fmat.sipre.action.BusqAlumnoAction.execute(BusqAlumnoAction.java:66)
> 
> is raised when, i get instance for may daoManager
> 
> public class DaoConfig {
> 
>   private static final DaoManager daoManager;
>   //private static final SqlMapClient sqlMap;
> 
>   static {
>     try {
> 
>       //conexion via JDBC
>       String resource =
> "sep/fmat/sipre/persistent/dao.xml";
>       Reader reader =
> Resources.getResourceAsReader(resource);
>       daoManager =
> DaoManagerBuilder.buildDaoManager(reader);
> 
>       System.out.println("Se ha cargado el sqlmap
> exitosamente");
>     } catch (Exception e) {
>       throw new RuntimeException("No se puede
> iniciaizar el DaoConfig.  Cause: " + e);
>     }
>   }
> 
>   public static DaoManager getDaoManager() {
>     return daoManager;
>   }
> 
> }
> 
> --- Brandon Goodin <brandon.goodin@gmail.com> wrote:
> 
> > what is the specific exception it is giving you?
> >
> > Brandon
> >
> >
> > On Thu, 17 Feb 2005 05:04:17 -0800 (PST), Roger
> > Baeza
> > <rogerimo@yahoo.com> wrote:
> > > Hello all
> > >
> > > Any one can help me...
> > >
> > > I'm usign sqlMap, when I put more than 9 field to
> > > insert statement like this
> > >
> > > 9 exactly
> > > Insert Into spIngresoSecundaria
> > >     (IdPreinscripcion, IdAlumno, IdPrimaria,
> > > IdSecundaria, TieneHermanos,
> > >     PrimariaInf, EsMenorA12, FechaPreIns,
> > FechaIns)
> > >     values
> > >     (0, #alumnoId#, #primariaId#, #secundariaId#,
> > > #tieneHermanos#,
> > >     #primariaInf#, #esMenora12#, current, current)
> > >
> > > more than 9,
> > > Insert Into spIngresoSecundaria
> > >     (IdPreinscripcion, IdAlumno, IdPrimaria,
> > > IdSecundaria, TieneHermanos,
> > >     PrimariaInf, EsMenorA12, FechaPreIns,
> > FechaIns,
> > > other)
> > >     values
> > >     (0, #alumnoId#, #primariaId#, #secundariaId#,
> > > #tieneHermanos#,
> > >     #primariaInf#, #esMenora12#, current, current,
> > > #other#)
> > >
> > > can let me inicialize the daoManager
> > >
> > > what's up?
> > >
> > > regards
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Read only the mail you want - Yahoo! Mail
> > SpamGuard.
> > > http://promotions.yahoo.com/new_mail
> > >
> >
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - now with 250MB free storage. Learn more.
> http://info.mail.yahoo.com/mail_250
>

Mime
View raw message