Niall Loughnane

Ranch Hand
+ Follow
since Dec 07, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Niall Loughnane

Hi,

there are space characters 160 (non breaking space character) and 32 (space) - these represent a space characters but are distinct different individual characters,

is there any library that can be used to convert 160 (non breaking space character) into 32 (space) characters - this is for string comparison purposes,

Thanks in Advance,

Niall
8 years ago
Hi Steve,

Thanks for your reply,

I have had a look online but i cant find any (open source) QA Code generators,

Do you have a few names of ones that you like and i will certainly check them out,

Thanks for your help,

Niall
9 years ago
Hi,

is there a java library that can be used to create NEC Codes in PDF style?

Thanks in Advance,

Niall
9 years ago
Hi,

is there a java library that can be used to create QR Codes in PDF style?

Thanks in Advance,

Niall
9 years ago
Hi,

and thanks for your answers,

what im trying to do is load files on a single PC CPU to load them faster,

do you think this is possible?

Thanks
Hi,

any advice on this would be great,

what i am trying to do is to read multiple (100) files into a Map in parallel rather than reading one file at a time,

I have read that there may be restrictions to this due to I/O processing but is there a way to use ExecutorService and Threads to run multiple threads in parallel and load the contents of the files into a map contained of DTO's,

Thanks
Hi,

im trying to create Java database DTO bean classes from a SQL file using Maven,

Has anyone recommended Maven tools for doing this or otherwise?

Thanks in Advance,

Niall
Hi,

I am using Spring Batch to export XML content in a Database table to a single XML file,

The Spring Batch has a reader to read the data from the database and a FlatFileWriter to write xml database field content data to a xml file,

But at the top of the exported XML file needs to be the number of items in the XML file,
I am thinking of using XSLT and xPath for this but is there any good way for doing this within Spring Batch?

Thanks,

Niall
10 years ago
Hi,

i have a java enum Country with fields shortName and longName but i want to move the enum to a static database table,
What is the best way to achieve this?

The Country enum is:


Thanks in Advance,

Niall
10 years ago
Hi,

when i build a snapshot library for my project, the name of the jar and pom files are:
<projectName>-1.0.0-20130516.102259-1.jar
<projectName>-1.0.0-20130516.102259-1.pom

But how can i set the snapshot version to be:
<projectName>-1.0.0-SNAPSHOT.jar
<projectName>-1.0.0-SNAPSHOT.pom

rather than using timestamps?

Version of Maven is 3.0.4


Thanks,

Niall
10 years ago
Hi Mark,

Thanks for your reply,

i have the code working now with queryByExample but is there a way to pass in an object into the qbe and to do both LIKE and case insensitive in the query?
11 years ago
Hi,

I am querying a database using OpenJPA and passing in an object as the SQL where,

I am using this code to create the query
[code=java]

CriteriaQuery<Employee> q = cb.createQuery(Employee.class);

Employee example = new Employee();
example.setSalary(10000);
example.setRating(1);

q.where(cb.qbe(q.from(Employee.class), example);
[/code]

But how can I to do a LIKE and a case Insensitive query on this query?

Thanks in Advance,

Niall
Hi,

i have a web application that consists of flows and sub-flows,

is there any documentation on how to implement exception handling in a web application when if an exception is thrown then a particular page is displayed,

Thanks,

Niall
11 years ago
Hi,

is it possible in Spring Data JPA to query by a domain field name and field value?

if i have a domain class called Person with fields:
* name
* address
* dob

is it possible in Spring Data JPA to query by (findAll) that have a field 'name' and field value 'Murph',

Thanks,

Niall
11 years ago
Hi,

does Spring Data JPA support findByExample method, i.e. where an object is passed in to search for items with a table,

Thanks,

Niall
11 years ago