Hi there!
I have several tables for different services. Each table has it's own prefix. But all of them are linked to a main one.
This way I have for example:
address_location: Prefix address_*
-> String location
-> String zoneCode
-> UUID uuid
lead: Prefix lead*
-> Key UUID uuid
-> String name
... etc ...
This way I can separate generation a process of address handling from the rest of the program.
The problem is that to do reveng updates I have something like this for address code:
Code:
<table-filter match-name="address_.*" match-schema="public"
exclude="false" />
This way I do not generate anything related to the other classes.
The problem is that code generated looks like:
Code:
public class AddressLocation implements java.io.Serializable {
private Integer idAddressLocation;
private UuidUserType uuid;
...
While uuid should be a member of the class Lead. This happens because the class Lead* is exluded
and then references are not done.
This should look like this:
Code:
public class AddressLocation implements java.io.Serializable {
private Integer idAddressLocation;
private Lead lead;
...
I really want to do reference but do not generate any of the class Lead* because they are generated in their own package.
So how can I do that?
Do I explain myself?
Thank you in advance.