Search:

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

Search: Search took 0.01 seconds.

  1. I have a similar issue

    I am also facing similar issue.

    Is this a bug in sring roo? Or should the abstract classes be used in differently?
  2. Replies
    2
    Views
    1,154

    handling multiple custom editors for a class

    burtbeckwith , Thanks for your response. I encountered the solutions suggested by your links, but all those approaches are applied to a global scope, and not specific to controller.

    I have a...
  3. Replies
    2
    Views
    1,154

    CustomPropertyEditors for Grails Controller

    I was looking to use CustomPropertyEditors for my grails project. Can someone tell me the steps I should follow to associate my CustormPropertyEditor to a specific Controller.
  4. Replies
    3
    Views
    2,996

    Earlier I used Chrome,but when I switched to...

    Earlier I used Chrome,but when I switched to Firefox it worked.

    Later I added another variable to the domain and then tried in Firefox, I got the UI, and tried to add a record I got the same error...
  5. Replies
    3
    Views
    2,996

    Circular view path [resourceNotFound]

    I am trying to create roo application using STS 2.3.3.M1.

    I did the following in the Roo shell after creating the project



    roo> persistence setup --provider DATANUCLEUS --database...
  6. Replies
    1
    Views
    1,027

    How to store binary data using roo

    Hi,

    I am not able to create a domain Entity class with a variable to hold binary data(byte[]), which would contain an image.

    I am using the following for persistance
    <code>
    persistence setup...
  7. tomcat stop

    Thanks for your quick response Filip.

    I did a change and it worked. Till now I was running the tc server as a foreground process and changed it to background demon process, and the stop is now...
  8. tcserver stop from AMS Console does not stop the server

    Hi,

    I am trying to setup spring tc server for the first time. I was able to set it up according to the steps mentioned in the manual.

    I have a special need to stop the tc server for a while and...
  9. Finally Fixed !!

    I could finally make the Rollback work. Earlier, on failure I was throwing DAOException which is a checked exception and I had to handle the exception.

    Mistake I was doing was cought the Runtime...
  10. I fixed the issue with getContext(), and...

    I fixed the issue with getContext(), and converted my code to use Dependency Injection. But still not able to see the rollback happening. Can anyone give me some ideas, where could I be going wrong.
  11. Ok, here is the sample code for BookDAO ...

    Ok, here is the sample code for BookDAO



    public class BookDAO extends StorageDAO {

    public void insertMBook(Mbook mbook) throws DAOException {

    String insertSql = getInsertBookQuery();...
  12. Here are more details, DAO's working against...

    Here are more details,
    DAO's working against Oracle database.
    Tried without setRollbackOnly() aswell, don't see Roll back happening.

    Following is the XML (book-dao.xml)used for spring context....
  13. Unable to see the rollback with spring transaction Management

    I have a requirement to have all database update/inserts to be in a transaction. For which I tried to implement in the spring transaction mgmt, I used 3 approaches
    1) TransactionTemplate
    2)...
  14. Replies
    3
    Views
    1,273

    no duplicate jars

    We have only one spring.jar and spring-jdbc.jar included in the final ear which is deployed in the weblogic server.
  15. Replies
    3
    Views
    1,273

    InvalidClassException

    Can anyone help me understand what is the problem here, and why I am getting this. I am using Spring JDBC framework in one of the servers which runs in Weblogic 8.2 environment.



    Caused by:...
  16. Replies
    1
    Views
    1,608

    Good Book for Spring JDBC

    Can anyone suggest me a good book on Spring JDBC to buy. also if anyone can provide link to tutorials/developers guide covering complete Spring JDBC, this would be a great help.

    Thanks!!
  17. Need Need help using BatchSqlUpdate for BLOB data

    I am trying to insert more than 50 records as a Batch Insert with the help of BatchSqlUpdate class in the database table, this table hold couple of columns with BLOB type columns.
    I am doing the...
  18. Replies
    1
    Views
    814

    Need help mapping to XML_Type

    I am a new bee to SpringFramework , and using Spring JDBC for our application'ss JDBC needs. I was able to perform select operations successfully.

    Now I am trying to use insert/update data. We...
  19. Replies
    6
    Views
    2,657

    Solved!!

    Thank you Marten and karldmoore, I overlooked the trace and was only trying to find issue with the SQL query or the Connection mechanism. I thought the exception title "Bad SQL Grammer" was kind of...
  20. Replies
    6
    Views
    2,657

    Bad SQL Grammer

    Thanks for the responses, Following is the sample code which i am using to execute a search query. Provided with 2 classes and xml. XML has code to lookup the DataSource Object from the pool defined...
  21. Replies
    6
    Views
    2,657

    PreparedStatementCallback; bad SQL grammar

    I am preparing a complex sql statement and have few nested queries. I get the following trace when I try to execute this Query using Spring JDBC Framework. However, when I Copy the query on to TOAD...
Results 1 to 21 of 21