Hi Marten,
Could you please elaborate your suggestion....
Type: Posts; User: sivaprasad8080; Keyword(s):
Hi Marten,
Could you please elaborate your suggestion....
Hi,
Currently i am working on a project which uses Struts, Spring, IBatis and MySQL.
We have SQL Scripts which contains tables creation, foreign key constraints, seed data insertion statements....
hI,
Earlier me also got the same error because of XSD problem.
Put the XSD as it is in the Spring.jar file.
If you open up the spring.jar, there is a spring.schemas file in META-INF folder....
Hi ,
Recently i googled to get a list of open source shopping cart and forum/blog applications. For these kind of Form-Centric applications PHP is used heavily rather than J2EE.
Of course...
Hi All,
Recently the word 'RIA' becomes a buzz word in the java community.
To my understanding RIA means the applications with the unified User Interface which is will be the gateway for several...
Hi,
When you create an object and set the primary key value which is already exists in the database, and then call save() method passing that object results in the DataIntegrityViolationException.
...
Hi,
I am using Struts, Spring and IBatis for my project. Now i want to have a StartupServlet which loads the static data from the database at the startup time of the application.
For that i have...
Thanks for your valuable suggestion.....
Hi,
The above said configuration is not working saying that..
Could not find a getter for user in class com.hibernatesample.part1.Address
Please see the code and configuration below:
Hi,
Suppose your Service class is as follows:
public class ServiceFacadeImpl implements ServiceFacade
{
private UserDAO userDAO = null;
private AddressDAO addressDAO = null;
...
Hi,
Thanks for ur help.
Its working fine for me.
Hi,
What u said is correct. I am throwing checked exception, thats the problem.
Thank you very much.
I am using the following configuration.
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="get*" read-only="true"/>
<tx:method name="*"/>...
Hi ,
Can anybody help me out how to do the OR Mapping for the following with Hibernate.
Table Users:
Users(int user_id, varchar username)
user_id is primary key and auto increment column.
...
Hi,
I am not using Annotations for Transaction Management. I am trying to do it with xml configuration. I Think it is possible to handle transaction management with XML configuration alone.
Hi,
Can anyone explain me why my AbstractTransactionalSpringContextTests are not rollbacking unless i called super.onSetup() method in onSetUp()?
I am instantiating my service class in onSetUp()...
Hi,
Thanks for your reply.
So can i handle the transactions with the following configuration?
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>...
Hi All,
In my application, i have a DAO, say UserDAO, has a createUser() method which insert one row into users_master table and one row in user_addresses table in the same method. In this...
Hi All,
All the ORM frameworks use JDBC internally. So If i am going to use Hibernate, hibernate translates the HQL queries into JDBC queries and then it will execute them. So one level of...
Hi,
I want to compare the user credentials against the database values in case sensitive manner. I am using MySQL database which performs where clause condition evaluation in case insensitive way.
...
The following is the testcase. I haven't called any transaction committing methods.
public class CustomerAccountDaoTests extends AbstractTransactionalSpringContextTests
{
private...
Hi,
I am using Spring, IBatis and DB2 for my project. Now I am writing test cases for testing my persistence layer using AbstractTransactionalSpringContextTests. But when i called the insert...
Hi,
May be the problem is with cascade="all-delete-orphan".
Try cascade="all".
Thanks for your reply.
It works fine.
Hi,
When using SimpleFormController, the formBackingObject() method is called to prepare the Command object which contains the data to be displayed in the form.
But once i modified the values in...