-1

How many transaction & Persistent Context are possible in ejb ?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

1 Answers1

1

As many as you want. There is no limit. If you look at the javadoc here, you'll notice the optional parameters that you can use. one of them is the unit name. this tells you which persistence-unit in the persistence.xml file you're pointing to.

greenkode
  • 4,001
  • 1
  • 26
  • 29