Hi,
I am trying to see my table created through java in H2 console, but i cannot see any table created in H2 console. I am using spring boot, and i am not using spring security, just i have created a simple dummy code to try H2 database for understanding. I have tried many solutions provided on questions asked on the same topic on stack-overflow but non of them works for me.
My Config property file is:
spring.h2.console.enabled=true
spring.datasource.platform=h2
spring.datasource.url=jdbc:h2:file:D:/temp/test
Entity class code are as follows:
@entity
public class Alien {
@Id
private int aId;
private String aName;
public int getaId() {
return aId;
}
public void setaId(int aId) {
this.aId = aId;
}
public String getaName() {
return aName;
}
public void setaName(String aName) {
this.aName = aName;
}
}
I found one solution for this from the best Java classes in pune.Java classes in pune
Check that and If you have ,please suggest me more answers rather than this.