1. hibernate as MBean in JBoss - prepared stmt cache problem forum.hibernate.orgHi, I'm using Hibernate deployed as a service in Jboss. And it seems the prepared statement cache does not work. When I examine the messages sent to DB server, I see the same SQL sent every time it's executed. If I initiate Hibernate (load mapping files, build sessionfactory, etc.) the cache seems working. I see SQL once. This method uses the ... |
2. placement of hibernate.xml for hibernate 2.1 as JBoss Mbean forum.hibernate.org |
3. Hibernate as Mbean on JBOSS forum.hibernate.org |
4. problem trying to use Hibernate as an MBean with JBoss forum.hibernate.orgNewbie Joined: Sun Apr 11, 2004 12:13 pm Posts: 7 Hi. I'm using Hibernate 2.1 with JBoss 3.2.1 and am having a problem trying to use Hibernate as an MBean. The problem I am having does not occur when I first start up JBoss; rather, it only happens after I rebuild my application and do a hot deploy of my .ear ... |
5. How to obtain Configuration when using JBoss Mbean? forum.hibernate.orgHi, I am using Hibernate 2.1.2 with the JBoss-service Mbean, which works well. Now I would like to start a SchemaUpdate from an initializer servlet. All examples go Configuration cfg= ... new SchemaUpdate(cfg).execute(); How do I get the Configuration object? If i understand it correctly, then I would only need the properties, which are present in SessionFactory, then I could do ... |
6. i succeed use the hibrnate in the mbean of jboss,but... forum.hibernate.orgi succeed use the hibrnate in the mbean of jboss,but,when i operate the database ,the JSP page tell me the error(but i debug the code in the eclipse,the whole code runs ok): the console of the jboss tell me(it seems like ok) Code: ..... ..... 23:35:38,685 INFO [SettingsFactory] Use scrollable result sets: true 23:35:38,695 INFO [SettingsFactory] Use JDBC3 getGeneratedKeys(): ... |
7. why the mbean of jboss tell me the warning info!!! forum.hibernate.orghere is all my code: Code: <%@ page contentType="text/html;charset=GBK" %> <%@ page language="java" %> <%@ page import="javax.naming.*" %> <%@ page import="javax.sql.*" %> <%@ page import="java.sql.*" %> <%@ page import="net.sf.hibernate.SessionFactory" %> <%@ page import="net.sf.hibernate.Session" %> <%@ page import="net.sf.hibernate.Transaction" %> <%! javax.sql.DataSource ds; SessionFactory sf; Session objSession; Transaction tx; %> <% try { ... |
8. Jboss + Hibernate (mbean) help forum.hibernate.orgI have followed the article at http://www.hibernate.org/66.html but I am still having problems. I can deploy the MBean (hibernateStartup.sar) by itself and it appears to be fine. However, if I put it in my ear then deployment of the ear will give me errors. EAR structure... Code: META-INF/ application.xml ... |
9. PropertyList and JBoss MBean forum.hibernate.org |
10. Multiple Hibernate MBean deployment on JBoss? forum.hibernate.orgI've been using hibernate 2.1 with mysql 4.0.18 inside of JBoss 3.2.3 for sometime with good results. I have the hibernate files (mapping and bean files) deployed as an MBean in a separate Service Archive (SAR) as described on the Hibernate web site( www.hibernate.org/66.html ). The hibernate library and related jars are deployed in JBOSS_HOME/server/default/lib. This MBean is accessed by several ... |
11. jboss 4.0 mbean service forum.hibernate.orgHibernate version: 2.1 |
12. More than one MBEAN for Hibernate in Jboss forum.hibernate.orgHi, im working with jboss 4.0.1 and i want to kwon how can i do to have two mbean instantiated for hibernate. I want one of this for an XAOracle connection, and the other one to have an XASqlServer connection. Im working with a n-tier architecture, and the transacctions are managed in EJB with JTA. Thanks... |
13. Deploy Hibernate 2 as MBean in JBoss 3.2.6 forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Can't deploy hibernate as service. I'm using Hibernate 2. Here is jboss-service.xml file : |
14. [JBoss] Explicitely defining mapper classes using MBean forum.hibernate.orgHi, I'm not quite sure whether this is a Hibernate or a JBoss issue, so I'll just post the question here. I'm having a little trouble defining a working and conceptionally correct way of configuring the database access from within a EJB. As background: Currently, I'm running a servlet in which a couple of Manager classes are stored, which implement my ... |
15. How to disable automatic session closing at JBoss MBean file forum.hibernate.org |
16. integrating hibernate with jboss without using mbean forum.hibernate.org |
17. Using c3p0 with JBoss Mbean forum.hibernate.orgHi, We are using Jboss version 4.0.4 in our project.We are deplyoing the hibernate as an MBean . I want to use the c3p0 connection pooling mechanism . I am unableto figure out to specify the paramateres related to C3P0 in the hibernate-service.xml file . Please help me in getting the solution of the same I am attaching the file for ... |