-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate on Mainframe under CICS
PostPosted: Wed Jun 29, 2011 4:09 pm 
Newbie

Joined: Wed Jun 29, 2011 3:27 pm
Posts: 1
Has any body run hibernate on the mainframe as a CICS program? If you have, can you tell me what kind of configuration you have used especially the connection parameters to the database and transaction manager?

We are using hibernate 3.5.1, Java 6.0 and DB2 V8 and CICS 4.1 on the mainframe (Z/OS v10). The java program is exposed as a CICS web service accessed to be part of a distributed transaction (WS-Atomic Transaction). Our config file looks as follows in development but before we move to QA, I would like to see what people are using for production.

Code:
<hibernate-configuration>
     <session-factory>
          <property name="hibernate.connection.driver_class">com.ibm.db2.jcc.DB2Driver</property>
          <property name="hibernate.connection.url">jdbc:default:connection</property>
          <property name="hibernate.connection.pool_size">1</property>
          <property name="show_sql">true</property>
          <property name="hibernate.default_schema">TEST</property>
          <property name="dialect">com.mycompany.hibernate.dialect.GDOLDB2Dialect</property>
          <property name="hibernate.connection.autocommit">false</property>
<!-- Mapping files -->
     </session-factory>
</hibernate-configuration>


Thanks,
-Biruck


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.