1. not getting data from oracle database when accessed using hibernate application coderanch.comI am trying to get data from oracle database from following client application package com.hibernate.raja; import com.hibernate.raja.beans.*; import com.hibernate.raja.utils.*; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import org.hibernate.cfg.Environment; import org.hibernate.Transaction; import org.hibernate.Query; import java.util.*; public class Main { public Main() { // TODO Auto-generated constructor stub SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); Session session = sessionFactory.openSession(); ArrayList arrayList = null; String ... |
2. No more data to read from socket with oracle forum.hibernate.orgSenior Joined: Tue May 10, 2005 9:00 am Posts: 125 Hello, i get this error when one of my application is trying to access oracle storage using Hibernate. I have absolutely no clue on what is going wrong. Does someone have any idea??? Hibernate version: 3.0.x Mapping documents: Code: |
3. retreiving data from oracle database forum.hibernate.orgNo problem, you must edit the hibernate configuration file (hibernate.cfg.xml), and change the database properties. At this time i use mssql, so i don't have oracle example, but i find this for you: |