skip to Main Content

Android studio name validation

I'm comming with a little question here. I need to do something to validate the a name in the registration form, until now I did this : if(TextUtils.isEmpty(textFullName) ) and this else if(!textFullName.matches("[a-zA-Z ]+")) but those are for empty and…

VIEW QUESTION

Mysql – JdbcBatchItemWriter Error Parameter index out of range

There's an error on using Spring batch JdbcBatchItemWriter. insert into books(order_id, order_no, paid_payment_id) values (:orderId, :orderNo, :paidPaymentId) enter image description here private JdbcBatchItemWriter<BooksEntity> booksWriter() { return new JdbcBatchItemWriterBuilder<BooksEntity>() .itemSqlParameterSourceProvider(new BeanPropertyItemSqlParameterSourceProvider<>()) .dataSource(dataSource) .sql( "insert into books(order_id, order_no, paid_at, paid_payment_id, pay_method, pay_no,…

VIEW QUESTION
Back To Top
Search