Dashboard Builder Commons 6.2.0.Beta2

org.jboss.dashboard.database.hibernate
Class LOBHelper

java.lang.Object
  extended by org.jboss.dashboard.database.hibernate.LOBHelper

@ApplicationScoped
@Named(value="LOBHelper")
public class LOBHelper
extends Object

Utility class to help with binary objects in Oracle


Nested Class Summary
static class LOBHelper.ValueWriter
           
 
Constructor Summary
LOBHelper()
           
 
Method Summary
static LOBHelper lookup()
           
 void nullSafeSet(PreparedStatement st, Object value, int index, LOBHelper.ValueWriter vw)
           
 void oracleNullSafeSet(PreparedStatement statement, Object value, int index, LOBHelper.ValueWriter vw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LOBHelper

public LOBHelper()
Method Detail

lookup

public static LOBHelper lookup()

oracleNullSafeSet

public void oracleNullSafeSet(PreparedStatement statement,
                              Object value,
                              int index,
                              LOBHelper.ValueWriter vw)
                       throws org.hibernate.HibernateException,
                              SQLException
Throws:
org.hibernate.HibernateException
SQLException

nullSafeSet

public void nullSafeSet(PreparedStatement st,
                        Object value,
                        int index,
                        LOBHelper.ValueWriter vw)
                 throws org.hibernate.HibernateException,
                        SQLException
Throws:
org.hibernate.HibernateException
SQLException

Dashboard Builder Commons 6.2.0.Beta2

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.