Hi,
Im using Spring ORM,Hibernate 3,mysql 5.0.14 in my application.
I've a field of type TEXT in my table
When i try to run the query,i got the below error.
String sql_query="Select comments...
Type: Posts; User: asif_zzz; Keyword(s):
Hi,
Im using Spring ORM,Hibernate 3,mysql 5.0.14 in my application.
I've a field of type TEXT in my table
When i try to run the query,i got the below error.
String sql_query="Select comments...
hi al0,
i found out the solution for this thread..
i've created 2 datasource's,sessionFactory's,transaction manger's,transactionproxy factory's..And its also worked.In before what i've done is i've...
hi ,
Im quite new to Spring ORM,As you said above,i've created two datasources,two sessionFactory's,two transactionManager's.In TransactionProxyFactoryBean i got a eror when refering...
My scenario is to store certain information in one database and rest of the information in another database for all the users.
hi,
In my application ,im using hibernate with Spring ORM.
I've two database's,which i've use both simultaneously..
For example:
For single database,i used like this.
<bean id="myDataSource"...
hi,
Im trying to ugrade my application to hibernate. In past my using jdbc.
I doesn't have any primary key,composite key in my table. when im migrating to hibernate ,its show error..Is there...
Hi,
I have table which does not have a primary key .The hbm xml is showing error without primary key.so is there any other way to map the xml without primary key ..
Anybody help me to overcome...
hi,
Understand how Spring & hibernate works would be a good start..
As above information you can able to retrive and print the records.
Use this method for save /update...
hi Anirudh,
save() is used to insert a record in the table.
saveOrUpdate() is used a insert a record as well as update a existing record in the table.
Hi,rana
Just i changed the genertor class from org.hibernate.id.Assigned to assigned.
My problem gets solved..
hi Marten Deinum,
Problem solved..Now its working Correctly..:)
Thanx
regards
asif
hi Marten Deinum,
im new to hibernate too.i'll try to improve it..
In my Country.hbm.xml i've given like this
<id name="countryId" type="integer" column="country_id">
<generator...
hi
im new to spring ORM.im using cocoon,hibernate and spring in my application. when im trying to use saveOrUpdate() method in the HibernateDAO Class.
Country country=new Country();...
First make sure the correct class file path
i think is may be error:
<bean id="employeeDao111" class="EmployeeDao">
regards
asif
hi sir/madam,
im new to spring.im using cocoon,hibernate and spring in my sample application.When i used save() ,update() method in seperate..its working but when im trying to use saveOrUpdate()...
hi,
im new to spring.im using cocoon,hibernate and spring in my sample application.When i used save() ,update() method in seperate..its working but when im trying to use saveOrUpdate() method...
hi,
im new to spring.im using cocoon,hibernate and spring in my sample application.In this specific HibernateDAO class im using this
this.getHibernateTemplate().saveOrUpdate(country);
instead...