AS400 « Database « JPA Q&A





1. how can hibernate connect as400/db2    forum.hibernate.org

if I use the Hibernate,how can the hibernate connect the as400/db2 could you give me a sample.thanks I try to use the hibernate to connct the as400/db2 but when I save the data into as400/db2 ,it always have exception.but i can check up the data from the as400/db2 by hibernate. thanks ------------------------------------- Session session = sf.getCurrentSession(); Pwk2870 p1 = new Pwk2870(); ...

2. Can Hibernate access DB2/AS400 store procs    forum.hibernate.org

Can Hibernate access DB2/AS400 store procs I am starting to work on a new project and we are going to use Spring 3, Hibernate 3 but the data is on the mainframe (AS400) DB and my firm only gives us account to the store procs not to table or views. Can I still use hibernate for my coding?

3. Driver DB2 for AS400    forum.hibernate.org

Hi, we have been using hibernate on iSeries for a couple of month without experiencing any serious problems. Hibernate works both with XA and non XA drivers (com.ibm.as400.access.AS400JDBCDriver); Hibernate uses a special dialect (hibernate.dialect=net.sf.hibernate.dialect.DB400Dialect) to correctly render SQL statements on the iSeries. The only important thing is that IBM offers 2 drivers for the iSeries : 1) Toolbox driver to access ...

4. Hibernate Bug with DB2-AS400    forum.hibernate.org

Author Message etienne Post subject: Hibernate Bug with DB2-AS400 Posted: Fri Jan 14, 2005 12:45 pm Senior Joined: Tue Jan 11, 2005 5:03 pm Posts: 137 Location: Montreal, Quebec Hi, I am having a big problem concerning the link between Hibernate and a DB2-AS400 database. I cannot reach a set of "children" below a "parent". The children collection is ...

5. Trouble with unicode in DB2 on AS400/iSeries    forum.hibernate.org

I am having an issue with the tables being generated only on AS400/iSeries databases. I have a mapping file that has properties with type of 'string'. This results in the use of VARCHAR fields in the DB. This is fine for all DBs we are supporting except for DB2 on AS400/iSeries. The VARCHAR type in this DB only supports ASCII characters. ...

6. setting isolation levels in db2/ as400 with hibernate    forum.hibernate.org

I am using hibernate with DB2/AS400. When I set any isoltion level other than '0' in the hibernate.cfg.xml and try to insert/update data in the table on DB2/AS400, The Exception '' could not update :" occurs. Update is succesful for isolation level 0. Please guide how this can be solved. Following is the error stack trace. could not update: [com.test.dto.TestDTO#10] org.hibernate.exception.GenericJDBCException: ...