Hi friends
My name is Delmar, I'm from Brazil and my english
is not perfect
I'm testing Eclipse jee ganymede 3.4 RC4
I created one project Java EE - Enterprise
Application Project and configured:
application.xml
Data Source Explorer
JDBC with Firebird connection using Jaybird-2.1.3JDK_1.3
Connection open but don't show no
schema
I created one second projetc JPA - JPA Project and
configured:
Persistence.xml
one class denominated
BAIRRO
I get 3 erros
Schema "null" cannot be resolved for table
"BAIRRO"
Column "CODIGO" cannot be resolved
Schema "null" cannot be resolved for table
"BAIRRO"
Because I'm using Firebird and there are no
default schema and no tables are displayed by DSE how I could may contorn
the problem?
Delmar Wichnieski
---------------------------- Source Code
Application.xml ---------------------------------------
---------------------------- Source Code
Persistence.xml ---------------------------------------
----------------------------
Source Code BAIRRO ---------------------------------------
package entity;
import java.io.Serializable;
import javax.persistence.Entity; import
javax.persistence.Id;
@Entity public class BAIRRO implements
Serializable {
private static final long serialVersionUID =
1L;
@Id private long
CODIGO; private String NOME;
public long getCODIGO()
{ return CODIGO; }
public void setCODIGO(int codigo)
{ CODIGO = codigo; }
public String getNOME()
{ return NOME; }
public void setNOME(String nome)
{ NOME = nome; }
}
|