studentdaoojb.java

来自「spring in action 源代码」· Java 代码 · 共 27 行

JAVA
27
字号

package com.springinaction.training.dao.ojb;

import java.util.Set;

import org.springframework.orm.ojb.support.PersistenceBrokerDaoSupport;

import com.springinaction.training.dao.StudentDao;
import com.springinaction.training.model.Student;


public class StudentDaoOjb extends PersistenceBrokerDaoSupport
    implements StudentDao {
  
  public Student findById(final String id) {
    throw new RuntimeException("Method not implemented yet.");
  }

  public void create(Student student) {
    getPersistenceBrokerTemplate().store(student);
  }
  
  public Set getCompletedCourses(Student student) {
    throw new RuntimeException("Method not implemented yet.");
  }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?