Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,702

    My problem is that it's creating it as...

    My problem is that it's creating it as JdkDynamicProxy instead of cglib.
  2. Replies
    3
    Views
    2,702

    JdkDynamicAopProxy and ClassCastException

    I have a bean called VoidReq. VoidReq extends ReqHandlerBase and implements ApplicationContextAware.

    It also has an aspect that intercepts one of its methods with around advice.

    @Aspect...
  3. Replies
    4
    Views
    1,184

    Additionally- I come into the same problem if I...

    Additionally-
    I come into the same problem if I want to have a catch all exception within my transaction block. for example

    @Transactional (timeout=3)
    public void doSomething(){
    ...
  4. Replies
    4
    Views
    1,184

    transaction timeout UnCategorizedSQLException

    I am using @Transactional (timeout=3)
    From what I saw the timeout generates an UncategorizedSQLException which the transaction interceptor deals with.
    The problem is that I catch...
  5. Replies
    0
    Views
    1,681

    InstanceNotFoundException

    I've searched high and low and cannot find what I'm doing wrong.
    I have the JMX server up and running but when I try accessing the MBean from the client I get:
    ...
  6. Replies
    1
    Views
    774

    transaction manager

    I'm using the TransactionProxyFactoryBean. I found that it only works when calling a method that is not part of the calling class.
    For example I have class A and class B. Method save is part of...
  7. Replies
    14
    Views
    2,114

    I finally solved the problem although I'm not...

    I finally solved the problem although I'm not sure I understand it 100%.
    runGroup is a function called from within the ReportEngine class. When called from within the class a transaction is not...
  8. Replies
    14
    Views
    2,114

    as a continuation from last post... runGroup is...

    as a continuation from last post...
    runGroup is a function of ReportEngine.
    I do not understand why a transaction is not generated for this function.
  9. Replies
    14
    Views
    2,114

    This is what I have.

    This is what I have.

    <bean id="myTransactionManager" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
    <property name="transactionManager"><ref...
  10. Replies
    14
    Views
    2,114

    ok here's what i figured out.

    ok here's what i figured out.
    <prop key="*">PROPAGATION_SUPPORTS</prop>
    When I have this line it causes a transaction for every function in my class.
    When I take out that line no transaction...
  11. Replies
    14
    Views
    2,114

    also i tried turning autocommit on and it still...

    also i tried turning autocommit on and it still doesn't work
  12. Replies
    14
    Views
    2,114

    I tried PROPAGATION_NOT_SUPPORTED with the normal...

    I tried PROPAGATION_NOT_SUPPORTED with the normal transactionSynchronization value and it still did not commit right away. It is acting as if it's in a transaction.

    Is this a bug in Spring- that...
  13. Replies
    14
    Views
    2,114

    as a continuation from last post.... here's my...

    as a continuation from last post....
    here's my code. maybe it will be helpfull

    public void Run(){

    if(reNeedsToRun()) {//*************the method reNeedsToRun will update the...
  14. Replies
    14
    Views
    2,114

    when i set transactionsychronization to 1 then...

    when i set transactionsychronization to 1 then the first db update commits right away. The problem is that the second db update will give me

    java.lang.IllegalStateException: Active Spring...
  15. Replies
    14
    Views
    2,114

    If I don't use transactions I get ...

    If I don't use transactions I get

    java.lang.IllegalStateException: Active Spring transaction synchronization or jtaTransactionManager on LocalSessionFactoryBean plus active JTA transaction required
  16. Replies
    14
    Views
    2,114

    transaction sychronization

    I do not want any of my db updates to be part of a transaction. Each one should commit as it is performed.
    My problem is that this is not happening. Nothing is commited till the end.
    I was able...
  17. Replies
    0
    Views
    939

    one-to-one foreign key assosciation

    I have a one-to-one mapping based on a foreign key association. It is able to pull the related data.
    The problem is: when saving it does not put in an id into the foreign key of the related data . ...
  18. when I configured it this way it works ...

    when I configured it this way it works


    <bean id="transactionManager" class="org.springframework.orm.hibernate.HibernateTransactionManager">
    <property name="sessionFactory">...
  19. Replies
    1
    Views
    881

    I saw I can overide the bean name to map to with...

    I saw I can overide the bean name to map to with determineActionBeanName. How do I implement this?
  20. Replies
    1
    Views
    881

    ContextLoaderPlugIn problem

    I am using the ContextLoaderPlugIn.

    What do I do in the case where I have multiple struts actions that maps to the same class?
    They need to be different mappings because they are coming from...
  21. expert one-on one says that...

    expert one-on one says that TransactionProxyFactoryBean is an alternative simplified way of proxy coniguration. Using this you don't have to set up AOP proxyfactorybean.

    So what am I doing...
  22. spring + hibernate (+ clob) transaction sychronization

    I am using spring 1.1.2 , hibernate 2.1. and oracle 9i. I am using clobs.
    When trying to access records in the db I get the following error:

    Active Spring transaction synchronization or...
  23. Replies
    0
    Views
    4,345

    spring + hibernate + clob

    I am using spring 1.1.2, hibernate2 and oracle 9i.
    I am receiving errors when trying to save my clob to the db.
    My original error was
    operation not allowed: streams type cannot be used in...
  24. Replies
    3
    Views
    3,616

    to make myself more clear- the first post problem...

    to make myself more clear- the first post problem occurs when defaultautocommit is not set at all in my datasource in mi applicationContext.xml and the second post problem occurs when it is set to...
  25. Replies
    3
    Views
    3,616

    Additionally- when the sql does not throw an...

    Additionally-
    when the sql does not throw an exception the inserts do not appear in the database although the log claims to have commited:

    - Creating new transaction
    - Opening new connection...
Results 1 to 25 of 26
Page 1 of 2 1 2