Skip to content

Instantly share code, notes, and snippets.

@Tcharl
Created November 11, 2014 17:58
Show Gist options
  • Select an option

  • Save Tcharl/36a228726b40da2cfb35 to your computer and use it in GitHub Desktop.

Select an option

Save Tcharl/36a228726b40da2cfb35 to your computer and use it in GitHub Desktop.
Repository wiring
<bean id="helloObjectRepository" class="net.osgiliath.hello.model.jpa.repository.impl.HelloObjectJpaRepository">
<argument value="${project.artifactId}.model.HelloEntity"></argument>
<jpa:context unitname="${project.artifactId}Pu"></jpa:context>
<tx:transaction method="*" value="Required" />
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment