geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericp56 <eric.phettepl...@twcable.com>
Subject Re: JPA issue
Date Wed, 03 Sep 2008 19:07:56 GMT

Geronimo:Version 2.1.2
Database:MS SQL Server 

I tried the Jtds and the MS Sql server drivers.  Both are slow - I'm
investigating jtds right now...


Entity class:
package com.xxx.xxx.resources;

import java.io.Serializable;
import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

@Entity
public class Table1 implements Serializable {
	@Id
	@Column( nullable=false, length=16)
	private String field1;

	private Timestamp eventdatetime;

	@Column( nullable=true, length=10)
	private String field2;

	@Column( nullable=true, length=7)
	private String din;

more fields, getters and setters.
}


-- 
View this message in context: http://www.nabble.com/JPA-issue-tp19294248s134p19295924.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message