Top "Custom-type" questions

How can I create an enum using numbers?

Is it possible to make an enum using just numbers in C#? In my program I have a variable, Gain, …

c# grid properties numeric custom-type
How to fix the Hibernate org.hibernate.MappingException: No Dialect mapping for JDBC type: 2003

public void GetLevel(int id) { Type doubleArrayType=new TypeLocatorImpl(new TypeResolver()) .custom(DoubleArrayUserType.class); Query query = sf.getCurrentSession(). createSQLQuery("select …

arrays spring postgresql hibernate custom-type
Is there a way for phpDoc to document an array of objects as a parameter?

In phpDoc-generated documentation I can cause phpDoc to generate a link to a custom type definition for a given param …

arrays phpdoc custom-type
How to map the PostgreSQL Interval column type in Hibernate?

Under PostgreSQL, I'm using PersistentDuration for the mapping between the sql type interval & duration but it doesn't work. Another …

postgresql hibernate intervals custom-type column-types
Hibernate custom type to avoid 'Caused by: java.sql.SQLException: Stream has already been closed'

How do I write a custom Long class to handle long values in Oracle, to avoid the following error? Caused …

java oracle hibernate custom-type
Set DataView (or DataTable.DefaultView) RowFilter for a custom type

I'm developing an application on the datagridview filtering. I'm using RowFilter property of the dataview for the filtering data. My …

c# .net rowfilter custom-type
How to sort multiple wordpress custom field values?

Display posts with 'Product' type ordered by 'Price' custom field: $query = new WP_Query( array ( 'post_type' => 'product', 'orderby' =&…

wordpress sorting custom-type
What can you use as keys in a C# dictionary?

I come from a python world where only hashable objects may be used as keys to a dictionary. Is there …

c# dictionary types custom-type
using custom scala types in List

I am looking to create a type family that would represent data sizes (Byte, KB...). for that, the idea is …

scala custom-type typelist