persistence@glassfish.java.net

RE: buildClassTypes() / getClassTypes()

From: Sergio Samayoa <sergiosamayoa_at_icon.com.gt>
Date: Tue, 12 Feb 2008 22:24:09 -0600

I thought that buildFieldTypes() / getFieldTypes() were user for DDL.

 

As I understand after reading the issue, bjb haves the Firebird
implementation but doesn't release it because issue 1432 wasn't resolved as
he wants.

 

Right now I'm implementing basically sequence support - DatabasePlatforms
works well with FB when tables already exist.

 

When I think is ready I will test it as you suggested then may will be
included in Top Link.

 

Regards.

 

  _____

De: Wonseok Kim [mailto:guruwons_at_gmail.com]
Enviado el: Martes, 12 de Febrero de 2008 08:35 p.m.
Para: persistence_at_glassfish.dev.java.net
Asunto: Re: buildClassTypes() / getClassTypes()

 

Hello Sergio

Those methods are used for schema framework which has responsibility to
create tables when deploying.
Mapping from Java type to database specific types are defined there.

Anyway, FYI there has been an issue for Firebird support.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=1431

Also you can run entity-persistence-tests module to verify the platform
implementation.

HTH

On Feb 13, 2008 9:59 AM, Sergio Samayoa <sergiosamayoa_at_icon.com.gt> wrote:

Hi.

I'm implementing DatabasePlatform's subclase named FirebirdPlatform and
don't understand what is the purpose of buildClassTypes() / getClassTypes().

Some help here please.

Regards.