Mongodb 带有嵌入式类型查询的Mongo/DataNucleus/JPA给出:找不到的类型(部分)。。。因为符号没有类型;隐式变量?

Mongodb 带有嵌入式类型查询的Mongo/DataNucleus/JPA给出:找不到的类型(部分)。。。因为符号没有类型;隐式变量?,mongodb,jpa,datanucleus,Mongodb,Jpa,Datanucleus,我正在尝试此JPA查询“从媒体库ml中选择ml,其中ml.media.id=:id”,我收到以下错误消息:“找不到ml.media.id的(部分)类型,因为符号没有类型;隐式变量?” 我意识到这可能是查询的某种成员,但我尝试了同样的结果。我正在查找包含id等于给定值的媒体的媒体库 简化代码: @Entity( name = "MediaLibrary" ) @Table( name = "MediaLibrary" ) public class MediaLibrary implements S

我正在尝试此JPA查询
“从媒体库ml中选择ml,其中ml.media.id=:id”
,我收到以下错误消息:
“找不到ml.media.id的(部分)类型,因为符号没有类型;隐式变量?”

我意识到这可能是查询的某种
成员,但我尝试了同样的结果。我正在查找包含id等于给定值的媒体的媒体库

简化代码:

@Entity( name = "MediaLibrary" )
@Table( name = "MediaLibrary" )
public class MediaLibrary implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private String mediaLibraryKey;

    @Embedded
    private Set<Media> media;
....

@Embeddable
public class Media implements GenericDataProducer, CreationDateKnown, Serializable {
    private static final long serialVersionUID = 1L;

    @Column
    private String id;
....
更新:工作命令行mongodb查询如下:

db.MediaLibrary.find( { "media" : { $elemMatch : { "id" : "f0f9b014-24b1-4408-b0aa-3c9f74c822f8" } } } );
或在java中:

new BasicDBObject( "media", new BasicDBObject( "$elemMatch", new BasicDBObject("id", id) ) );
更新:另一个查询:
“从媒体库ml中选择ml,其中:ml.media.id的id成员”

而产量则处于良好水平:

FINE: JPQL Single-String with "SELECT ml FROM MediaLibrary ml WHERE :id MEMBER OF ml.media.id" Jun 16, 2013 12:47:04 PM org.datanucleus.store.query.AbstractJPQLQuery compileInternal FINE: JPQL Query : Compiling "SELECT ml FROM MediaLibrary ml WHERE :id MEMBER OF ml.media.id" Jun 16, 2013 12:47:04 PM com.xonami.rest.server.MyServerResource log SEVERE: com.xonami.rest.server.media.MediaStateNoIdResource in log: org.datanucleus.exceptions.NucleusUserException: Cannot find type of (part of) ml.media.id since symbol has no type; implicit variable?: Cannot find type of (part of) ml.media.id since symbol has no type; implicit variable? at org.datanucleus.query.expression.PrimaryExpression.bind (PrimaryExpression.java: 274) at org.datanucleus.query.expression.InvokeExpression.bind (InvokeExpression.java: 97) at org.datanucleus.query.compiler.JavaQueryCompiler.compileFilter (JavaQueryCompiler.java: 475) at org.datanucleus.query.compiler.JPQLCompiler.compile (JPQLCompiler.java: 81) at org.datanucleus.store.query.AbstractJPQLQuery.compileInternal (AbstractJPQLQuery.java: 271) at org.datanucleus.store.mongodb.query.JPQLQuery.compileInternal (JPQLQuery.java: 163) at org.datanucleus.store.query.Query.setImplicitParameter (Query.java: 811) at org.datanucleus.api.jpa.JPAQuery.setParameter (JPAQuery.java: 438) at org.datanucleus.api.jpa.JPAQuery.setParameter (JPAQuery.java: 58) at com.xonami.rest.cache.DataFetcher.getMediaById (DataFetcher.java: 205) 精细:在数据存储中完全评估过滤器的编译 不可能:此映射程序不支持调用表达式


因此,目前还没有实现将JPQL“collField.contains(val)”(相当于您为查询输入的内容)转换为MongoDB查询,因此无法在数据存储中对其进行计算。因为您知道它需要转换成什么,所以可以很容易地获取、查找并贡献对该特定查询的支持。

您引用的查询是无效的JPQL,因此请使用有效的查询以及从该有效JPQL查询中获得的完整错误消息和堆栈跟踪来更新该问题。然后引用日志中关于JPQL调用的内容(在调试级别!)也许我的日志输出有问题,但调试时没有出现其他问题,所以我使用级别ALL的输出和不同的查询进行了更新。查询仍然无效。“:m1.media的媒体成员”是有效的构造。我不理解您的查询。我没有m1。你能推荐一个与我尝试执行的mongo db查询等效的JPA查询吗?我只是复制你的名字,并提供一些有效的。。。通过查看JPA规范,您可以轻松地完成此操作。如果您想指定一个id,请“从MediaLibrary ml、Media m中选择ml,其中m是ml.Media的成员,m.id=:id” FINE: JPQL Single-String with "SELECT ml FROM MediaLibrary ml WHERE :id MEMBER OF ml.media.id" Jun 16, 2013 12:47:04 PM org.datanucleus.store.query.AbstractJPQLQuery compileInternal FINE: JPQL Query : Compiling "SELECT ml FROM MediaLibrary ml WHERE :id MEMBER OF ml.media.id" Jun 16, 2013 12:47:04 PM com.xonami.rest.server.MyServerResource log SEVERE: com.xonami.rest.server.media.MediaStateNoIdResource in log: org.datanucleus.exceptions.NucleusUserException: Cannot find type of (part of) ml.media.id since symbol has no type; implicit variable?: Cannot find type of (part of) ml.media.id since symbol has no type; implicit variable? at org.datanucleus.query.expression.PrimaryExpression.bind (PrimaryExpression.java: 274) at org.datanucleus.query.expression.InvokeExpression.bind (InvokeExpression.java: 97) at org.datanucleus.query.compiler.JavaQueryCompiler.compileFilter (JavaQueryCompiler.java: 475) at org.datanucleus.query.compiler.JPQLCompiler.compile (JPQLCompiler.java: 81) at org.datanucleus.store.query.AbstractJPQLQuery.compileInternal (AbstractJPQLQuery.java: 271) at org.datanucleus.store.mongodb.query.JPQLQuery.compileInternal (JPQLQuery.java: 163) at org.datanucleus.store.query.Query.setImplicitParameter (Query.java: 811) at org.datanucleus.api.jpa.JPAQuery.setParameter (JPAQuery.java: 438) at org.datanucleus.api.jpa.JPAQuery.setParameter (JPAQuery.java: 58) at com.xonami.rest.cache.DataFetcher.getMediaById (DataFetcher.java: 205) Jun 17, 2013 11:54:00 AM org.datanucleus.query.JPQLSingleStringParser FINE: JPQL Single-String with "SELECT ml FROM MediaLibrary ml, Media m WHERE m MEMBER OF ml.media AND m.id = :id" Jun 17, 2013 11:54:00 AM org.datanucleus.store.query.AbstractJPQLQuery compileInternal FINE: JPQL Query : Compiling "SELECT ml FROM MediaLibrary ml, Media m WHERE m MEMBER OF ml.media AND m.id = :id" Jun 17, 2013 11:54:00 AM org.datanucleus.store.query.AbstractJPQLQuery compileInternal FINE: JPQL Query : Compile Time = 2 ms Jun 17, 2013 11:54:00 AM org.datanucleus.store.query.AbstractJPQLQuery compileInternal FINE: QueryCompilation: [from:ClassExpression(alias=ml),ClassExpression(alias=m)] [filter:DyadicExpression{InvokeExpression{[PrimaryExpression{ml.media}].contains(PrimaryExpression{m})} AND DyadicExpression{PrimaryExpression{m.id} = ParameterExpression{id}}}] [symbols: id type=java.lang.String, m type=com.xonami.rest.db.Media, ml type=com.xonami.rest.db.MediaLibrary] Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.JPQLQuery compileQueryFull FINE: JPQL Query : Compiling "SELECT ml FROM MediaLibrary ml, Media m WHERE m MEMBER OF ml.media AND m.id = :id" for datastore Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.QueryToMongoDBMapper compileFilter FINE: Compilation of filter to be evaluated completely in-datastore was impossible : Invoke expression is not supported by this mapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.JPQLQuery compileQueryFull FINE: JPQL Query : Compile Time for datastore = 0 ms Jun 17, 2013 11:54:00 AM org.datanucleus.store.query.AbstractJPQLQuery compileInternal FINE: JPQL Query : Compiling "SELECT FROM MediaLibrary ml, Media m WHERE m MEMBER OF ml.media AND m.id = :id" Jun 17, 2013 11:54:00 AM org.datanucleus.util.Imports resolveClassDeclaration FINE: Class MediaLibrary was resolved to be com.xonami.rest.db.MediaLibrary. It wasnt defined fully-qualified so had to be looked up; you can avoid the lookup (and improve performance) by fully-qualifying the class in the query. Jun 17, 2013 11:54:00 AM org.datanucleus.util.Imports resolveClassDeclaration FINE: Class Media was resolved to be com.xonami.rest.db.Media. It wasnt defined fully-qualified so had to be looked up; you can avoid the lookup (and improve performance) by fully-qualifying the class in the query. Jun 17, 2013 11:54:00 AM org.datanucleus.store.query.AbstractJPQLQuery compileInternal FINE: JPQL Query : Compile Time = 1 ms Jun 17, 2013 11:54:00 AM org.datanucleus.store.query.AbstractJPQLQuery compileInternal FINE: QueryCompilation: [from:ClassExpression(alias=ml),ClassExpression(alias=m)] [filter:DyadicExpression{InvokeExpression{[PrimaryExpression{ml.media}].contains(PrimaryExpression{m})} AND DyadicExpression{PrimaryExpression{m.id} = ParameterExpression{id}}}] [symbols: id type=java.lang.String, m type=com.xonami.rest.db.Media, ml type=com.xonami.rest.db.MediaLibrary] Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.JPQLQuery compileQueryFull FINE: JPQL Query : Compiling "SELECT FROM MediaLibrary ml, Media m WHERE m MEMBER OF ml.media AND m.id = :id" for datastore Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.QueryToMongoDBMapper compileFilter FINE: Compilation of filter to be evaluated completely in-datastore was impossible : Invoke expression is not supported by this mapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.JPQLQuery compileQueryFull FINE: JPQL Query : Compile Time for datastore = 0 ms Jun 17, 2013 11:54:00 AM org.datanucleus.store.connection.ConnectionManagerImpl allocateConnection FINE: Connection added to the pool : org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=null, commitOnRelease=true, closeOnRelease=true, closeOnTxnEnd=false] for key=org.datanucleus.ExecutionContextImpl@519549e in factory=ConnectionFactory:tx[org.datanucleus.store.mongodb.ConnectionFactoryImpl@4fb7a553] Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl obtainNewConnection FINE: Managed connection org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=com.mongodb.DBApiLayer@61ffbcb, commitOnRelease=true, closeOnRelease=true, closeOnTxnEnd=false] is starting Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.JPQLQuery performExecute FINE: JPQL Query : Executing "SELECT FROM MediaLibrary ml, Media m WHERE m MEMBER OF ml.media AND m.id = :id" ... Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.MongoDBUtils getObjectsOfCandidateType FINE: Performing find() using query on collection MediaLibrary for fields={ "mediaLibraryKey" : 1 , "owner" : 1 , "projectKey" : 1 , "quota" : 1} with filter={ } Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.LazyLoadQueryResult closingConnection INFO: Reading in results for query "SELECT FROM MediaLibrary ml, Media m WHERE m MEMBER OF ml.media AND m.id = :id" since the connection used is closing Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl getObjectFromLevel1Cache FINE: Object "com.xonami.rest.db.MediaLibrary@774943d6" (id="com.xonami.rest.db.MediaLibrary:51bf3116b306d15598ec06c6") taken from Level 1 cache (loadedFlags="[NYYYY]") [cache size = 5] Jun 17, 2013 11:54:00 AM org.datanucleus.query.evaluator.JavaQueryEvaluator execute FINE: JPQL Query : Processing the "filter" clause using in-memory evaluation (clause = "DyadicExpression{InvokeExpression{[PrimaryExpression{ml.media}].contains(PrimaryExpression{m})} AND DyadicExpression{PrimaryExpression{m.id} = ParameterExpression{id}}}") Jun 17, 2013 11:54:00 AM org.datanucleus.query.evaluator.JavaQueryEvaluator handleFilter FINE: Evaluating filter for 1 candidates Jun 17, 2013 11:54:00 AM org.datanucleus.store.connection.ConnectionManagerImpl allocateConnection FINE: Connection found in the pool : org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=com.mongodb.DBApiLayer@61ffbcb, commitOnRelease=true, closeOnRelease=true, closeOnTxnEnd=false] for key=org.datanucleus.ExecutionContextImpl@519549e in factory=ConnectionFactory:tx[org.datanucleus.store.mongodb.ConnectionFactoryImpl@4fb7a553] Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.MongoDBPersistenceHandler fetchObject FINE: Fetching object "com.xonami.rest.db.MediaLibrary@774943d6" (id=51bf3116b306d15598ec06c6) fields [media] Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.MongoDBPersistenceHandler fetchObject FINE: Object "com.xonami.rest.db.MediaLibrary@774943d6" (id="51bf3116b306d15598ec06c6") being retrieved from MongoDB Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.MongoDBUtils getObjectForObjectProvider FINE: Retrieving object for { "_id" : { "$oid" : "51bf3116b306d15598ec06c6"}} Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl putObjectIntoLevel1Cache FINE: Object "com.xonami.rest.db.Media@64afb650" (id="org.datanucleus.identity.IdentityReference@44cae5b8") added to Level 1 cache (loadedFlags="[NNNNNNNNNNN]") Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the value in field "applications" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.types.simple.ArrayList initialise FINE: Created SCO wrapper for object "com.xonami.rest.db.Media@64afb650" field "applications" with 1 entries, using options="cached,allowNulls" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the value in field "cTime" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the value in field "mediaStates" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.types.simple.ArrayList initialise FINE: Created SCO wrapper for object "com.xonami.rest.db.Media@64afb650" field "mediaStates" with 0 entries, using options="cached,allowNulls" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the value in field "projectVLists" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.types.simple.ArrayList initialise FINE: Created SCO wrapper for object "com.xonami.rest.db.Media@64afb650" field "projectVLists" with 0 entries, using options="cached,allowNulls" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the value in field "propertyKeys" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.types.simple.ArrayList initialise FINE: Created SCO wrapper for object "com.xonami.rest.db.Media@64afb650" field "propertyKeys" with 2 entries, using options="cached,allowNulls" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the value in field "propertyValues" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.types.simple.ArrayList initialise FINE: Created SCO wrapper for object "com.xonami.rest.db.Media@64afb650" field "propertyValues" with 2 entries, using options="cached,allowNulls" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the value in field "searchList" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.types.simple.ArrayList initialise FINE: Created SCO wrapper for object "com.xonami.rest.db.Media@64afb650" field "searchList" with 6 entries, using options="cached,allowNulls" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the value in field "tags" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.types.simple.ArrayList initialise FINE: Created SCO wrapper for object "com.xonami.rest.db.Media@64afb650" field "tags" with 2 entries, using options="cached,allowNulls" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager wrapSCOField FINE: Object "com.xonami.rest.db.MediaLibrary@774943d6" (id="com.xonami.rest.db.MediaLibrary:51bf3116b306d15598ec06c6") is having the value in field "media" replaced by a SCO wrapper Jun 17, 2013 11:54:00 AM org.datanucleus.store.types.simple.HashSet initialise FINE: Created SCO wrapper for object "com.xonami.rest.db.MediaLibrary@774943d6" field "media" with 1 entries, using options="cached,allowNulls" Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.MongoDBPersistenceHandler fetchObject FINE: Execution Time = 4 ms Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl release FINE: Managed connection org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=com.mongodb.DBApiLayer@61ffbcb, commitOnRelease=true, closeOnRelease=false, closeOnTxnEnd=false] is committing Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl release FINE: Managed connection org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=com.mongodb.DBApiLayer@61ffbcb, commitOnRelease=true, closeOnRelease=false, closeOnTxnEnd=false] committed connection Jun 17, 2013 11:54:00 AM org.datanucleus.state.AbstractStateManager updateLevel2CacheForFields FINE: Object "com.xonami.rest.db.MediaLibrary@774943d6" (id="51bf3116b306d15598ec06c6") is having the following fields in Level 2 cache object updated : [0] Jun 17, 2013 11:54:00 AM org.datanucleus.query.evaluator.memory.InMemoryExpressionEvaluator getValueForPrimaryExpression SEVERE: Cannot find m member of com.xonami.rest.db.MediaLibrary Jun 17, 2013 11:54:00 AM org.datanucleus.query.evaluator.memory.InMemoryExpressionEvaluator getValueForPrimaryExpression SEVERE: Cannot find m member of com.xonami.rest.db.MediaLibrary Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.query.JPQLQuery performExecute FINE: JPQL Query : Execution Time = 9 ms Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl release FINE: Managed connection org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=com.mongodb.DBApiLayer@61ffbcb, commitOnRelease=true, closeOnRelease=false, closeOnTxnEnd=false] is committing Jun 17, 2013 11:54:00 AM org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl release FINE: Managed connection org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=com.mongodb.DBApiLayer@61ffbcb, commitOnRelease=true, closeOnRelease=false, closeOnTxnEnd=false] committed connection Jun 17, 2013 11:54:00 AM com.xonami.rest.LogWrapper log INFO: Not found. Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl performDetachOnClose FINE: DetachOnClose : Closing manager so detaching all current objects ... Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager detach FINE: Detaching object from persistence : "com.xonami.rest.db.ProjectLibrary@9ec265c" (depth=0) Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.ProjectLibrary@9ec265c" (id="com.xonami.rest.db.ProjectLibrary:51bf3116b306d15598ec06c5") is having the SCO wrapper in field "ownedProjects" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager detach FINE: Detaching object from persistence : "com.xonami.rest.db.XonamiUser@397b6178" (depth=1) Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "creationDate" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager detach FINE: Detaching object from persistence : "com.xonami.rest.db.EmailAddress@131b92e6" (depth=2) Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.EmailAddress@131b92e6" (id="com.xonami.rest.db.EmailAddress:51bf3117b306d15598ec06c8") is having the SCO wrapper in field "created" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.LifeCycleState changeState FINE: Object "com.xonami.rest.db.EmailAddress@131b92e6" (id="com.xonami.rest.db.EmailAddress:51bf3117b306d15598ec06c8") has a lifecycle change : "P_NONTRANS"->"DETACHED_CLEAN" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager disconnect FINE: Disconnecting com.xonami.rest.db.EmailAddress@131b92e6 from StateManager[pc=com.xonami.rest.db.EmailAddress@131b92e6, lifecycle=DETACHED_CLEAN] Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl removeObjectFromLevel1Cache FINE: Object with id="com.xonami.rest.db.EmailAddress:51bf3117b306d15598ec06c8" being removed from Level 1 cache [current cache size = 6] Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "emails" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager detach FINE: Detaching object from persistence : "com.xonami.rest.db.MediaLibrary@774943d6" (depth=2) Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager detach FINE: Detaching object from persistence : "com.xonami.rest.db.Media@64afb650" (depth=2) Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the SCO wrapper in field "applications" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the SCO wrapper in field "cTime" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the SCO wrapper in field "mediaStates" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the SCO wrapper in field "projectVLists" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the SCO wrapper in field "propertyKeys" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the SCO wrapper in field "propertyValues" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the SCO wrapper in field "searchList" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.Media@64afb650" (id="") is having the SCO wrapper in field "tags" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.LifeCycleState changeState FINE: Object "com.xonami.rest.db.Media@64afb650" (id="org.datanucleus.identity.IdentityReference@44cae5b8") has a lifecycle change : "P_CLEAN"->"DETACHED_CLEAN" Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl evictFromTransaction FINE: Object "com.xonami.rest.db.Media@64afb650" (id="org.datanucleus.identity.IdentityReference@44cae5b8") being evicted from transactional cache Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl evictFromTransaction FINE: Object "com.xonami.rest.db.Media@64afb650" (id="org.datanucleus.identity.IdentityReference@44cae5b8") is not transactional Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager disconnect FINE: Disconnecting com.xonami.rest.db.Media@64afb650 from StateManager[pc=com.xonami.rest.db.Media@64afb650, lifecycle=DETACHED_CLEAN] Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl removeObjectFromLevel1Cache FINE: Object with id="org.datanucleus.identity.IdentityReference@44cae5b8" being removed from Level 1 cache [current cache size = 5] Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.MediaLibrary@774943d6" (id="com.xonami.rest.db.MediaLibrary:51bf3116b306d15598ec06c6") is having the SCO wrapper in field "media" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.LifeCycleState changeState FINE: Object "com.xonami.rest.db.MediaLibrary@774943d6" (id="com.xonami.rest.db.MediaLibrary:51bf3116b306d15598ec06c6") has a lifecycle change : "P_NONTRANS"->"DETACHED_CLEAN" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager disconnect FINE: Disconnecting com.xonami.rest.db.MediaLibrary@774943d6 from StateManager[pc=com.xonami.rest.db.MediaLibrary@774943d6, lifecycle=DETACHED_CLEAN] Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl removeObjectFromLevel1Cache FINE: Object with id="com.xonami.rest.db.MediaLibrary:51bf3116b306d15598ec06c6" being removed from Level 1 cache [current cache size = 4] Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "mediaLibraries" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager detach FINE: Detaching object from persistence : "com.xonami.rest.db.payment.PaymentInfo@6b04d3c8" (depth=2) Jun 17, 2013 11:54:00 AM org.datanucleus.state.LifeCycleState changeState FINE: Object "com.xonami.rest.db.payment.PaymentInfo@6b04d3c8" (id="com.xonami.rest.db.payment.PaymentInfo:51bf3116b306d15598ec06c7") has a lifecycle change : "P_NONTRANS"->"DETACHED_CLEAN" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager disconnect FINE: Disconnecting com.xonami.rest.db.payment.PaymentInfo@6b04d3c8 from StateManager[pc=com.xonami.rest.db.payment.PaymentInfo@6b04d3c8, lifecycle=DETACHED_CLEAN] Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl removeObjectFromLevel1Cache FINE: Object with id="com.xonami.rest.db.payment.PaymentInfo:51bf3116b306d15598ec06c7" being removed from Level 1 cache [current cache size = 3] Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "paymentInfos" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "projectLibraries" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "propertyKeys" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "propertyValues" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "searchList" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager unwrapSCOField FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") is having the SCO wrapper in field "tags" replaced by the unwrapped value Jun 17, 2013 11:54:00 AM org.datanucleus.state.LifeCycleState changeState FINE: Object "com.xonami.rest.db.XonamiUser@397b6178" (id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5") has a lifecycle change : "P_NONTRANS"->"DETACHED_CLEAN" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager disconnect FINE: Disconnecting com.xonami.rest.db.XonamiUser@397b6178 from StateManager[pc=com.xonami.rest.db.XonamiUser@397b6178, lifecycle=DETACHED_CLEAN] Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl removeObjectFromLevel1Cache FINE: Object with id="com.xonami.rest.db.XonamiUser:8f677878-ebde-4774-9604-5f78ba4844a5" being removed from Level 1 cache [current cache size = 2] Jun 17, 2013 11:54:00 AM org.datanucleus.state.LifeCycleState changeState FINE: Object "com.xonami.rest.db.ProjectLibrary@9ec265c" (id="com.xonami.rest.db.ProjectLibrary:51bf3116b306d15598ec06c5") has a lifecycle change : "P_NONTRANS"->"DETACHED_CLEAN" Jun 17, 2013 11:54:00 AM org.datanucleus.state.JDOStateManager disconnect FINE: Disconnecting com.xonami.rest.db.ProjectLibrary@9ec265c from StateManager[pc=com.xonami.rest.db.ProjectLibrary@9ec265c, lifecycle=DETACHED_CLEAN] Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl removeObjectFromLevel1Cache FINE: Object with id="com.xonami.rest.db.ProjectLibrary:51bf3116b306d15598ec06c5" being removed from Level 1 cache [current cache size = 1] Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl performDetachOnClose FINE: DetachOnClose : completed detach Jun 17, 2013 11:54:00 AM org.datanucleus.store.connection.ConnectionManagerImpl closeAllConnections FINE: Connection found in the pool : org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=com.mongodb.DBApiLayer@61ffbcb, commitOnRelease=true, closeOnRelease=false, closeOnTxnEnd=false] for key=org.datanucleus.ExecutionContextImpl@519549e in factory=ConnectionFactory:tx[org.datanucleus.store.mongodb.ConnectionFactoryImpl@4fb7a553] but owner object closing so closing connection Jun 17, 2013 11:54:00 AM org.datanucleus.store.connection.ConnectionManagerImpl$1 managedConnectionPostClose FINE: Connection removed from the pool : org.datanucleus.store.mongodb.ConnectionFactoryImpl$ManagedConnectionImpl@517c804b [conn=com.mongodb.DBApiLayer@61ffbcb, commitOnRelease=true, closeOnRelease=false, closeOnTxnEnd=false] for key=org.datanucleus.ExecutionContextImpl@519549e in factory=ConnectionFactory:tx[org.datanucleus.store.mongodb.ConnectionFactoryImpl@4fb7a553] Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl disconnectObjectProvidersFromCache FINE: Level 1 Cache cleared Jun 17, 2013 11:54:00 AM org.datanucleus.ExecutionContextImpl close FINE: ExecutionContext "org.datanucleus.ExecutionContextImpl@519549e" closed Jun 17, 2013 11:54:00 AM org.restlet.service.ConverterService toRepresentation