[midPoint] ServiceType schema extension - Error when writing to fields - Midpoint 4.4.8

Alcides Moraes alcides.neto at gmail.com
Fri Aug 23 01:01:27 CEST 2024


Hello list,
I’m on Midpoint 4.4.8

I recently created a schema extension for ServiceTypes.
The new fields show up on the UI just fine.
But whenever I try to write to any of them, I get this error:

 org.hibernate.dialect.identity.IdentityColumnSupportImpl does not support identity key generation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gr?ficoColado-1.png
Type: image/png
Size: 80578 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240822/08402ffa/attachment-0001.png>
-------------- next part --------------


It’s the same error either from the UI, or from mappings, I cannot write values to any of the new fields.
I have many schema extensions, for nearly every object type (Orgs, Users, Roles, Assignments), and they all work.
What could be the issue here? 
Below is the XSD, very simple, with 3 string fields.

Any help is appreciated, thanks

<xsd:schema elementFormDefault="qualified" targetNamespace="http://midpoint.evolveum.com/xml/ns/samples/extension-3"
            xmlns:tns="http://midpoint.evolveum.com/xml/ns/samples/extension-3"
            xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3"
            xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema">


    <xsd:complexType name="ServiceExtensionType">
        <xsd:annotation>
            <xsd:appinfo>
                <a:extension ref="c:ServiceType"/>
            </xsd:appinfo>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="contaAplicUsername" type="xsd:string"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:appinfo>
                        <a:indexed>true</a:indexed>
                        <a:displayName>Nome do usuário AD de aplicação</a:displayName>
                        <a:displayOrder>100</a:displayOrder>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="contaBindUsername" type="xsd:string"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:appinfo>
                        <a:indexed>true</a:indexed>
                        <a:displayName>Nome do usuário AD de bind</a:displayName>
                        <a:displayOrder>110</a:displayOrder>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="contaEcmUsername" type="xsd:string"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:appinfo>
                        <a:indexed>true</a:indexed>
                        <a:displayName>Nome do usuário de ECM</a:displayName>
                        <a:displayOrder>120</a:displayOrder>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6278 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240822/08402ffa/attachment-0001.bin>


More information about the midPoint mailing list