Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    12,591

    Hi, You could use the SqlOutParameter for the...

    Hi,

    You could use the SqlOutParameter for the OUT parameters to your stored procedures too.

    Took your stored procedure and compiled it in Oracle (sorry!),



    CREATE PROCEDURE SP_EXAMPLE (...
  2. Replies
    9
    Views
    1,470

    Hi Ajay, Hope, have worked this out right, you...

    Hi Ajay,

    Hope, have worked this out right, you would like to, configure hibernateDataService as a ProxyFactoryBean and apply a hibernate interceptor plus your data service target to it. Correct? ...
  3. Replies
    1
    Views
    1,829

    Re: Question on using TransactionTemplate

    Yes, transaction template is restricted to unchecked exceptions. For throwing checked exceptions you could use a transaction interceptor.
    From the docs,



    As with HibernateInterceptor,...
  4. Replies
    9
    Views
    1,470

    Hi Ajay, Can you copy paste some of your code...

    Hi Ajay,

    Can you copy paste some of your code and the descriptor xml. That provides more info to help.

    The source for sessionfactory utils shows the IllegalStateException being thrown when the...
  5. Replies
    9
    Views
    1,470

    Ajay, Is this the full xml file, Cos there...

    Ajay,

    Is this the full xml file,

    Cos there doesn't seem to be a bean with dataService and hibernateDataServiceTarget.

    Guess you are using a 'false' flag while getting the session,
  6. Replies
    2
    Views
    1,702

    Hi, How do you use the refcursor passed as a...

    Hi,

    How do you use the refcursor passed as a parameter in the procedure? Is there a calling pl/sql that passes in the ref cursor to this procedure for it fetching data? Usually, its the other way...
  7. Replies
    2
    Views
    1,412

    Re: How to insert a row using JdbcTemplate?

    Looks okay. Can you put the exception or any details.



    All database updates(CUD) are handled via the update method.
  8. Replies
    4
    Views
    9,616

    Hi Benno, You would need to create a stored...

    Hi Benno,

    You would need to create a stored procedure in Oracle and then call it. At the moment its an anonymous PL/SQL block, so you get an Oracle exception that the identifier must be declared....
  9. Replies
    8
    Views
    1,797

    Maybe this thread could be of some help to you, ...

    Maybe this thread could be of some help to you,

    http://forum.springframework.org/showthread.php?t=11691
  10. Replies
    5
    Views
    1,591

    Sorry no solution, but, ...

    Sorry no solution, but,



    java.lang.NoSuchMethodError: org.springframework.core.io.AbstractResource: metho
    d getDescription()Ljava/lang/String; not found
    at...
  11. Humberto, You could define your session...

    Humberto,

    You could define your session factory & jdbc template to use the same datasource like this,



    <bean id="dataSource"...
  12. Replies
    3
    Views
    9,515

    You could setup a jdbc template, like, ...

    You could setup a jdbc template, like,



    DriverManagerDataSource dataSource = new DriverManagerDataSource&#40;&#41;;
    dataSource.setDriverClassName&#40;"drivername"&#41;;
    dataSource.setUrl&#40;"dburl"&#41;;...
  13. Replies
    7
    Views
    9,504

    Managed to do work on this. It works well....

    Managed to do work on this.

    It works well. You need to take care of using the JdbcTemplate from AbstractTransactionalDataSourceSpringContextTests
    and pass it around to the dao and data creator...
  14. Replies
    7
    Views
    9,504

    Sure, Just give me sometime, its a bit scrappy at...

    Sure, Just give me sometime, its a bit scrappy at the moment.
  15. Replies
    7
    Views
    9,504

    Amazing. Didn't know about this. Read and tried...

    Amazing. Didn't know about this. Read and tried it a bit. Thanks.

    Got working something(scrappily). Each testcase uses the template from AbstractTransactionalDataSourceSpringContextTests to: set...
  16. Replies
    7
    Views
    9,504

    Spring JDBC for unit tests?

    Hi All,

    Am using Spring Jdbc as the underlying for writing a small Jdbc unit testing framework. I feel Spring Jdbc is the most powerful of the Jdbc frameworks that are there. So, in the framework,...
  17. Replies
    2
    Views
    2,757

    Yea sure, Hacked together, webwork, spring and...

    Yea sure,

    Hacked together, webwork, spring and hibernate, and got it working for a sample web application. It looks good and a joy to work in, though keep stumbling cos of my own lack of knowledge...
  18. Replies
    2
    Views
    2,757

    WebWork Spring Hibernate

    Hi All,

    Is there a sample application on WebWork + Spring + Hibernate combo out there? There are sample applications that use WebWork + Spring or Spring + Hibernate together but can't find a three...
Results 1 to 18 of 18