Announcement Announcement Module
Collapse
No announcement yet.
Specifying non-standard (Firebird) Isolation level? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Specifying non-standard (Firebird) Isolation level?

    Hi,

    It turns out that Firebird only supports READ_COMMITTED, and has it's own other isolation levels.

    Is it possible to specify these? I could only find the standard ones, and no way to extend them...

    cheers,

    David

  • #2
    I think I know part of how to do this progammatically. Implement TransactionDefinition. Then call some instance of PlatformTransactionManager.getTransaction, passing in an instance of your TransactionDefinition.

    What puzzles me is that TransactionDefinition has a way to get the isolation level but no way to set it. That, and the seemingly vital setIsolationLevelName are defined in the DefaultTransactionDefinition class, so perhaps you should subclass that.

    I assume you can do more or less the same thing declaratively. Presumably the TransactionManagerProxyBean uses DefaultTransactionDefinition.setIsolationLevelName to set the isolation level based on the string you use in definining your TransactionProxyFactoryBean.

    Comment

    Working...
    X