Pass and return custom array object in ibatis and oracle in java
问题 I've looked around for a good example of this, but I haven't run into one yet. I want to pass a custom string array from java to oracle and back, using the IBATIS framework. Does anyone have a good link to an example? I'm calling stored procs from IBATIS. Thanks 回答1: You've got to start with a custom instance of TypeHandler . We'd prefer to implement the simpler TypeHandlerCallback , but in this scenario we need access to the underlying Connection . public class ArrayTypeHandler implements