You should use jpaConfig property.
Here is an except from
http://www.smartclient.com/docs/8.2/...jpaIntegration
Additional configurations:
In case you have several persistence units defined in your persistence.xml you can have additional configurations in server.properties file. Additional configurations (prefixed with jpa.) should have name, emfProvider property and other properties required by specified EMF provider implementation. For example:
jpa.configName.emfProvider: com.isomorphic.jpa.EMFProviderLMT
jpa.configName.persistenceUnitName: ANOTHER_PERSISTENCE_UNIT_NAME
To use additional JPA configuration you have to set jpaConfig property in data source definition:
<DataSource
ID="countryDS"
serverConstructor="com.isomorphic.jpa.JPA2DataSource"
beanClassName="com.smartgwt.sample.showcase.server.jpa.Country"
jpaConfig="configName"
>
In case you have several persistence units defined in your persistence.xml you can have additional configurations in server.properties file. Additional configurations (prefixed with jpa.) should have name, emfProvider property and other properties required by specified EMF provider implementation. For example:
jpa.configName.emfProvider: com.isomorphic.jpa.EMFProviderLMT
jpa.configName.persistenceUnitName: ANOTHER_PERSISTENCE_UNIT_NAME
To use additional JPA configuration you have to set jpaConfig property in data source definition:
<DataSource
ID="countryDS"
serverConstructor="com.isomorphic.jpa.JPA2DataSource"
beanClassName="com.smartgwt.sample.showcase.server.jpa.Country"
jpaConfig="configName"
>
Alius
Leave a comment: