kvamer
Oct 23rd, 2009, 05:29 AM
Hi, I'm new to Roo and I have a lot of questions:).
I have a simple entity
import javax.persistence.Entity;
import org.springframework.roo.addon.javabean.RooJavaBean ;
import org.springframework.roo.addon.tostring.RooToString ;
import org.springframework.roo.addon.entity.RooEntity;
import javax.persistence.Table;
@Entity
@RooJavaBean
@RooToString
@RooEntity(identifierColumn = "MYENTITY_ID")
@Table(name = "MYENTITY")
public class MyEntity {
}
and a method in some other class that uses it, say
public void useEntity() {
System.out.println("Point 1");
MyEntity myEntity = new MyEntity();
System.out.println("Point 2");
}
Then I compile it with maven. Everything is ok, no erorrs. After this I start my application and see only "Point 1". Nothing more. No exceptions, no errors. Could anyone help me? Thanks in advance.
I have a simple entity
import javax.persistence.Entity;
import org.springframework.roo.addon.javabean.RooJavaBean ;
import org.springframework.roo.addon.tostring.RooToString ;
import org.springframework.roo.addon.entity.RooEntity;
import javax.persistence.Table;
@Entity
@RooJavaBean
@RooToString
@RooEntity(identifierColumn = "MYENTITY_ID")
@Table(name = "MYENTITY")
public class MyEntity {
}
and a method in some other class that uses it, say
public void useEntity() {
System.out.println("Point 1");
MyEntity myEntity = new MyEntity();
System.out.println("Point 2");
}
Then I compile it with maven. Everything is ok, no erorrs. After this I start my application and see only "Point 1". Nothing more. No exceptions, no errors. Could anyone help me? Thanks in advance.