Subject | Re: [Firebird-Java] Middlegen error |
---|---|
Author | David Jencks |
Post date | 2002-04-28T04:50:35Z |
Well, if all the other dbs Middlegen works with let you do this, it's
probably a bug in the firebird driver. I think the spec is unclear about
whether null in the tablename pattern is allowed, and I guess we need to
allow it and assume it means the same as "%".
david jencks
probably a bug in the firebird driver. I think the spec is unclear about
whether null in the tablename pattern is allowed, and I guess we need to
allow it and assume it means the same as "%".
david jencks
On 2002.04.27 22:27:11 -0400 Danilo Luiz Rheinheimer wrote:
> Hi,
>
> I was using the Middlegen (http://boss.bekk.no/boss/middlegen/, it is
> a
> tool who get the tables from a database and create Entity Beans.
> from them) tool.
> When I run using the firebird driver I get a error.
> The stack is on the end of the message.
> This is a Firebird driver error or is from Middlegen ?
>
> C:\prg\MIDDLE~1\samples>ant
> Buildfile: build.xml
>
> middlegen:
> Exception occurred during event dispatching:
> java.lang.NullPointerException
> at
> org.firebirdsql.jdbc.FBDatabaseMetaData.hasNoWildcards(FBDatabaseMeta
> Data.java:4098)
> at
> org.firebirdsql.jdbc.FBDatabaseMetaData.getTables(FBDatabaseMetaData.
> java:2030)
> at
> middlegen.MiddlegenPopulator.getRegularTableNames(MiddlegenPopulator.
> java:112)
> at
> middlegen.swing.JMiddlegenPanel$3.actionPerformed(JMiddlegenPanel.jav
> a:144)
> at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:14
> 50)
> at
> javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
> ctButton.java:1504)
> at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
> .java:378)
> at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
> )
> at javax.swing.AbstractButton.doClick(AbstractButton.java:279)
> at
> javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
> d(BasicMenuItemUI.java:886)
> at java.awt.Component.processMouseEvent(Component.java:3715)
> at java.awt.Component.processEvent(Component.java:3544)
> at java.awt.Container.processEvent(Container.java:1164)
> at java.awt.Component.dispatchEventImpl(Component.java:2593)
> at java.awt.Container.dispatchEventImpl(Container.java:1213)
> at java.awt.Component.dispatchEvent(Component.java:2497)
> at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451
> )
> at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
>
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
> at java.awt.Container.dispatchEventImpl(Container.java:1200)
> at java.awt.Window.dispatchEventImpl(Window.java:914)
> at java.awt.Component.dispatchEvent(Component.java:2497)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
> at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:131)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:98)
> at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
>
>
> ----
> Danilo Luiz Rheinheimer
> Florianopolis/SC Brasil
> Sony CliƩ 615C
> mailto:danilo@...
> ----
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>