Search:

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

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    1,343

    Hibernate Dialect problem for TEXT datatype

    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...
  2. Replies
    5
    Views
    1,247

    hi al0, i found out the solution for this...

    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...
  3. Replies
    5
    Views
    1,247

    hi , Im quite new to Spring ORM,As you said...

    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...
  4. Replies
    5
    Views
    1,247

    My scenario is to store certain information in...

    My scenario is to store certain information in one database and rest of the information in another database for all the users.
  5. Replies
    5
    Views
    1,247

    Database Connectivity Problem

    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"...
  6. Replies
    5
    Views
    2,029

    hi, Im trying to ugrade my application to...

    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...
  7. Replies
    5
    Views
    2,029

    Hibernate primarykey problem

    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...
  8. hi, Understand how Spring & hibernate works...

    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...
  9. Replies
    9
    Views
    1,848

    hi Anirudh, save() is used to insert a record in...

    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.
  10. Replies
    9
    Views
    1,848

    Hi,rana Just i changed the genertor class from...

    Hi,rana
    Just i changed the genertor class from org.hibernate.id.Assigned to assigned.
    My problem gets solved..
  11. Replies
    9
    Views
    1,848

    hi Marten Deinum, Problem solved..Now its...

    hi Marten Deinum,
    Problem solved..Now its working Correctly..:)
    Thanx

    regards
    asif
  12. Replies
    9
    Views
    1,848

    hi Marten Deinum, im new to hibernate too.i'll...

    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...
  13. Replies
    9
    Views
    1,848

    HibernateDao saveOrUpdate problem

    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();...
  14. Replies
    9
    Views
    1,069

    First make sure the correct class file path i...

    First make sure the correct class file path
    i think is may be error:
    <bean id="employeeDao111" class="EmployeeDao">

    regards
    asif
  15. Replies
    6
    Views
    7,946

    HibernateOptimisticLockingFailureException

    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()...
  16. Replies
    6
    Views
    7,946

    HibernateOptimisticLockingFailureException

    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...
  17. Replies
    4
    Views
    7,394

    HibernateOptimisticLockingFailureException

    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...
Results 1 to 17 of 17