Re : Re : Change package of Example classes generated by iBator ?

2008-11-14 Thread Gilles Schlienger
Thanks a lot Jeff, I'm thinking of adding a default "criteria" directory under the model classes directory. Do you think that would make sense to be commited to the project ? Are there other people interested in that feature out there ? Please anyone, reply if you think this would be interesting

Re: Re : Change package of Example classes generated by iBator ?

2008-11-14 Thread Jeff Butler
With Abator, you'll have to extend one of the built in JavaModelGenerator implementation and override the getExampleType() method. With ibator, you'll have to override one of the built in IntrospectedTable implementations and override the getExampleType() method. Same concept in both, just a diff

tutorial: blob handling

2008-11-14 Thread Andreas Niemeyer
Hi, Does there a tutorial exist? I only can find some spreaded posts, would be fine if someone has written the steps in his blog or another kind of kickstart reference. I read somewhere with postgres should it be a little bit tricky. Thank you for any response! Kind regards, Andreas

RE: bitmap fields

2008-11-14 Thread David McReynolds
Dude, don't ask me why. We are introducing java into a C shop. C programmers love bitmaps (I know, I programmed in C/Unix for 7 years). I think the rational is that it makes the "if" statements simpler. Not to worry. After we get through this initial transition, the bitmaps are going to be on t

Re: bitmap fields

2008-11-14 Thread Larry Meadors
I don't know. :) [OT] I am curious why you would do this instead of using multiple named fields. Larry On Fri, Nov 14, 2008 at 7:24 AM, David McReynolds <[EMAIL PROTECTED]> wrote: > Has anyone used ibator with bitmaps? We've got several bitmaps in various > tables and so far, I've resorted to w

bitmap fields

2008-11-14 Thread David McReynolds
Has anyone used ibator with bitmaps? We've got several bitmaps in various tables and so far, I've resorted to writing custom mappings for queries that need to interrogate those fields. I'd love to be able to use the generated xxxByExample mappings but I have no idea what the criteria would be be

Re : Change package of Example classes generated by iBator ?

2008-11-14 Thread Gilles Schlienger
Thanks Dan, I'm actually looking to use the Example classes but having them in a different package. I will look at the "Java Generator". I was hoping someone had had the same need and had already addressed it :) Thanks again Gilles De : Dan Turkenkopf <[EMAI

Re: Change package of Example classes generated by iBator ?

2008-11-14 Thread Dan Turkenkopf
Hi Gilles, I'm not sure if you're trying not to generate the Example classes at all, or if you want them in a different package. If you're looking not to generate the Example classes at all, the object has lots of attributes you can add that allow you to change what gets generated. For example

Change package of Example classes generated by iBator ?

2008-11-14 Thread Gilles Schlienger
Hi all, I'm currently using Abator to generate my model and the daos associated. It is very useful. I'm looking for a way to AVOID getting the Example classes generated in the same package of my domain classes ? Would anyone have any tip about this ? Thanks in advance Regards Gilles