Package com.mysema.query.sql.spatial

Source Code of com.mysema.query.sql.spatial.MySQLSpatialTemplatesTest

package com.mysema.query.sql.spatial;

import com.mysema.query.sql.SQLTemplates;
import org.junit.Test;

public class MySQLSpatialTemplatesTest {

    @Test
    public void test() {
        // insert into SHAPES values (1, GeomFromText('POINT(2 2)'))
        SQLTemplates templates = new MySQLSpatialTemplates();
        //assertEquals("GeomFromText('POINT(2 2)')", templates.asLiteral(Wkt.fromWkt("Point(2 2)")));
    }

}
TOP

Related Classes of com.mysema.query.sql.spatial.MySQLSpatialTemplatesTest

TOP
Copyright © 2018 www.massapi.com. 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.