Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    1,097

    Spring 3.0.0.RC1 Task namespace

    Hi,

    Spring 3.0.0.RC1 introduced a new namespace task for handling the TaskAbstraction.

    An example from the spring docs show is shown below.
    <task:executor id="executor" pool-size="10"/>
    ...
  2. Replies
    0
    Views
    652

    Spring 3.0.0.RC1 XML Schemas Files

    Hi,

    I just download the Spring 3.0.0.RC1 libraries.

    However I am not able to find any of the corresponding XSD files anywhere.
    The latest I could find is for 2.5 version.

    has that not been...
  3. Replies
    1
    Views
    1,452

    enabling/disabling aspects at Run-time

    Is there a way to enable disable aspects/proxying at run-time ?

    Below are my bean definitions.


    <bean id="performanceAdvice" ...
  4. Replies
    2
    Views
    756

    that makes sense... StoredProcedure class is...

    that makes sense... StoredProcedure class is supposed to be thread-safe.. so
    i kinda assumed that it would be ok.. just wanted to check..

    I also looked at the code for storedprocedure and could...
  5. Replies
    2
    Views
    756

    Stored procedure quesyion

    Had a question regarding how spring's stored procedure class handles database connections ..

    when we create a stored procedure, we do the following things.
    - set the datasource
    - initialize any...
  6. Extension of AnnotatedSessionFactoryBean

    well,

    I searched all thro the forum and didnt come across any solution to this problem.. So I decided to extend the AnnotatedSessionFactoryBean to add the functionality I wanted...

    Below is the...
  7. Hibernate Annotations and mappingJarLocations

    I am trying to load all my annotated persistant classes via the
    following bean definition...
    The first bean definition use LocalSessionFactoryBean which works, along
    with the mapping file......
  8. Replies
    1
    Views
    668

    Integrated support for EntityManger

    Does Spring provide or going to provide integrated support for Hibernate
    EntityManager similar to what is provided for SessionFactory & session ?

    Currently i am using HibernateTemplate and...
  9. Got it to work by specifying the jar location as...

    Got it to work by specifying the jar location as follows...


    <property name="mappingJarLocations">
    <list>
    <value>file:**/myear/**/hbmFiles.jar</value>

    </list>
    ...
  10. mappingJarLocations does not work with weblogic

    I am deploying my application in weblogic.
    My hbm files and classes reside in the hbmFiles.jar inside the APP-INF/lib folder of the ear.

    My ear is constructed as follows..


    myear.ear
    ...
  11. Replies
    11
    Views
    2,803

    well, I finally figured it out... I had defined...

    well,
    I finally figured it out...
    I had defined a declarative tx setting as follows...


    <aop:config>
    <aop:pointcut id="ServiceOperation" expression="execution(*...
  12. I'm soo stupid!

    Just figured out why it was not working...
    take a look at the way I defined my DataSource...


    <bean id="TheDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"
    ...
  13. yes.. the data source go to the same underlyning...

    yes.. the data source go to the same underlyning url..

    The datasource beans were defined as follows...


    <bean id="TheDataSource"...
  14. and here are the logs for the above... ...

    and here are the logs for the above...



    (AbstractPlatformTransactionManager.java:319) - Using transaction object...
  15. DataSourceTransactionManager not rolling back

    Hello,

    I'm trying to test my transactions using Programmatic transaction.

    When I use a DataSourceTransactionManager, when I do my testing
    as a standalone java application, the transaction does...
  16. I had already done that, and thats how I was able...

    I had already done that, and thats how I was able to figure out
    that the associations were being loaded ,even before I had called
    deptObj.getEmployees()

    When I set the Department class to be...
  17. Hibernate Caching with EhCahce and Lazy Loading

    I have a Department object that has a assocation set of Employees.
    The lazy attribute has been set to true for the employees association...

    When I try to cache the Department object, it get the...
  18. Replies
    11
    Views
    2,803

    no, it cant be the scope.. That just determines...

    no, it cant be the scope.. That just determines how many instances are
    created. Just to be sure, i changed it to singleton, and it still created
    a $proxy0 object instead of returning me a MyDao...
  19. Replies
    11
    Views
    2,803

    well, i dont know... I'd assume not, since I dont...

    well, i dont know... I'd assume not, since I dont know how..
    But on second thoughts, this is what was spitted out in my logs, when I tried to print the class Name of myDao bean



    DEBUG...
  20. Replies
    11
    Views
    2,803

    sure... Here are all the interceptor related bean...

    sure... Here are all the interceptor related bean definitions...



    <util:list id="OracleErrorCodesForRetry">
    <value>ORA-01033</value>
    </util:list>


    <!--
  21. Replies
    11
    Views
    2,803

    I did further testing by logging the class name...

    I did further testing by logging the class name of the
    object being returned when I lookup the myDao bean.
    It returns $proxy0

    I changed my interceptor as follows..


    <bean...
  22. Replies
    11
    Views
    2,803

    why is this interceptor firing ?

    I have the following interceptor advisor as defined below.


    <bean id="InterceptorAdvisor"
    class="org.springframework.aop.support.RegexpMethodPointcutAdvisor">
    <property...
  23. hmm... may be related.. Do u know if within...

    hmm... may be related..

    Do u know if within the code of
    hibernateTemplate.find(queryString)
    in Spring uses Hibernate's query.find(..) ?


    is the get method, the only way to look up objects...
  24. getHibernateTemplate() and EhCache combo not working

    Hello,

    I'm using EhCahe, Hibernate and Spring in my application.
    I am extending HibernateDaoSupport and using the
    getHibernateTemplate() in my dao methods to do my
    dataaccess.

    I can see...
  25. Problem is not just with Decl. Tx mgmt, but also with Prg. Tx mgmt

    Following up on my own topic, What I said above w.r.t the transaction problem
    is not just limited to a Decl. Tx mechanism, but also Prg. Tx mechanism..

    It looks like the combination of Hibernate...
Results 1 to 25 of 58
Page 1 of 3 1 2 3