I got thi error using middlegen and a MS Access schema
It looks like the driver jdbc odbc doesn't support the feature below
described....
Any idea? Should I change the MS Access Driver ...and where can I find it?
....
[middlegen] (middlegen.Middlegen                 352 ) Registering plugin
jsp->middlegen.plugins.str
uts.JspPlugin
[middlegen] Database URL:jdbc:odbc:db
[middlegen] No <table> elements specified. Reading all tables. This might
take a while...
[middlegen] (middlegen.MiddlegenPopulator        204 ) [Microsoft][Driver
ODBC Microsoft Access]Optional feature not
implemented
[middlegen] java.sql.SQLException: [Microsoft][Driver ODBC Microsoft
Access]Caratteristica opzionale
 non implementata
[middlegen]     at
sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
[middlegen]     at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
[middlegen]     at sun.jdbc.odbc.JdbcOdbc.SQLTables(JdbcOdbc.java:5519)
[middlegen]     at
sun.jdbc.odbc.JdbcOdbcDatabaseMetaData.getTables(JdbcOdbcDatabaseMetaData.ja
va:23
95)
[middlegen]     at
middlegen.MiddlegenPopulator.addRegularTableElements(MiddlegenPopulator.java
:142)

[middlegen]     at middlegen.MiddlegenTask.execute(MiddlegenTask.java:401)
[middlegen]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[middlegen]     at org.apache.tools.ant.Task.perform(Task.java:364)
[middlegen]     at org.apache.tools.ant.Target.execute(Target.java:341)
[middlegen]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
[middlegen]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[middlegen]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
[middlegen]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
[middlegen]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
[middlegen]     at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
[middlegen]     at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

BUILD FAILED
C:\middlegen-2.0\samples\build.xml:200: middlegen.MiddlegenException:
Couldn't get list of tables fr
om database. Probably a JDBC driver problem.
Configured schema:
Configured catalog:
  ?? Couldn't get schemas ??
Available catalogs:

----- Original Message ----- 
From: "M.-Leander Reimer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 27, 2004 6:48 AM
Subject: Re: [Middlegen-user] run the middlegen GUI?


> Hi,
>
> the Middlegen ant task has a gui attribute, set this to true and the GUI
> will show. If you place a build.properties under the samples/ dir of the
> Middlegen distribution and put "gui=true" into it the same will happen.
>
> I never used the GUI too much, neither have I used the Hibernate stuff
> from Middlegen, so I can't help you on this.
>
>
> Leander
>
> DI LEMBO schrieb:
> > Hi
> > How can I run the middlegen GUI?
> > And is it usefull for configuring middlegen task with an MS ACCESS
schema?
> > I have a MS Access schema and I want to generate the metadata for
XDoclet
> > parsing for hibernate...
> > Quite hard with hibernate and middlegen documentation.
> > Please help me!
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > middlegen-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/middlegen-user
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to