Posts by Javeson Yehudi • 103 points
8 posts
-
0
votes1
answer28
viewsQ: Nested Documents
I have a question that I believe is basic for those who are starting with nosql and comes from the classic relational structures. Well, let’s look at a simple example for relational structures: I…
-
0
votes3
answers349
viewsA: I need to clone the contents of a div and put in the form of my modal
I think the best form of doing this is with the append and not the appendTo. You can use it like this: var div = $("#divConsulta").clone(); $("#formFruta").append(div); That way you’re adding cloned…
-
1
votes2
answers264
viewsA: Session Hibernate, how to obtain instance
If I’m understanding what you want, then you need Sessionfactory to get a Session private static final SessionFactory sessionFactory = new…
-
3
votes1
answer188
viewsA: Creating Function Postgresql
You can use Callablestatement. CallableStatement statement = connection.prepareCall(" { call function( ?, ?, ? ) } "); statement.setInt(1, value); statement.setInt(2, value); statement.setInt(3,…
-
2
votes1
answer186
viewsA: Select Hibernate criteria with mapped entity
Criteria you cannot do without an entity, but you can use Native Query to execute queries. Query query = session.createSQLQuery("select s.stock_code from stock s where s.stock_code =…
-
0
votes1
answer847
viewsA: Typeerror: Cannot read Property 'files' of Undefined
That kind of mistake TypeError: Cannot read property 'files' of undefined usually occurs because the value is lost, either by not passing the parameter or because it was not obtained or set. If you…
firebaseanswered Javeson Yehudi 103 -
1
votes1
answer34
viewsA: Update dropdown when pop-up window closes
I think there you are already talking about Ajax. An easy way to use Ajax is with jQuery You can use: $.ajax({ accepts: { mycustomtype: 'application/x-some-custom-type' }, // Instructions for how to…
-
0
votes2
answers86
viewsA: I do not know how to call a certain item on the list that enters my "for" in other functions
Apparently there are some errors in the code. Your comparison is missing one = and whether the getData is a method, parentheses are missing () [.get(Calendar.DAY_OF_MONTH) == socios(i).getData()]…