You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by David Brown <db...@sexingtechnologies.com> on 2009/06/02 04:32:41 UTC

WIA ch 13 DAO creation (just a lot of cheese?)

Hello wicket bunch, I have a curious situation using the WIA ch13 DAO/hibernate code. When I try to introduce a third class aptly named: Test in the domain and a DAO interface named: TestDao and then a class: TestDaoImpl I get the unresolvable Error:



***************************************
Bound mismatch: The type Test is not a valid substitute for the bounded parameter <T extends DomainObject> of the type AbstractHibernateDaoImpl<T>



Yet, this is perfectly valid for the existing class: Cheese and CheeseDaoImpl.


Any ideas?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: WIA ch 13 DAO creation (just a lot of cheese?)

Posted by Igor Vaynberg <ig...@gmail.com>.
the book has a forum that may be a better place to ask this.

www.wicketinaction.com/support

-igor

On Tue, Jun 2, 2009 at 6:44 AM, David Brown
<db...@sexingtechnologies.com> wrote:
> Hello James, thanks for the reply. Please find included below the Test.java body as found in the .domain directory:
>
> public class Test implements DomainObject {
>        public Long getId() {
>                return null;
>        }
> }
>
>
>
> ----- Original Message -----
> From: "James Carman" <jc...@carmanconsulting.com>
> To: users@wicket.apache.org
> Sent: Monday, June 1, 2009 9:39:32 PM GMT -06:00 US/Canada Central
> Subject: Re: WIA ch 13 DAO creation (just a lot of cheese?)
>
> Does "Test" extend DomainObject?
>
> On Mon, Jun 1, 2009 at 10:32 PM, David Brown
> <db...@sexingtechnologies.com> wrote:
>> Hello wicket bunch, I have a curious situation using the WIA ch13 DAO/hibernate code. When I try to introduce a third class aptly named: Test in the domain and a DAO interface named: TestDao and then a class: TestDaoImpl I get the unresolvable Error:
>>
>>
>>
>> ***************************************
>> Bound mismatch: The type Test is not a valid substitute for the bounded parameter <T extends DomainObject> of the type AbstractHibernateDaoImpl<T>
>>
>>
>>
>> Yet, this is perfectly valid for the existing class: Cheese and CheeseDaoImpl.
>>
>>
>> Any ideas?
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: WIA ch 13 DAO creation (just a lot of cheese?)

Posted by David Brown <db...@sexingtechnologies.com>.
Hello James, thanks for the reply. Please find included below the Test.java body as found in the .domain directory:

public class Test implements DomainObject {
	public Long getId() {
		return null;
	}
}



----- Original Message -----
From: "James Carman" <jc...@carmanconsulting.com>
To: users@wicket.apache.org
Sent: Monday, June 1, 2009 9:39:32 PM GMT -06:00 US/Canada Central
Subject: Re: WIA ch 13 DAO creation (just a lot of cheese?)

Does "Test" extend DomainObject?

On Mon, Jun 1, 2009 at 10:32 PM, David Brown
<db...@sexingtechnologies.com> wrote:
> Hello wicket bunch, I have a curious situation using the WIA ch13 DAO/hibernate code. When I try to introduce a third class aptly named: Test in the domain and a DAO interface named: TestDao and then a class: TestDaoImpl I get the unresolvable Error:
>
>
>
> ***************************************
> Bound mismatch: The type Test is not a valid substitute for the bounded parameter <T extends DomainObject> of the type AbstractHibernateDaoImpl<T>
>
>
>
> Yet, this is perfectly valid for the existing class: Cheese and CheeseDaoImpl.
>
>
> Any ideas?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: WIA ch 13 DAO creation (just a lot of cheese?)

Posted by James Carman <jc...@carmanconsulting.com>.
Does "Test" extend DomainObject?

On Mon, Jun 1, 2009 at 10:32 PM, David Brown
<db...@sexingtechnologies.com> wrote:
> Hello wicket bunch, I have a curious situation using the WIA ch13 DAO/hibernate code. When I try to introduce a third class aptly named: Test in the domain and a DAO interface named: TestDao and then a class: TestDaoImpl I get the unresolvable Error:
>
>
>
> ***************************************
> Bound mismatch: The type Test is not a valid substitute for the bounded parameter <T extends DomainObject> of the type AbstractHibernateDaoImpl<T>
>
>
>
> Yet, this is perfectly valid for the existing class: Cheese and CheeseDaoImpl.
>
>
> Any ideas?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org