isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian K <>
Subject Simple composite key of ansi padded strings
Date Thu, 21 Jun 2018 20:09:20 GMT

I’m modeling my domain objects over an existing sql server database.  One
of my tables has a primary key that has two columns of type char(10).  The
values that come from columns like this appear with trailing spaces.  The
OID generated by Isis for a single column primary key works fine and shows
urls such as
http://localhost:8080/wicket/entity/dbo.courtcd:s_3AN-P%20%20%20%20%20 .

When I have a table that has two fields like this as the primary key, I get
this error:

Could not parse OID
    :ANCHORAGE '; should match pattern:

Do I have to now create a primary key class to use the trimmed values
of the string fields in the primary key, or is there another way to
handle this?

Thank you!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message