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
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.
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
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
,
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
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
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
:[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
: 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
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();
10 matches
Mail list logo