com.atomikos.examples.jpa.impl
Class TestDaoImpl

java.lang.Object
  extended by com.atomikos.examples.jpa.impl.TestDaoImpl
All Implemented Interfaces:
TestDao

@Transactional(readOnly=false)
@Repository(value="testDao")
public class TestDaoImpl
extends Object
implements TestDao


Constructor Summary
TestDaoImpl()
           
 
Method Summary
 Account create(Account a)
           
 Account retreive(int id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestDaoImpl

public TestDaoImpl()
Method Detail

create

@Transactional(readOnly=false,
               propagation=REQUIRES_NEW)
public Account create(Account a)
Specified by:
create in interface TestDao

retreive

public Account retreive(int id)
Specified by:
retreive in interface TestDao


Copyright © 2012. All Rights Reserved.