Strange weaving message at startup [message #1010150] |
Sat, 16 February 2013 17:49 |
jm collin Messages: 7 Registered: February 2013 |
Junior Member |
|
|
Hello,
I'm using EclipseLink 2.4.0 with MongoDB 2.2 in a JBoss 7.1.1 application server.
At deployement I always see this message :
18:41:23,244 INFO [org.eclipse.persistence.weaver] (MSC service thread 1-1) Class xxx.entities.Account could not be weaved for change tracking as it is not supported by its mappings.
I wonder what it means and what is the problem with this 'simple' Entity class.
Maybe you can explain this message and help me to find if there is any consequences.
My class is the following :
@Entity
@NoSql(dataType="account", dataFormat=DataFormatType.MAPPED)
@Table(uniqueConstraints = @UniqueConstraint(columnNames = "email"))
public class Account extends JPAMongoBaseEntity {
@Id
@Field(name="_id")
@GeneratedValue
private String id;
@Override
public String getId() { return id;};
public void setId(String id) { this.id = id;};
// Must be unique (id fonc)
@NotNull
@Size(min = 1, max = 256)
@Email
@Field(name="email")
private String email;
@NotNull
@Size(min = 3, max = 50)
@Field(name="pseudo")
private String pseudo;
@Field(name="password")
private String password;
// the time of end of password validity (-1 => infinite validity)
@Field(name="timeEndOfPwdValidity")
private long timeEndOfPwdValidity;
// the time of last access to compte
@Field(name="timeLastAccess")
private long timeLastAccess;
// Account has been activated (ie the user clicks on the link to activate the account)
@Field(name="activated")
private boolean activated;
// The account is enabled by admin (ie. the user can log in)
@Field(name="enabled")
private boolean enabled;
// The account type
@Field(name="type")
private EnumAccountType type;
// If account is TRIAL, this field give the date/time limit of TRIAL
@Field(name="timeEndOfTrial")
private long timeEndOfTrial;
// Administratives informations
@Size(min = 2, max = 50)
@Field(name="firstName")
private String firstName=null;
@Size(min = 2, max = 50)
@Field(name="lastName")
private String lastName=null;
@Size(min = 2, max = 50)
@Field(name="company")
private String company=null;
@Size(min = 1, max = 50)
@Field(name="branch")
private String branch=null;
// The account balance
@Field(name="balance")
private int balance=0;
// Embedded. The list of account.id that are attached to this account
@ElementCollection
@Field(name="attachments")
private List<String> attachments = new ArrayList<String>();
// Relations
// The payer account if this account's bills is payed by another payer account
@Field(name="payerAccountId")
private String payerAccountId=null;
}
Thank's in advance.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03057 seconds