Newer
Older
CosmosServer / src / main / java / com / example / cosmos_serversb / models / UsersMain.java
package com.example.cosmos_serversb.models;

//このメインクラスを実行すると、Hibernateのテストが行えます。
public class UsersMain {
    public static void main(String args[]){
        Users.setUp();
        Users.createUser("test1","test1","http://localhost:8080/iconImage/b4bb7db0-cc0c-4ee1-816f-8304add12da8.jpg");
        Users.setUser("1234","test3","test3","http://localhost:8080/iconImage/b4bb7db0-cc0c-4ee1-816f-8304add12da8.jpg");
        Users.getUserById("1234");
        Users.tearDown();
    }
}