java_objects and create table

Поиск
Список
Период
Сортировка
От Andrew Hart
Тема java_objects and create table
Дата
Msg-id E19skXM-00041d-00@eagle
обсуждение исходный текст
Ответы Re: java_objects and create table
Список pgsql-jdbc
I am trying to store a java_object into a database using code:
try {
   s.executeUpdate( "create table regions2 ( region java_object );"  );
}
catch (SQLException e) {
   System.out.println("Error creating:" + e.getMessage());
}


Error creating:ERROR:  Unable to locate type name 'java_object' in catalog
JDK14 pg73jdbc3 pg7.2.1

What is going wrong?  I would assume that the java_object type is not
supported but is there an alternative type so that I can use a prepared
statement and a setObject( myRegion ) call to add my object to the database?

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Lufkin, Brad"
Дата:
Сообщение: Caching
Следующее
От: Fernando Nasser
Дата:
Сообщение: Re: Caching