RE: Problem with raw type.

2008-05-02 Thread Jean-Francois Poilpret
ia); } In this situation, the compiler will never complain. Cheers Jean-Francois -Original Message- From: Sara [mailto:[EMAIL PROTECTED] Sent: Saturday, May 03, 2008 12:53 AM To: user-java@ibatis.apache.org Subject: RE: Problem with raw type. Thank you all for the help and information

RE: Problem with raw type.

2008-05-02 Thread Sara
e.org Subject: RE: Problem with raw type. Sara, Someone else pointed out that is actually a warning about your using an untyped list. You may be new to java5 as well as iBatis. This is a good overview of what generics are: http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html Good luck.

RE: Problem with raw type.

2008-05-02 Thread Chris O'Connell
will realize that generics are your friend... -Original Message- From: Sara [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2008 11:27 AM To: user-java@ibatis.apache.org Cc: [EMAIL PROTECTED] Subject: RE: Problem with raw type. Hi Irwin, No I don't get an Exception, the warning that

RE: Problem with raw type.

2008-05-02 Thread Irwin, Constance
Sorry, I had the email confused with one from one of my co-workers. Connie From: Sundar Sankaranarayanan [EMAIL PROTECTED] Sent: Friday, May 02, 2008 12:16 PM To: user-java@ibatis.apache.org Subject: RE: Problem with raw type. List is raw type exception

RE: Problem with raw type.

2008-05-02 Thread Sundar Sankaranarayanan
, Sundar Sankarnarayanan Software Engineer @University of Phoenix -Original Message- From: Sara [mailto:[EMAIL PROTECTED] Sent: Friday, May 02, 2008 9:27 AM To: user-java@ibatis.apache.org Cc: [EMAIL PROTECTED] Subject: RE: Problem with raw type. Hi Irwin, No I don't get an Excepti

RE: Problem with raw type.

2008-05-02 Thread Sara
ailto:[EMAIL PROTECTED] Sent: vrijdag 2 mei 2008 18:07 To: user-java@ibatis.apache.org Subject: RE: Problem with raw type. Sarah, Are you getting an exception? It looks like you are getting a warning related to the list data structure: List resultList = DepartDao.selectByEx

Re: Problem with raw type.

2008-05-02 Thread Brandon Goodin
put the @SuppressWarnings annotation at the top of the method or type your list. Annotation: @SuppressWarnings("unchecked"); Typed List: List resultList = DepartDao.selectByExample(DepartExample); B On Fri, May 2, 2008 at 10:51 AM, Sara <[EMAIL PROTECTED]> wrote: > Hi all, > > > > I have a qu

RE: Problem with raw type.

2008-05-02 Thread Sundar Sankaranarayanan
:[EMAIL PROTECTED] Sent: Friday, May 02, 2008 9:07 AM To: user-java@ibatis.apache.org Subject: RE: Problem with raw type. Sarah, Are you getting an exception? It looks like you are getting a warning related to the list data structure: List resultList = DepartDao.selectByExample

RE: Problem with raw type.

2008-05-02 Thread Irwin, Constance
: Sara [EMAIL PROTECTED] Sent: Friday, May 02, 2008 11:51 AM To: user-java@ibatis.apache.org Subject: Problem with raw type. Hi all, I have a question about a select query. This is the source that I use: try { dao.DepartmentDAO DepartDao = (dao.DepartmentDAO

Problem with raw type.

2008-05-02 Thread Sara
Hi all, I have a question about a select query. This is the source that I use: try { dao.DepartmentDAO DepartDao = (dao.DepartmentDAO) DaoManagerRequester.getDaoManager().getDao(dao.DepartmentDAO.class); model.DepartmentExample DepartExample = new model.DepartmentExample();