[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Entity Bean used to work. But now it is not deployable anymo
ahachmann
do-not-reply at jboss.com
Sat Oct 14 14:03:21 EDT 2006
Can anyone please tell me what this is supposed to mean?
I had this Entity Bean working before. I do not now what I did to cause this Problem, nor have I any Idea to search. In simply know, that I did not touch these EJBs.
--- MBeans waiting for other MBeans ---
ObjectName: jboss.j2ee:ear=EpgData.ear,jar=EpgDataEJB.jar,name=EpgUserHomeImpl,service=EJB3
State: FAILED
Reason: java.lang.RuntimeException: java.lang.Error: Unresolved compilation problems:
The import javax.persistence cannot be resolved
The import javax.persistence cannot be resolved
Id cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
Column cannot be resolved to a type
I Depend On:
persistence.units:ear=EpgData.ear,jar=EpgDataEJB.jar,unitName=EpgData2
Thanks for any Help,
Alexander
| package com.epgdata.model.dao;
|
| // Generated 11.10.2006 18:39:42 by Hibernate Tools 3.2.0.beta7
|
| import javax.persistence.Column;
| import javax.persistence.Entity;
| import javax.persistence.Id;
| import javax.persistence.Table;
|
| import com.epgdata.model.api.EpgUser;
|
|
| /**
| * EpgUser generated by hbm2java
| */
| @Entity
| @Table(name = "epg_user", catalog = "epgdata2", uniqueConstraints = {})
| public class EpgUserImpl implements java.io.Serializable, EpgUser {
|
| // Fields
|
| private int id;
|
| private Integer typeId;
|
| private Integer transactionId;
|
| private Integer languageId;
|
| private Integer oemId;
|
| private String email;
|
| private Byte active;
|
| private Byte istrial;
|
| private Byte devUser;
|
| private Integer downloads;
|
| private Integer downloadsToday;
|
| private Integer lastDownload;
|
| private String oemCustomerId;
|
| private String oemOrderId;
|
| // Constructors
|
| /** default constructor */
| public EpgUserImpl() {
| }
|
| /** minimal constructor */
| public EpgUserImpl(int id) {
| this.id = id;
| }
|
| /** full constructor */
| public EpgUserImpl(int id, Integer typeId, Integer transactionId,
| Integer languageId, Integer oemId, String email, Byte active,
| Byte istrial, Byte devUser, Integer downloads,
| Integer downloadsToday, Integer lastDownload, String oemCustomerId,
| String oemOrderId) {
| this.id = id;
| this.typeId = typeId;
| this.transactionId = transactionId;
| this.languageId = languageId;
| this.oemId = oemId;
| this.email = email;
| this.active = active;
| this.istrial = istrial;
| this.devUser = devUser;
| this.downloads = downloads;
| this.downloadsToday = downloadsToday;
| this.lastDownload = lastDownload;
| this.oemCustomerId = oemCustomerId;
| this.oemOrderId = oemOrderId;
| }
|
| // Property accessors
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getId()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getId()
| */
| @Id
| @Column(name = "id", unique = true, nullable = false, insertable = true, updatable = true)
| public int getId() {
| return this.id;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setId(int)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setId(int)
| */
| public void setId(int id) {
| this.id = id;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getTypeId()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getTypeId()
| */
| @Column(name = "type_id", unique = false, nullable = true, insertable = true, updatable = true)
| public Integer getTypeId() {
| return this.typeId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setTypeId(java.lang.Integer)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setTypeId(java.lang.Integer)
| */
| public void setTypeId(Integer typeId) {
| this.typeId = typeId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getTransactionId()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getTransactionId()
| */
| @Column(name = "transaction_id", unique = false, nullable = true, insertable = true, updatable = true)
| public Integer getTransactionId() {
| return this.transactionId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setTransactionId(java.lang.Integer)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setTransactionId(java.lang.Integer)
| */
| public void setTransactionId(Integer transactionId) {
| this.transactionId = transactionId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getLanguageId()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getLanguageId()
| */
| @Column(name = "language_id", unique = false, nullable = true, insertable = true, updatable = true)
| public Integer getLanguageId() {
| return this.languageId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setLanguageId(java.lang.Integer)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setLanguageId(java.lang.Integer)
| */
| public void setLanguageId(Integer languageId) {
| this.languageId = languageId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getOemId()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getOemId()
| */
| @Column(name = "oem_id", unique = false, nullable = true, insertable = true, updatable = true)
| public Integer getOemId() {
| return this.oemId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setOemId(java.lang.Integer)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setOemId(java.lang.Integer)
| */
| public void setOemId(Integer oemId) {
| this.oemId = oemId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getEmail()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getEmail()
| */
| @Column(name = "email", unique = false, nullable = true, insertable = true, updatable = true)
| public String getEmail() {
| return this.email;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setEmail(java.lang.String)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setEmail(java.lang.String)
| */
| public void setEmail(String email) {
| this.email = email;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getActive()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getActive()
| */
| @Column(name = "active", unique = false, nullable = true, insertable = true, updatable = true)
| public Byte getActive() {
| return this.active;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setActive(java.lang.Byte)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setActive(java.lang.Byte)
| */
| public void setActive(Byte active) {
| this.active = active;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getIstrial()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getIstrial()
| */
| @Column(name = "istrial", unique = false, nullable = true, insertable = true, updatable = true)
| public Byte getIstrial() {
| return this.istrial;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setIstrial(java.lang.Byte)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setIstrial(java.lang.Byte)
| */
| public void setIstrial(Byte istrial) {
| this.istrial = istrial;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getDevUser()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getDevUser()
| */
| @Column(name = "dev_user", unique = false, nullable = true, insertable = true, updatable = true)
| public Byte getDevUser() {
| return this.devUser;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setDevUser(java.lang.Byte)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setDevUser(java.lang.Byte)
| */
| public void setDevUser(Byte devUser) {
| this.devUser = devUser;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getDownloads()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getDownloads()
| */
| @Column(name = "downloads", unique = false, nullable = true, insertable = true, updatable = true)
| public Integer getDownloads() {
| return this.downloads;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setDownloads(java.lang.Integer)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setDownloads(java.lang.Integer)
| */
| public void setDownloads(Integer downloads) {
| this.downloads = downloads;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getDownloadsToday()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getDownloadsToday()
| */
| @Column(name = "downloads_today", unique = false, nullable = true, insertable = true, updatable = true)
| public Integer getDownloadsToday() {
| return this.downloadsToday;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setDownloadsToday(java.lang.Integer)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setDownloadsToday(java.lang.Integer)
| */
| public void setDownloadsToday(Integer downloadsToday) {
| this.downloadsToday = downloadsToday;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getLastDownload()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getLastDownload()
| */
| @Column(name = "last_download", unique = false, nullable = true, insertable = true, updatable = true)
| public Integer getLastDownload() {
| return this.lastDownload;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setLastDownload(java.lang.Integer)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setLastDownload(java.lang.Integer)
| */
| public void setLastDownload(Integer lastDownload) {
| this.lastDownload = lastDownload;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getOemCustomerId()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getOemCustomerId()
| */
| @Column(name = "oem_customer_id", unique = false, nullable = true, insertable = true, updatable = true)
| public String getOemCustomerId() {
| return this.oemCustomerId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setOemCustomerId(java.lang.String)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setOemCustomerId(java.lang.String)
| */
| public void setOemCustomerId(String oemCustomerId) {
| this.oemCustomerId = oemCustomerId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#getOemOrderId()
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#getOemOrderId()
| */
| @Column(name = "oem_order_id", unique = false, nullable = true, insertable = true, updatable = true)
| public String getOemOrderId() {
| return this.oemOrderId;
| }
|
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.IEpgUser#setOemOrderId(java.lang.String)
| */
| /* (non-Javadoc)
| * @see com.epgdata.model.dao.EpgUser#setOemOrderId(java.lang.String)
| */
| public void setOemOrderId(String oemOrderId) {
| this.oemOrderId = oemOrderId;
| }
|
| }
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978340#3978340
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978340
More information about the jboss-user
mailing list