You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Douglas Smith <do...@aciwebs.com> on 2006/07/19 22:52:50 UTC

RE: iBatis Newbie: Problem with

OK, changing the alias from

 

<typeAlias alias="Forecaster"
type="com.roanoketimes.forecasters.Forecaster,com.roanoketimes.forecaste
rs"  />

 

to this:

 

<typeAlias alias="Forecaster"
type="com.roanoketimes.forecasters.Forecaster"  />

 

fixed the issue.  But I still don't know why.  Can anybody tell me?

 

I could not find any documentation on <typeAlias> tag itself in the help
files.  

 

________________________________

From: Douglas Smith [mailto:douglas.smith@aciwebs.com] 
Sent: Wednesday, July 19, 2006 4:27 PM
To: user-cs@ibatis.apache.org
Subject: RE: iBatis Newbie: Problem with <typeAlias

 

By the way, why have the second element after the comma?

 

<typeAlias alias="Forecaster"
type="com.roanoketimes.forecasters.data.Forecaster,
com.roanoketimes.forecasters.data"  />

 

Why is this not good enough?

 

<typeAlias alias="Forecaster"
type="com.roanoketimes.forecasters.data.Forecaster"  />

 

I could not find any documentation on <typeAlias> itself in the help
file.  

 

 

________________________________

From: Alexandre Grenier [mailto:Alexandre.Grenier@markettools.com] 
Sent: Wednesday, July 19, 2006 3:53 PM
To: user-cs@ibatis.apache.org
Subject: RE: iBatis Newbie: Problem with <typeAlias

 

I love how people almost feel a need to apologize for using VB :-)

 

For your question, check the assembly default namespace (in VS project
properties), that could be a cause.

 

Alex

 


Re: iBatis Newbie: Problem with

Posted by Martín Trejo Chávez <mt...@ownmail.net>.
Hi Douglas,

It's the format specification. the first part (before the comma) is the class name, the other part specify the assembly where .NET can find the class.

Regards,

ChilliCoder
http://chilli-coder.blogspot.com
  ----- Original Message ----- 
  From: Douglas Smith 
  To: user-cs@ibatis.apache.org 
  Sent: Wednesday, July 19, 2006 3:52 PM
  Subject: RE: iBatis Newbie: Problem with <typeAlias>


  OK, changing the alias from

   

  <typeAlias alias="Forecaster" type="com.roanoketimes.forecasters.Forecaster,com.roanoketimes.forecasters"  />

   

  to this:

   

  <typeAlias alias="Forecaster" type="com.roanoketimes.forecasters.Forecaster"  />

   

  fixed the issue.  But I still don't know why.  Can anybody tell me?

   

  I could not find any documentation on <typeAlias> tag itself in the help files.  

   


------------------------------------------------------------------------------

  From: Douglas Smith [mailto:douglas.smith@aciwebs.com] 
  Sent: Wednesday, July 19, 2006 4:27 PM
  To: user-cs@ibatis.apache.org
  Subject: RE: iBatis Newbie: Problem with <typeAlias

   

  By the way, why have the second element after the comma?

   

  <typeAlias alias="Forecaster" type="com.roanoketimes.forecasters.data.Forecaster, com.roanoketimes.forecasters.data"  />

   

  Why is this not good enough?

   

  <typeAlias alias="Forecaster" type="com.roanoketimes.forecasters.data.Forecaster"  />

   

  I could not find any documentation on <typeAlias> itself in the help file.  

   

   


------------------------------------------------------------------------------

  From: Alexandre Grenier [mailto:Alexandre.Grenier@markettools.com] 
  Sent: Wednesday, July 19, 2006 3:53 PM
  To: user-cs@ibatis.apache.org
  Subject: RE: iBatis Newbie: Problem with <typeAlias

   

  I love how people almost feel a need to apologize for using VB J

   

  For your question, check the assembly default namespace (in VS project properties), that could be a cause.

   

  Alex