Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    837

    When we publish a Reference we change some of its...

    When we publish a Reference we change some of its properties (by example its status, set to 'published' and its published_version which is incremented)
    Concerning the "transactional advice", this...
  2. Replies
    2
    Views
    837

    postInterceptor and transaction

    Hi,

    I'm having trouble with transaction when I use postInterceptor.
    Let's explain the problem in a simplified mode
    I have an object Reference that can be linked to several ValidationTable...
  3. Replies
    5
    Views
    1,059

    I finally found a solution, to convert my proxied...

    I finally found a solution, to convert my proxied object into a real one that is of the good class A1
    http://forum.hibernate.org/viewtopic.php?t=947035&highlight=load+proxy
  4. Replies
    14
    Views
    1,957

    exctracted from Hibernate in action, hope this...

    exctracted from Hibernate in action, hope this help

    The Hibernate Transaction API

    Session session = sessions.openSession();
    Transaction tx = null;
    try {
    tx = session.beginTransaction();...
  5. Replies
    5
    Views
    1,059

    well, half a day later... I tried to use...

    well, half a day later... I tried to use interfaces and it was almost that but... I finally still have the same problem...

    I've done the following tests
    myRetrievedObject instanceof A > true...
  6. Replies
    14
    Views
    1,957

    I think you must specifiy transaction.rollback()...

    I think you must specifiy transaction.rollback() in your catch.
    I'm not sure 100%, but I think that when you do
    finally {
    session.close();
    }
    this commit your transaction even if you had a...
  7. Replies
    2
    Views
    990

    question... after running your test do you have...

    question...
    after running your test do you have a message as "Rolled back transaction after test execution" ?
  8. Replies
    5
    Views
    1,059

    Thanks a lot, you just confirmed what I was...

    Thanks a lot, you just confirmed what I was starting to do, perfect !
  9. Replies
    5
    Views
    1,059

    Proxied POJOs and inheritance problems

    Hi,

    I'm having trouble with proxied objects. I have a POJO A1 that inherits A.
    When I retrieve an object A1 from my DB via A's DAO (we are in a transaction), the object returned (my...
  10. HELP ! access to property metadata with SessionFactory

    Hibernate version: 3
    Name and version of the database you are using: Oracle 10g

    Hi guys,

    I would like to add a metadata to "MyProperty" property as following, to specify whether this property...
Results 1 to 10 of 10