O Richard Huxton έγραψε στις Feb 7, 2006 : > padmanabha konkodi wrote: > > Β hi everybody, > > > > i want to pass Integer array to database function from java > > precompiled statement. > > > > java gives java.sql.Array interface but i dont know which > > implementing class i have to use in postgre > > I don't really "do" java, but have you tried an array of integers for > your PostgreSQL function? What happened?
The correct list is -jdbc. Theoritically you would have to write your own implementation of java.sql.Array. Practically build a String with the contents you want e.g. '{1,2,3,4}' for a int[] array, and your done. > > -- -Achilleus ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match