Questions tagged as 'id'

1
answer

Validate form with name [] and id equal

I have a dynamic form, where you can see several textarea , and by default, this textarea has the same id and the same name , but name is being sent as array % (name="nomecampo[]" ). I would like to...
asked by 02.08.2017 / 17:44
1
answer

View of two tables

I have two tables, TABLE_1 and TABLE_2 and I want to create a view with some fields of both where the id_event (existing in both) is equal. CREATE TABLE table_1 ( id INT, id_event INT, col1_t1 varchar(255), ...); CREATE TABLE...
asked by 02.09.2016 / 15:54
1
answer

how to capture an id dynamically and in sequence in postgresql?

It refers to an audit table that I am creating, the purpose is to register the fields of the table in question. But I can not capture the ex id: create or replace function audit_unidade.log_unidade_escola() returns trigger as $body$ begin --...
asked by 07.12.2018 / 14:17
0
answers

Checkbox group and save in two tables

Hello everyone, is everything ok with you? I have the following doubt I have a form with a checkbox group related some services see below: Mecânica Funilaria Pintura Cristalização Box (Mêcanica / Fulinaria / Pintura / Cristalização) I ha...
asked by 17.11.2018 / 15:29
1
answer

How to recover data using FirebaseRecyclerAdapter that has automatically generated IDs?

I have an error using FirebaseRecyclerAdapter, at the time of retrieving the data the firebase has this error: " com.google.firebase.database.DatabaseException: Expected to List while deserializing, but got a class java.util. HashMap " I saw...
asked by 12.10.2018 / 01:02
1
answer

How do I send an information of an ID by e-mail?

I have a form, it has the following line: <span id="idTaxa"></span> This line loads the delivery rate data, that's fine, but I need to send this information by email and I'm not sure how to do it. To send the data from my form I...
asked by 15.09.2016 / 15:38
2
answers

Component ID does not appear in MainActivity

The problem is this: I add a component in my ActivityMain, a button for example, but when I go to do the findviewById (ID) of the component, its ID does not appear in MainActivity, it was working normal before, add a new button and its ID no lon...
asked by 29.08.2018 / 02:50
1
answer

Error: java.lang.IllegalArgumentException: id to load is required for loading

I am not able to save data in the database. I created a generated id to customize the primary key in the DB. The field is called id and it is a String . I made a test class and it is working, but when I run the program it gi...
asked by 22.07.2018 / 07:49
2
answers

How to use @MappedSuperclass @Id with @Sequence Individual - hibernate oracle

I need to solve a question of using inheritance and sequences with hibernate and Oracle. I'm using Maven with: hibernate-core 5.1.5.Final hibernate-entitymanager 5.1.5.Final hibernate-validator 5.1.3.Final eclipselink 2.6.5 ojdbc6 11.2.0.4 ja...
asked by 29.05.2018 / 19:56
0
answers

Bucar ID OF TABLE DESTINATION RELATED TO TABLE ORIGIN

Hello, good evening I would like some help. I have a table 1 where I have an already defined id, and I have a table 2 that will receive the data from table 1 except the id, and will create a new id. Note: Table 2 already has other stored data...
asked by 12.04.2018 / 23:20