Search:

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

Search: Search took 0.10 seconds.

  1. Replies
    2
    Views
    782

    could you send your dataSource definition? and...

    could you send your dataSource definition?

    and what is your web container?
  2. could you try to use interface instead of...

    could you try to use interface instead of concrete implementation, change your code to the following



    BookDAO bookDAO = (BookDAO) factory.getBean("jpaBookDao");
  3. Thread: send parameter

    by mhazer
    Replies
    1
    Views
    486

    could you change your sql query with following; ...

    could you change your sql query with following;


    AND meaning like :search


    and your java code with;


    search = "%"+search+"%"
  4. AFAIK if you don't define transaction...

    AFAIK if you don't define transaction propagation, service calls run in the same transaction so if AssetService fails AccountService database updates should rolled back.

    You can try it by...
  5. Replies
    1
    Views
    1,968

    take a look to unitils project...

    take a look to unitils project (http://www.unitils.org/), it really simplifies testing stuff
  6. ok, i got it ... i don't know they support xml...

    ok, i got it ... i don't know they support xml based configruation or not ...
  7. Document says; The library works with...

    Document says;

    [quote]
    The library works with Hibernate and requires Hibernate Annotations or Entity Manager. For the auditing to work properly, the entities must have immutable unique...
  8. AFAIK JBoss has a project named ENVERS which does...

    AFAIK JBoss has a project named ENVERS which does same thing as you want.

    You can take a look; http://www.jboss.org/files/envers/docs/index.html
  9. Replies
    1
    Views
    2,326

    Already value for key bound to thread

    Hi everyone,

    Our application runs on Weblogic 10.3 with spring (2.5.6)+hibernate (3.2.6.ga)(everthing POJO). But randomly we see following exceptions in the logs;



    <Oct 16, 2009 10:08:51 AM...
  10. Replies
    2
    Views
    964

    Reload one-to-many relationship

    Hi,
    We are using JSF (Java Server Faces), Spring and Hibernate to realize a project. Our problem is reloading a one-to-many lazy relationship, problem is:

    We have a class A which has two...
  11. Replies
    1
    Views
    1,411

    Junit test failure

    Hi
    I have written a simple application consists of Hibernate-Spring and JSF, everthing works fine in the WebContainer. But when i test the services that are in the application with JUNIT, spring...
  12. Replies
    3
    Views
    986

    Thanks for the replies, Before sending the...

    Thanks for the replies,
    Before sending the whole configuration files (because i don't want to make everybody busy with these large and complex files) i want to tell you another view of the issue;...
  13. Replies
    1
    Views
    1,560

    could you send spring configuration file and...

    could you send spring configuration file and hibernate mapping files?
  14. Replies
    3
    Views
    986

    One to Many relationship problem

    Hi,
    Table A has one-to-many realitonship to table B. I configured relationship to use not-lazy loading. If i use
    getHibernateTemplate().load(myClass.class,key)
    hibernate does not...
  15. Replies
    3
    Views
    1,512

    Thanx irbouho, problem is solved when i remove...

    Thanx irbouho, problem is solved when i remove cr/lf tag in value tags. But i think spring should throw a different exception in this situation. Am i wrong? Also thanx to cwilkes.

    Have nice days....
  16. Replies
    3
    Views
    1,512

    ClassNotFound Exception

    Hi,
    I am trying to write a simple application with spring (which is in Spring in Action book)but i get the following error:

    Loading XML bean definitions from class path resource...
Results 1 to 16 of 16