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 -----
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:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 4:27 PM
To: [email protected]
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:[EMAIL PROTECTED]
Sent: Wednesday, July 19, 2006 3:53 PM
To: [email protected]
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

 

Reply via email to