AW: Ibator: generate equals and hashcode in Example classes

2009-09-15 Thread Benjamin Klatt
testing. // Iwao on 09/09/15 16:39 Iwao AVE! said the following: > Hi Benjamin, > > Here's mine. > http://harawata.blogspot.com/2009/04/adds-equals-and-hashcode-to-ibators.htm l > > Hope this helps, > Iwao > > on 09/09/15 16:29 Benjamin Klatt said the following: &g

Ibator: generate equals and hashcode in Example classes

2009-09-15 Thread Benjamin Klatt
Hi all, does someone know about an Ibator plugin to generate the equals and hashcode methods for the Example classes? The existing EqualsHashCodePlugin does provide this functionality for the data classes. Our intend is to have this methods also in the example classes for better unit test

AW: Ibator: Generate table name as prefix for columns

2009-07-15 Thread Benjamin Klatt
bator: Generate table name as prefix for columns Hi Benjamin, Try specifying the 'alias' attribute of the element. http://ibatis.apache.org/docs/tools/ibator/configreference/table.html Regards, Iwao on 09.7.15 8:44 PM Benjamin Klatt said the following: > Hi there, > > does a

Ibator: Generate table name as prefix for columns

2009-07-15 Thread Benjamin Klatt
Hi there, does anyone know a solution to generate the column name in the base list prefixed with the name of the table? I am extending the SQL files with my own statements and need to prevent ambiguous columns when joining other tables in the extended map files. So I would like to manipu

AW: AW: String parameter problem

2009-07-08 Thread Benjamin Klatt
FX_IR025_UPD_UID = #updId# and it works...FYI,the field length for FX_IR025_UPD_UID is 8 char only...is there any length limitation for String data type? Benjamin-Klatt wrote: > > Hi cax, > > have you tried to execute the query directly on the database to ensure > there > is

AW: String parameter problem

2009-07-08 Thread Benjamin Klatt
Hi cax, have you tried to execute the query directly on the database to ensure there is a result for your query? br Benjamin -Ursprüngliche Nachricht- Von: Cax [mailto:cahyadiherma...@gmail.com] Gesendet: Mittwoch, 8. Juli 2009 17:31 An: user-java@ibatis.apache.org Betreff: Re: String

AW: Suffix for DAOs

2009-07-06 Thread Benjamin Klatt
Jeff Butler On Sun, Jul 5, 2009 at 4:40 PM, Benjamin Klatt wrote: Hi Jeff, If implemented such a plugin based on the new Version 1.2.2 from SVN and it works pretty good. There are just two question: 1. I am missing separate access to DAO package and interface/class names. In version 1

AW: Suffix for DAOs

2009-07-05 Thread Benjamin Klatt
ncept. Jeff Butler On Sat, Jul 4, 2009 at 5:58 AM, Benjamin Klatt wrote: Hi List, is there an out-of-the-box way to generate the DAO objects with a suffix? The only way I found so far is by extending an existing DAO generator. Thanks for any feedback br benjamin

Suffix for DAOs

2009-07-04 Thread Benjamin Klatt
Hi List, is there an out-of-the-box way to generate the DAO objects with a suffix? The only way I found so far is by extending an existing DAO generator. Thanks for any feedback br benjamin

classPathEntry with relative path

2009-07-03 Thread Benjamin Klatt
Hi all, I am using the ibator eclipse plugin and have defined a classPathEnty for the jdbc driver with an absolute path. Does anyone now a way to define this as a relative path inside my eclipse project? Cheers Benjamin

AW: How to define alias in

2009-03-27 Thread Benjamin Klatt
Hi Jasmin, you should be able to set different column names in your resultmap like And then use appropriate aliases in your sql query: SELECT cs.cust_status, cu.first_name,

AW: iBator EqualsHashCodePlugin: NullPointerExceptions in equal method

2009-03-25 Thread Benjamin Klatt
ther."); //$NON-NLS-1$ sb.append(getterMethod); sb.append("())"); //$NON-NLS-1$ Cheers Benjamin -Ursprüngliche Nachricht- Von: Benjamin Klatt [mailto:benja...@bar54.de] Gesendet: Mittwoch, 25. März 2009 13:32 An: user-java@ibatis.apache.org Betreff: iBator EqualsHashCod

iBator EqualsHashCodePlugin: NullPointerExceptions in equal method

2009-03-25 Thread Benjamin Klatt
} I am sorry to posting this on the users mailing list instead of fixing the code directly, but I don't have access to the repository. @Jeff: It would be nice to see this integrated in the next version and to throw away out adopted plugin ;) All the best Benjamin --

AW: iBator CommentGenerator: Java Model Class with database column comment

2009-03-21 Thread Benjamin Klatt
or to read the column comments from the database and * to write them into the java doc of the data model classes * * @author Benjamin Klatt * */ public class JavaModelCommentGenerator extends DefaultCommentGenerator { /** * Enhanced field comment generation method to use th

iBator CommentGenerator: Java Model Class with database column comment

2009-03-19 Thread Benjamin-Klatt
Hi all, I am trying to use the comment I modeled in my database to be automatically used in javadoc comment of the data fields within the java data model source code. I started to implement my own commentGenerator, but the method addFieldComment(Field field, FullyQualifiedTable, String columnNa