<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I think DB Table connector supports only AccountObjectClass.</p>
<p>Ivan</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 12. 5. 2020 13:06, mceylan wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADu1p_hxrBUvARX2H7HrBRhjf0GPKKWbY5C+R30TB5AiESQNLw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>I get the following error when I set
CustomorganizationalUnitObjectClass as database resorce object
class. What would be the reason?<br>
</div>
<div>
<div><br>
</div>
<div>
<div><span
style="color:rgb(51,51,51);font-family:"Source Sans
Pro","Helvetica
Neue",Helvetica,Arial,sans-serif;font-size:14px;background-color:rgb(249,249,249)">Error:No
objectclass specified and no default can be determined</span></div>
</div>
<div><span style="color:rgb(51,51,51);font-family:"Source
Sans Pro","Helvetica
Neue",Helvetica,Arial,sans-serif;font-size:14px;background-color:rgb(249,249,249)"><br>
</span></div>
<div><default>true</default><br>
When I do, I get the following error.<br>
</div>
<div><br>
</div>
<div><span style="color:rgb(51,51,51);font-family:"Source
Sans Pro","Helvetica
Neue",Helvetica,Arial,sans-serif;font-size:14px;background-color:rgb(249,249,249)">Internal
error: Got unexpected exception:
java.lang.IllegalArgumentException: Operation requires an
Account ObjectClass.</span><br>
</div>
<div><span style="color:rgb(51,51,51);font-family:"Source
Sans Pro","Helvetica
Neue",Helvetica,Arial,sans-serif;font-size:14px;background-color:rgb(249,249,249)"><br>
</span></div>
<div><span style="color:rgb(51,51,51);font-family:"Source
Sans Pro","Helvetica
Neue",Helvetica,Arial,sans-serif;font-size:14px;background-color:rgb(249,249,249)"><br>
</span></div>
<div><br>
</div>
<div><schemaHandling><br>
<objectType id="1"><br>
<kind>generic</kind><br>
<default>false</default><br>
<objectClass>ri:CustomorganizationalUnitObjectClass</objectClass><br>
<attribute id="2"><br>
<c:ref>icfs:uid</c:ref><br>
<displayName>Entry
UUID</displayName><br>
<limitations><br>
<access><br>
<read>true</read><br>
</access><br>
</limitations><br>
</attribute><br>
<attribute id="3"><br>
<c:ref>icfs:name</c:ref><br>
<displayName>Name</displayName><br>
<limitations><br>
<minOccurs>0</minOccurs><br>
<access><br>
<read>true</read><br>
<add>true</add><br>
<modify>true</modify><br>
</access><br>
</limitations><br>
<inbound id="24"><br>
<target><br>
<c:path>$user/employeeNumber</c:path><br>
</target><br>
</inbound><br>
<inbound id="43"><br>
<target><br>
<c:path>$user/name</c:path><br>
</target><br>
</inbound><br>
</attribute><br>
<attribute id="15"><br>
<c:ref>ri:parent_id</c:ref><br>
<inbound id="16"><br>
<target><br>
<c:path>$user/extension/parent_id</c:path><br>
</target><br>
</inbound><br>
</attribute><br>
<attribute id="37"><br>
<c:ref>ri:identifier</c:ref><br>
<inbound id="39"><br>
<target><br>
<c:path>$user/extension/identifier</c:path><br>
</target><br>
</inbound><br>
</attribute><br>
<attribute id="32"><br>
<c:ref>ri:organization_name</c:ref><br>
<inbound id="33"><br>
<target><br>
<c:path>$user/extension/organizationname</c:path><br>
</target><br>
</inbound><br>
</attribute><br>
<activation><br>
<administrativeStatus><br>
<outbound id="5"/><br>
<inbound id="6"><br>
<strength>weak</strength><br>
</inbound><br>
</administrativeStatus><br>
</activation><br>
</objectType><br>
</schemaHandling><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
</body>
</html>