Hallo everyone,
I've made for my current project, a class and mapped using JPA. I have used local phpMyAdmin 3.2.0.1 and there is the table once appeared. Up here, I worked locally.
When I recorded the project in Tomcat manager Firmas, the table has been published twice (with the same name) written in small and large. The company uses phpMyAdmin 2.7.0.
Here's the code:
Code:
...
@Entity
@Table(name="UserTravelcosts")
@SequenceGenerator(name="user_generator", sequenceName="user_id_seq")
public class UserTravelCosts implements Serializable {
private static final long serialVersionUID = -7114211999206149717L;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY, generator="user_generator")
private Long id;
...
}
But I want a table, not two.
How can I make it?
Thanks in advance
Greetings
Luky