java_objects and create table

Поиск
Список
Период
Сортировка
Искать
От
Andrew Hart
Тема
java_objects and create table
Дата
Msg-id
E19skXM-00041d-00@eagle
Список
Дерево обсуждения
java_objects and create table Andrew Hart <andhart@btinternet.com>
Re: java_objects and create table Paul Thomas <paul@tmsl.demon.co.uk>
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
FAQ