Re: [openjpa] multiple persistence units

2018-03-19 Thread Romain Manni-Bucau
2018-03-19 11:44 GMT+01:00 Matthew Broadhead : > thanks Romain, that works > > 1. wouldn't both units need buildschema if you wanted to build them > automatically? or is it only necessary to declare on one? if so shouldn't > it be a child of persistence not

Re: [openjpa] multiple persistence units

2018-03-19 Thread Matthew Broadhead
thanks Romain, that works 1. wouldn't both units need buildschema if you wanted to build them automatically?  or is it only necessary to declare on one?  if so shouldn't it be a child of persistence not persistence-unit? 2. i never defined non jta before.  why do you need a jta and non jta?