org.hibernate.ogm.util.impl
Class LogicalPhysicalConverterHelper

java.lang.Object
  extended by org.hibernate.ogm.util.impl.LogicalPhysicalConverterHelper

public class LogicalPhysicalConverterHelper
extends Object

Helper methods to convert an object value into its column values

Author:
Emmanuel Bernard

Constructor Summary
LogicalPhysicalConverterHelper()
           
 
Method Summary
static Object[] getColumnsValuesFromObjectValue(Object uniqueKey, GridType gridUniqueKeyType, String[] propertyColumnNames, SessionImplementor session)
           
static Object[] getColumnValuesFromResultset(Map<String,Object> resultset, String[] propertyColumnNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogicalPhysicalConverterHelper

public LogicalPhysicalConverterHelper()
Method Detail

getColumnValuesFromResultset

public static Object[] getColumnValuesFromResultset(Map<String,Object> resultset,
                                                    String[] propertyColumnNames)

getColumnsValuesFromObjectValue

public static Object[] getColumnsValuesFromObjectValue(Object uniqueKey,
                                                       GridType gridUniqueKeyType,
                                                       String[] propertyColumnNames,
                                                       SessionImplementor session)


Copyright © 2010-2011 Red Hat Middleware, LLC, Emmanuel Bernard and various contributors. All Rights Reserved