Open alcarraz opened 3 years ago
This is on purpose. Originally, SysLog would have a column associated with the Revision History, and Status, and, and, and, but that doesn't scale well, so we've removed that relationship. Status could have an info-only SysLog id, suitable for most situations (without database integrity, though).
Sorry I don't know if I follow, problem is this generates a runtime error when accessing the events properties since it tries to execute an invalid SQL (status column does not exists) my proposal is either remove that relationship from the hbm or modify it by source
without data integrity
With the modification proposed in #221 it works ok, it will create a SysLog
for each event with source
being the same as the status
id
the line that fails is StatusManager.java#L11 when max events is not 0
status
column does not exist inSysLog
entity. So accessing theevents
property creates an invalid SQL sentence. Maybe it should point tosource
? https://github.com/jpos/jPOS-EE/blob/0756f3a1cdf78db8d4a27a11112d5ee6c2427dc3/modules/status/src/main/resources/org/jpos/ee/status/Status.hbm.xml#L41-L45