我想写一个类,可以把几段用分号隔开的sql分段执行,有人建议我用 split(",")分隔一个String   成一个String[]数组,我照做了,但是发现不能识别注释,比如
create teable testtable1as
(select * from tablename1
);
--sql2
create teable testtable2as
(select * from tablename2
);
/*sql3*/
create teable testtable3as
(select * from tablename3
);
这两种常用的sql注释无法处理,我该如何做呢?
各位大虾有什么好的建议吗?