2012-05-08 5 views
1

처음 응용 프로그램에서 데이터베이스를 사용할 때 rcp 응용 프로그램에서 eclipselink를 사용하고 있는데 이러한 경고 메시지가 나타납니다. 또한 jpa가 성공적으로 로그인 할 때까지 1-2 초 동안 지연됩니다. 이 경고를 멈추는 방법은이 경고가 응용 프로그램에 뒤져 있습니까?eclipselink가있는 Rcp가 동적 직조 가능

[EL Info]: 2012-05-08 12:28:31.186--ServerSession(981252826)--EclipseLink, version: Eclipse Persistence Services - 2.3.2.v20111125-r10461 
[EL Warning]: 2012-05-08 12:28:31.774--ServerSession(981252826)--Reverting the lazy setting on the OneToOne or ManyToOne attribute x for the entity class [class y] since weaving was not enabled or did not occur. 
[EL Warning]: 2012-05-08 12:28:31.775--ServerSession(981252826)--Reverting the lazy setting on the OneToOne or ManyToOne attribute xx for the entity class [class yy] since weaving was not enabled or did not occur. 
[EL Warning]: 2012-05-08 12:28:31.775--ServerSession(981252826)--Reverting the lazy setting on the OneToOne or ManyToOne attribute xxx for the entity class [class yyy] since weaving was not enabled or did not occur. 
[EL Info]: 2012-05-08 12:28:31.969--ServerSession(981252826)--bundleresource://46.fwk1596783631:2_Management login successful 

답변

0

은 아마 대답을 너무 늦기 있지만 ManyToOne 또는 OneToOne 관계 및 지연로드에 관한입니다. 아마 이것을 사용하고 eclipselink는 바이트 코드 (.class 파일)를 만들어야합니다. eclipselink가 코드를 작성하지 못하면 (일부 이유로) LAZY 로딩을 사용할 수 없습니다 .... 따라서 어쩌면 이것이 애플리케이션의 지연 시간의 원인입니다 (LAZY가 아닌 경우 EAGER 로딩이 필요합니다). DB에서 데이터를 가져올 때까지 약간의 추가 시간이 필요함).

관련 문제