[
https://issues.jboss.org/browse/TEIID-4492?page=com.atlassian.jira.plugin...
]
Van Halbert commented on TEIID-4492:
------------------------------------
Example:
<resource-adapter id="infinispanRemQSDSL">
<module slot="main"
id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
<connection-definitions>
<connection-definition
class-name="org.teiid.resource.adapter.infinispan.dsl.InfinispanManagedConnectionFactory"
jndi-name="java:/infinispanRemoteDSL" enabled="true"
use-java-context="true" pool-name="infinispanRemoteDSL">
<config-property name="Module">
com.client.quickstart.addressbook.pojos
</config-property>
<config-property name="RemoteServerList">
127.0.0.1:11322
</config-property>
<config-property name="ChildClasses">
com.client.quickstart.addressbook.pojos.domain.Address,com.client.quickstart.addressbook.pojos.domain.PhoneNumber
</config-property>
<config-property name="CacheTypeMap">
addressbook_indexed:com.client.quickstart.addressbook.pojos.domain.Person;id
</config-property>
</connection-definition>
</connection-definitions>
</resource-adapter>
When using annotations, add option that specifies all child classes
to register as part of the JDG schema
---------------------------------------------------------------------------------------------------------
Key: TEIID-4492
URL:
https://issues.jboss.org/browse/TEIID-4492
Project: Teiid
Issue Type: Enhancement
Components: Misc. Connectors
Affects Versions: 9.2
Reporter: Van Halbert
Assignee: Van Halbert
Fix For: 9.2
When using protobuf annotations, need to specify all the child related (e.g, 1-to-1
relationship or 1-to-many relationship) pojo's that also need to be registered with
the JDG schema. When these are registered, JDG will auto generate the .proto file and
marshallers used by the schema. Which is the information used by the hot rod translator
to create the source models.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)