Back to project page DataSync.
The source code is released under:
Apache License
If you think the Android project DataSync listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.cardiomood.android.sync.ormlite; //w w w .ja v a2 s .co m import com.j256.ormlite.dao.BaseDaoImpl; import com.j256.ormlite.support.ConnectionSource; import java.sql.SQLException; /** * Created by antondanhsin on 09/10/14. */ public class SyncDAO<T extends SyncEntity, ID> extends BaseDaoImpl<T, ID> { protected SyncDAO(ConnectionSource connectionSource, Class<T> dataClass) throws SQLException { super(connectionSource, dataClass); } public T findBySyncId(String syncId) throws SQLException { return SyncHelper.findBySyncId(this, syncId); } }