SessionFactory « Oracle « JPA Q&A





1. Configuring a JNDI SessionFactory on Oracle AS    forum.hibernate.org

Hibernate version: 3.1.3 Hello there! I'm using Oracle AS 10.1.2, and I'd like to know how to set my session factory on the JNDI. I know how to do it using JBoss and .har archives, problem is... I'm not using JBoss :( PS: Gavin (if you ever come to read this), I've been in your last speak about Seam at Rio ...

2. ClassCastException building SessionFactory with Oracle 10g    forum.hibernate.org

Description I'm executing a segment of Hibernate Code. When I'm triying to build de SessionFactory class, I obain the error below. As you can see at the hibernate.cfg.xml, I have the next mapping class: Code: AacMemberType AacComponentTypeOperation AacMember AacPermission PubFila AacComponentOperation PubFilaItem AacComponentType AacMemberGroup //This is the last class analized before the error //Error (resumed) java.lang.ClassCastException: org.hibernate.type.StringType //The next mapping class ...