Hi All,
I am writing multiple AQL statements in a single AQL Query using Spring ArangoRepository.
When I checked if any one of the statements fails , the entire Query is not rollbacked. Is this expected ?
spring arango framework doesn't implicitly add begin/commit/abort.?
Please help me to understand.
import com.arangodb.springframework.annotation.Query;
import com.arangodb.springframework.repository.ArangoRepository;
import org.springframework.data.repository.query.Param
public interface
MyRepository extends ArangoRepository {
@Query(
<< with coll1,coll2, .....>
<<Insert documents>>
<<expire edges>>
<<create new edges>>
........
StudentDoc addStudentNode(
@Param("name") String name,
@Param("surname") String surname)
Thanks
Eswar