Environment « Property « JPA Q&A





1. Hibernate Environment not using set Properties    forum.hibernate.org

Hibernate version: 3.0.3 Full stack trace of any exception that occurs: Code: com.xxx.deployment.hibernate.exceptions.InfrastructureException: org.hibernate.exception.GenericJDBCException: could not insert: [com.xxx.vo.Class] at com.xxx.deployment.hibernate.persistence.HibernateUtil.commitTransaction(HibernateUtil.java:194) at com.xxx.deployment.hibernate.persistence.HibernateFilter.doFilter(HibernateFilter.java:67) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) ...

2. Environment. : hibernate.properties not found    forum.hibernate.org

Hello, I'm trying to run J2EE BMP Hibernate assisted application on jonas. Mapping files are not found and i'm asked to give an hibernate properties file whereas i have hibernate.cfg.xml at root of project. How to fix it? Is stacktrace directly linked with logs got below? Thanks a lot. ------------------------------hibernate.cfg.xml---------------------------------