I am also facing similar issue.
Is this a bug in sring roo? Or should the abstract classes be used in differently?
Type: Posts; User: srillion; Keyword(s):
I am also facing similar issue.
Is this a bug in sring roo? Or should the abstract classes be used in differently?
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...
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.
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...
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...
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...
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...
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...
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...
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.
Ok, here is the sample code for BookDAO
public class BookDAO extends StorageDAO {
public void insertMBook(Mbook mbook) throws DAOException {
String insertSql = getInsertBookQuery();...
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....
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)...
We have only one spring.jar and spring-jdbc.jar included in the final ear which is deployed in the weblogic server.
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:...
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!!
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...
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...
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...
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...
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...