ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gareth Moorst <gazj...@yahoo.co.uk>
Subject RE: [ABATOR] Future Plans
Date Thu, 22 Dec 2005 08:35:47 GMT
I keep forgetting about that 'confidentiality notice' bollocks that my company insist on attaching
to all emails - I apologise for filling the list with crap.

Gareth Moorst

--- Gareth Moorst <Gareth.Moorst@Phones4u.co.uk> wrote:
> 
> I vote for being able to generate classes based on arbitrary queries.
> I got half way through writing a code generator that did that, but you did a better job
with
> Abator - add the query parsing to it and It'll be almost perfect.
>  
> Another thing I'd like to see is a way to customise whatever templates are used to generate
the
> files, and customisation of the package that the generated classes/files go into - I
tend to
> keep my beans and daos in separate subpackages.
>  
> Gareth Moorst
>  
> 
> -----Original Message-----
> From: Jeff Butler [mailto:jeffgbutler@gmail.com]
> Sent: Thursday 22 December 2005 05:45
> To: user-java@ibatis.apache.org
> Subject: Re: [ABATOR] Future Plans
> 
> 
> Thanks for the kind words.
>  
> I'm hesitant to do the DDL thing because it would mean that Abator would have to parse
the DDL
> and that is very difficult given that there are so many different database dialects out
there. 
> If we went this route, we'd probably need to come up with an Abator DDL syntax, rather
than
> relying on any vendor's syntax.  Then we'd probably want a translator to translate the
Abator
> syntax into a specific database dialect, and then before you know it you're back in the
realm of
> top down CMP entity beans (shudder).  So I think that is probably beyond the scope of
the tool. 
>  
> But I do like another idea that's emerging on this thread - using Abator to generate
classes and
> methods given arbitrary queries.  That should be pretty simple to accomplish.
>  
> Jeff Butler
> 
>  
> On 12/21/05, Minjae Kim < conkmj@gmail.com> wrote: 
> 
> Thanks Jeff for making this terrific Eclipse plugin.
> I am thinking the application of this tool to a kind of DB2 CRUD system.
>  
> I have  2 things to ask of you.
>  
> Is there a way to use DDL file to add table information to Abator configuration file
instead of
> 'table' tag?
>  
> Another thing is I can't read http://ibatis.apache.org/dtd/abator-config_1_0.dtd file.
I got
> just the following message.
>  
> 
> The XML page cannot be displayed 
> 
> 
> Cannot view XML input using style sheet. Please correct the error and then click the
Refresh
> button, or try again later. 
> 
>   _____  
> 
> 
> Cannot have a DTD declaration outside of a DTD. Error processing resource '
> http://ibatis.apache.org/dtd/abator-config_1_0.d. 
> <http://ibatis.apache.org/dtd/abator-config_1_0.d.> ..
> 
> <!ENTITY % Boolean "(true|false)">
> 
> -----------^
> 
> Thanks a lot,
> 
> Minjae Kim
> 
> 
> 



		
___________________________________________________________ 
Yahoo! Exclusive Xmas Game, help Santa with his celebrity party - http://santas-christmas-party.yahoo.net/

Mime
View raw message