Re: Connecting MS Access with Middlegen

Enrique BasaƱez <[email protected]> Fri, 18 Nov 2005 01:18:24 +0100
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
indeed, its middlegenPopulator the one that is throwing the Error. I
dont have here code. I have connected to ms access using the sun odbc
driver, hibernate.cfg.xml  for a little prototipe, and it worked.

By the way....i know it....ms access is not the answer....using it is
not my decission.

Thanks.
Enrique.
PS: Monday I will post the Err log.

2005/11/17, [email protected] <[email protected]>:
> Could you provide some more of the error output? What Middlegen code
> actually logs that error?
>
> I'm guessing it's the MiddlegenPopulator throwing an exception due to
> unsupported operations in your jdbc/odbc driver.
>
> Can you successfully connect to MS Access using that driver from other
> applications? Configuring jdbc-drivers is known to be a problem when usin=
g
> MS Access afaik.
>
> .eivindw
>
> > Hi!
> >
> > I have problems when trying to connect a MS Access DB with MIddleGen,
> > to generate de hbm & POJO.
> >
> > Exactly, the error messaje is :
> >
> > [middlegen]java.lang.UnsatisfiedError: allocEnv
> > [middlegen]          at com.ms.jdbc.odbc.JdbcOdbc.allocEnv(Native Metho=
d)
> >
> >
> > Does anyone knows how to handle with that problem?
> >
> > Thanks in advance, Enrique.
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> > Register for a JBoss Training Course.  Free Certification Exam
> > for All Training Attendees Through End of 2005. For more info visit:
> > http://ads.osdn.com/?ad_idv28&alloc_id=16845&op=3Dclick
> > _______________________________________________
> > middlegen-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/middlegen-user
> >
> >
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
> Register for a JBoss Training Course.  Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick
> _______________________________________________
> middlegen-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click