File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed 
hibernate-core/src/main/java/org/hibernate/type/descriptor/java Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1010import  java .util .Collection ;
1111
1212import  org .hibernate .HibernateException ;
13+ import  org .hibernate .MappingException ;
1314import  org .hibernate .SharedSessionContract ;
1415import  org .hibernate .dialect .Dialect ;
1516import  org .hibernate .engine .jdbc .BinaryStream ;
@@ -70,7 +71,7 @@ public BasicType<?> resolveType(
7071				|| elementJavaTypeClass  != null  && elementJavaTypeClass .isArray ()
7172				&& elementJavaTypeClass  != byte [].class  ) {
7273			// No support for nested arrays, except for byte[][] 
73- 			return   null ;
74+ 			throw   new   MappingException (  "Nested arrays (with the exception of byte[][]) are not supported"  ) ;
7475		}
7576		final  ArrayJavaType <T > arrayJavaType ;
7677		if  ( getElementJavaType () == elementType .getJavaTypeDescriptor () ) {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments