4 Topics

Member Avatar for
Member Avatar for Pyler
Member Avatar for anisha.silva

HI i have a entity class vehicle and a entity class Customer. A customer has many vehicles, so in the vehicle entity class is as below @Entity @Table(name = "VEHICLE") @XmlRootElement @NamedQueries({ @NamedQuery(name = "Vehicle.findAll", query = "SELECT v FROM Vehicle v"), @NamedQuery(name = "Vehicle.findByMiles", query = "SELECT v FROM …

Member Avatar for anisha.silva
0
203
Member Avatar for Traps

I'm trying to create a jUnit test for my EJB's and if my app just contains a few beans everything's all good but as soon as I incorporate JPA and entity-classes my jUnit test blows up. My test fails at ejbContainer = javax.ejb.embeddable.EJBContainer.createEJBContainer(); and the stack trace says the following: …

Member Avatar for Traps
0
478
Member Avatar for diafol

Hi all, Trying to get my head around OOP at long last. Finally got to the beggar on my to-do list. Just a quick question: I was looking for a way to persist the object across pages, but on further research, I got the idea that this is a bad …

Member Avatar for Stefano Mtangoo
0
139

The End.