Search:

Type: Posts; User: FelderR; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,457

    Hibernate Flushmode Transaction

    Hello,

    we have an EJB Application with Service Interfaces, DAO's and Hibernate as ORM Layer. We use Spring for Hibernate DAO Support and Exception Wrapping.

    Around our Services we bind a...
  2. You can also do a session.clear(). Remember that...

    You can also do a session.clear(). Remember that all objects are removed from the session and are therefore lost.
  3. Looks to me that you are catching the exceptions....

    Looks to me that you are catching the exceptions. A rollback will only happen if a RuntimeException occurs!
  4. you can only import files relative to the root...

    you can only import files relative to the root context path. Slashes '/' are eliminated by Spring. See also the Spring documentation '3.18. Importing Bean Definitions from One File Into Another':...
  5. are you sure you have it in the right...

    are you sure you have it in the right classloader? Probably the hibernate.jar gets loaded from a parent classloader and cglib is in child classloader. eg:

    Hibernate is in the...
  6. Replies
    1
    Views
    2,472

    Hibernate Properties as JMX

    Hello,

    I'm trying to expose the Hibernate Properties as an JMX Bean. The idea is, that I can manage the Properties after deployment (e.g. enable/disable hibernate.show_sql for problem analysis on...
  7. Replies
    1
    Views
    702

    ... just solved the problem. Need to register an...

    ... just solved the problem. Need to register an ContextSingletonBeanFactoryLocator within the setSessionContext of the EJB:

    public void setSessionContext(SessionContext sessionContext) {...
  8. Replies
    1
    Views
    702

    JMX wihtin EJB's

    Hi,

    I wanted to expose some Beans using the Spring JMX support. I encountered the problem, that the Beans are exposed more than one time, what leads to an...
  9. Replies
    1
    Views
    828

    Aggresively releasing JDBC Connection

    Hi,

    what does the log entry 'jdbc.ConnectionManager - Aggresively releasing JDBC Connection [after_transaction]' mean?

    Is there something wrong with my datasource definition:

    <bean...
  10. Replies
    3
    Views
    995

    no experience

    ... does nobody have any experience using the new Hibernate 3 features that autoclose the session after transaction commits.

    Seems to me that there is a bug in the HibernateTransactionManager...
  11. Replies
    3
    Views
    995

    Spring in Hibernate 3 using EJB

    Hello,

    I'm using Springframework version 1.2 with Hibernate Version 3.0.4.

    Hibernate 3 supports the new feature of auto-closing the session when closing the transaction...
  12. Replies
    1
    Views
    817

    Map entries from different sources

    Hi,

    I have the requirement to set up a map with standard and customer entries from different files. Example:

    File1.xml:
    <!-- Standard entries -->
    <bean id="converterFactory"...
  13. Thread: Import Absolut

    by FelderR
    Replies
    0
    Views
    609

    Import Absolut

    Hi Spring Users,

    I'm trying to import one bean definition into another. I use the import tag as described in '3.18. Importing Bean Definitions from One File Into Another'.

    In '3.18. Importing...
  14. Replies
    1
    Views
    1,235

    Refresh ApplicationContext

    How can I refresh the ApplicationContext? I'm using a beanRefFactory for EJBS. The applicationContext.xml is in the classpath. If I change some entries within the applicationContext.xml nothing is...
  15. Replies
    4
    Views
    1,939

    Reading Context from File

    Hello,

    I have an EJB that uses a beanRefContext and an ejb-jar environment entry to load the context. The context is loaded from the classpath.

    Now I want to load the context from the file path...
  16. Replies
    1
    Views
    1,146

    Double JMX Registration

    ... I have another problem: the context is being exposed more than one time, which leads to an exception that the context is already registered in JMX.

    Any ideas why?
  17. Replies
    1
    Views
    1,146

    Exposing hibernateProperties to JMX

    Hello,

    how can I expose a Hibernate sessionFactory to JMX, to change the hibernateProperties I use. I can expose it to JMX readonly, but cannot change any property.

    My first try was to split...
  18. Replies
    1
    Views
    1,826

    Refresh Context

    Hello,

    I want to refresh the context within an EJB periodically as we use application specific parameters that may change during runtime.

    Is there a way to do that more generic than using the...
  19. EJB, Hibernate, AbstractStatelessSessionBean, ContextSinglet

    I encounter the following errormessage when trying to connect to a EJB that was called using the Spring Dynamic Proxy mechanism.

    00:54:42,218 INFO [STDOUT]...
  20. Replies
    1
    Views
    2,221

    Same problem

    Hello,

    I encounter the same problem with the same error message. Did you already find out what was wrong?

    Thanks
    Rene
Results 1 to 20 of 20