jaikiran pai wrote:
But we do enroll a Java EE @DataSourceDefinition instance within an ongoning transaction, isn't it? i.e. it is transactional resource.
We don't do anything special, it's up to the jdcb resource imp to decide what to do, but you can say transactional=no in the annotation, and that value will be passed to the resource (if it chooses to use it).