gladiator_wyj的博客当我用junit测试时不会报任何异常,数据也都能得到 public class BuyerTest { @BeforeClass public static void begin() throws Exception{}@Test public void save(){ Configuration config=new ...
hp的博客 List<Person> l = (List)getHibernateTemplate().find("from Person"); //select * from dept return l; } public void test1() { Person person = (Person)getHibernateTemplate().get...
weixin_33755554的博客当我用junit测试时不会报任何异常,数据也都能得到 public class BuyerTest { @BeforeClass public static void begin() throws Exception{} @Test public void save(){ Configuration config=new Anno....
圆圆的汤汤圆圆的博客今天整理一下在写ssh整合的过程中,遇到的错误。 1.org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDao' defined in class path resource [applicationContext.xml...