There is nothing fancy about this. Just a 'global' table with a service.xml entity as below.
1 <entity name="Global" table="global" data-source="myDataSource" local-service="true" remote-service="true" session-factory="mySessionFactory" tx-manager="myTransactionManager">
2
3 <column name="globalId" db-name="global_id" type="long" primary="true" id-type="sequence" id-param="global_id_seq"/>
4
5 <column name="name" type="String" />
6 <column name="value" type="String" />
7
8 <finder name="Name" return-type="Global" unique="true">
9 <finder-column name="name" />
10 </finder>
11 </entity>
Please sign in to flag this as inappropriate.