Is it possible to implement a custom Hibernate UserType with multiple Columns and multiple Parameters

Solution Verified - Updated -

Issue

  • Hibernate allows configuring multiple columns for a custom UserType. Hibernate also allows specifying Parameters by implementing ParameterizedType. However, multiple Column specification in a custom user type with Parameters is NOT possible due to the Hibernate DTD specification.

Environment

  • Hibernate (all versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content