Max,
This is change :
line 214-218 in ArtifactGeneratorWizard
except this :
public Object execute() {
cfg.readFromJDBC(new JDBCFilter() {
public boolean acceptTableName(TableIdentifier name) {
return !name.getName().startsWith("BIN$"); // to avoid oracle pain.
HACK! need to be configurable
}
});
I need
cfg.readFromJDBC(new JDBCWstFilter(selection));
selection can be declared like IStructuredSelection :
JDBCWstFilter work like your wizard when selection == null
Conslusion :
Can you do this
- Include JDBCWstFilter in org.hibernate.eclipse.console and change
ArtifactGeneratorWizard that call this filter or
- create field filter and setter method, call this filter in line 214
I can use original wizard, then
regards
On Monday 18 April 2005 12:13 pm, Max Rydahl Andersen wrote:
> On Mon, 18 Apr 2005 15:35:47 +0200, snpe <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > This is new reveng plugin
> >
> > Popup work with table,view and schema - when user choose schema filter
> > return all tables in schema (choosing schema work when doesn't exists
> > default_schema
> > in hibernate config)
> >
> > http://www.snpe.co.yu/org.hibernate.reveng1.zip
>
> please update the jira issue with it.
>
> btw. I looked at it and I like the concept,
> but I found that the wizard code you have looks very
> redundant (meaning it copies almost all the code from the existing wizard).
>
> I would integrate this functionallity if we could instead
> make some code that avoids this redundancy.
>
> /max
>
>
> >
> > regards
> > Haris Peco
> > On Monday 18 April 2005 07:23 am, Max Rydahl Andersen wrote:
> >> On Mon, 18 Apr 2005 04:52:27 +0200, snpe <[EMAIL PROTECTED]> wrote:
> >>
> >> > Max,
> >> > I see new version JDBCFilter etc
> >> > Can I change reveng plugin or you have yet adding
> >> >
> >>
> >> JDBCFilter now uses TableIdentifier which should allow you to filter
> >> on catalog and schema.
> >>
> >> Partial rev.eng is not done yet.
> >>
>
>
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
hibernate-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel