Questions tagged as 'jpa'

1
answer

What settings are required to make spring boot generate tables automatically? [closed]

I'm currently trying to set up my application with spring-boot to generate tables automatically but I still do not know how, can anyone help?     
asked by 14.05.2017 / 19:12
2
answers

After @JoinColumn JPA does not find entity attribute

I have two entities that are directly related to State and City and my intention was to rename the foreign key present in the client entity, changing for example, 'city.status_id State' for 'city.status'. For this I used the annotation @Joi...
asked by 28.03.2017 / 04:50
1
answer

@OneToMany Bidirectional

Good afternoon, folks. I'm developing a financial web application and I'm having trouble making the relationship between Lancamento and ItemLancamento . I'll post what I've done so far, this is giving error when adding item. CLAS...
asked by 14.04.2017 / 22:31
1
answer

JPA-HIBERNATE: I understand the conjunctures and disjunctions? That's right?

I took some JPA handouts and read some tutorials on the internet, but I'm still a bit lost with regard to disjunction and conjunction in JPA. From what I understand the conjunction serves to group conditions with the "AND" of the sql, since t...
asked by 19.02.2017 / 23:02
1
answer

Problems in project reconfiguration

When I start wildfly I get the following error: 13:56:39,872 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."pokemax.war".INSTALL: org.jboss.msc.service.StartExceptio...
asked by 29.12.2016 / 17:04
2
answers

Access JAVA web application from other machines

I'm using JAVA, JPA, with Wildfly, and primefaces. I have the link from my application link I would like other machines to access this application, I have already modified the localhost for the IP of my machine but it did not work, is there so...
asked by 07.10.2016 / 15:24
1
answer

How to insert only some of the attributes

I'm using JPA with eclipse link, I wanted to insert only some data in the database, some of the attributes do not need to save, how could I do this?     
asked by 13.08.2016 / 06:57
2
answers

Place default value in column

I need to leave a default value in this table column, I'm mapping the persistencies with Hibernate (summarizing the database is created according to the HQL / JPA that I define in domains. How do I set a default value for the column? @NotEm...
asked by 18.10.2016 / 18:17
1
answer

Edit datatable record

Next staff: In my datatable when I click the edit button, it is not opening the edit screen. Can someone help me where I'm wrong? page:                                                                                                     ...
asked by 05.06.2016 / 17:23
1
answer

Hibernate shows ddl but does not create the tables in the database

When I started the wildfly I expected the tables to be created in the database but on the console it shows a create tables log, but nothing happens in the database. Below I show this: 14:15:00,462 INFO [org.jboss.modules] (main) JBoss Mod...
asked by 03.06.2016 / 19:21