1 21 22 package org.opensubsystems.core.persist.db.maxdb; 23 24 import java.sql.CallableStatement ; 25 import java.sql.SQLException ; 26 27 import org.opensubsystems.core.data.BasicDataObject; 28 import org.opensubsystems.core.data.ModifiableDataObject; 29 import org.opensubsystems.core.error.OSSException; 30 import org.opensubsystems.core.persist.db.sapdb.SapDBDataUtils; 31 32 33 43 public final class MaxDBDataUtils 44 { 45 47 50 private MaxDBDataUtils( 51 ) 52 { 53 } 55 56 70 public static void insertAndFetchGeneratedValues( 71 CallableStatement insertStatement, 72 int iIndex, 73 BasicDataObject data 74 ) throws SQLException , 75 OSSException 76 { 77 SapDBDataUtils.insertAndFetchGeneratedValues(insertStatement, iIndex, data); 78 } 79 80 94 public static void updateAndFetchGeneratedValues( 95 CallableStatement updateStatement, 96 int iIndex, 97 ModifiableDataObject data 98 ) throws SQLException , 99 OSSException 100 { 101 SapDBDataUtils.updateAndFetchGeneratedValues(updateStatement, iIndex, data); 102 } 103 } 104 | Popular Tags |