Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
127 views

cannot use switch ci type in db adapter orm.xml

Jump to solution

Hello,

 

I am currently trying to populate CI attributes of Type 'switch' & 'interface' using ucmdb' orm.xml of DB Generic adapter. It says 'cannot use java reserved keyword'

What can be done to populate such CIs.?

@JohnCI @popadiyski 

regards

Kartik

1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

CMDB CITs, which are also reserved words in Java, should be prefixed by gdba_. For example, for the CMDB CIT goto, the ORM entity should be named gdba_goto.

Likes are appreciated!

View solution in original post

2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

CMDB CITs, which are also reserved words in Java, should be prefixed by gdba_. For example, for the CMDB CIT goto, the ORM entity should be named gdba_goto.

Likes are appreciated!

View solution in original post

Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
Thank you Petko. Indeed that works.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.