Package com.impetus.kundera.query

Examples of com.impetus.kundera.query.QueryImpl


    public void testCreateNativeQuery()
    {
        EntityManager em = emf.createEntityManager();
        String nativeSql = "Select * from Cassandra c";

        QueryImpl q = (QueryImpl) em.createNativeQuery(nativeSql, CassandraEntitySample.class);
        Assert.assertEquals(nativeSql, q.getJPAQuery());
    }
View Full Code Here


    public void testCreateNativeQuery()
    {
        EntityManager em = emf.createEntityManager();
        String nativeSql = "Select * from Cassandra c";

        QueryImpl q = (QueryImpl) em.createNativeQuery(nativeSql, CassandraEntitySample.class);
        Assert.assertEquals(nativeSql, q.getJPAQuery());
    }
View Full Code Here

TOP

Related Classes of com.impetus.kundera.query.QueryImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.