org.nutz.dao.impl.NutDao Java Examples

The following examples show how to use org.nutz.dao.impl.NutDao. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MsgDataBase.java    From wechattool with MIT License 5 votes vote down vote up
private void init() throws SQLException {
    SimpleDataSource simpleDataSource = new SimpleDataSource();

    simpleDataSource.setJdbcUrl("jdbc:sqlite:"+datapath);


    dao = new NutDao(simpleDataSource);
    imageDatabase=new ImageDatabase(datapath);
    imageDatabase.getBigImageInfoFromDatabase();
    emojiDataBase= new EmojiDataBase(datapath);
    labels=getAllLabel();
    contacts = getAllConTact();
    allmsgs = getAllMsgssage();
    //popAllMessageToContact();
}
 
Example #2
Source File: UserDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public UserDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #3
Source File: AuthorityDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public AuthorityDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #4
Source File: AccountDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public AccountDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #5
Source File: MenuDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public MenuDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #6
Source File: AreaDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public AreaDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #7
Source File: AccessTokenDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public AccessTokenDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #8
Source File: OpenUserDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public OpenUserDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #9
Source File: RoleDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public RoleDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #10
Source File: OrgDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public OrgDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #11
Source File: DictDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public DictDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #12
Source File: FileDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public FileDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}
 
Example #13
Source File: AuthorizationDao.java    From DAFramework with MIT License 4 votes vote down vote up
@Autowired
public AuthorizationDao(@Autowired DataSource dataSource) {
	super(new NutDao(dataSource));
}