hello all :

     I write a page class :

package com.myspacce.pages;
import java.util.*;
import org.apache.tapestry.annotations.*;
import org.hibernate.*;
public class Start
{
        public String _name;
        
        @Inject
        private Session _session;
        
        public List getList()
        {
                
                List list=_session.createQuery("select name from 
Company").list();
                return list;
        }
}

run error is :org.apache.tapestry.internal.services.TransformationException:
Error obtaining injected value for field com.myspacce.pages.Start._session:
No service implements the interface org.hibernate.Session. 

can you help me how to implements the interface org.hibernate.Session ?
                                                                                
                             
best regards



-- 
View this message in context: 
http://www.nabble.com/how-to-use-ioc-of-t5---tf4604761.html#a13148406
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to