Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Rahul Mahindrakar

Ranch Hand
+ Follow
since Jul 28, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rahul Mahindrakar

Hi

Thanks for the prompt reply

I have both of those books and checking if there is something I have missed out.

Thanks Again

Rahul M
Hi

I am looking at a suitable book to map business requiremnts to a domain model.

Thanks

Rahul M
Hi

I am looking for a good DDD group.

https://en.wikipedia.org/wiki/Domain-driven_design

Anyone has ideas. 

Tried Linkedin, google etc,  but any recommendation is helpful.

Thanks
Rahul M.
1 year ago
columnSelections.add(root.get("enum1"));

for example when I use a columnSelection to select a enum Object within Customer then there are no results.

2 years ago
Hi

I looked at that before but that issue can be represented in SQL like this

Select Car from Car a where a.enum1 is ('blue','red');

I want the following as result

Select a.enum1 from Car a

Now since the enum1 is an enum within the Car object that is my issue as to how to represent it in String in the result.

2 years ago
List<Selection<Object>> columnSelections = new ArrayList<Selection<Object>>();
columnSelections.add(root.get("enum1"))

The colum selection above is the problem. Its an enum object. How do I get the string out
2 years ago
Hi

I am trying to use criteria queria to get a selection of Enum data.

For example

Select a.Name a.value a.enum1 from Customer a

But a.enum1 is an object and not a string and that I think is a problem.

How do I retreive the enum as a string. The result is a Tuple.
2 years ago
Hi

If it helps

Here is the link to this part in Java Tutorial

https://docs.oracle.com/javase/tutorial/java/javaOO/methodreferences.html
Hi

The only thing I can see is that the lack of usage of parallelStream()

--
java.util.List newRedsSorted = allApples.parallelStream()
--

But when I changed it still no change in result.

Intresting problem!
The Servlet Specification and the JSP Specification should have been updated since 2008 since it will be nearly 7 years.

If you just want an introduction to Servlet and JSP's as a concept I guess its good enough.

I am sure the examples would work anyway.

3 years ago
It will be good to know what are you trying to prove/test here.
Hi

I have just added a while loop and see that both B Hello and A Hello do appear but not in any deterministic order.



This should be normal.
Hi

I have an oracle database

1)
If I had two databases and moved data between the two databases in a Transaction its a 2 PC transaction

2)
Now I have one database in Oracle with two schemas. If I were to move data between the two schemas I think its a 2PC.

Is point 2 right?

Rahul Mahindrakar

Hi

We are using the following in our persistance.xml



However we have Oracle 11 in our system.

Any ideas of how this has an impact.