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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.