ProC and the DATE data type
Can anyone recommend the best c data type for a DATE field. The
samples all use the emp sample table but they conveniently never
use the hire date in any examples.
Thanks
Use java.util.GregorianCalendar to do date arithmetic. You can for example use that class to ass or subtract a number of days or months from a date, with all the standard calendar rules (number of days per month, leap years etc.).
Jesper
Similar Messages
-
I pre-ordered an iPhone 6 Plus and the delivery date now says October 14th. The point of the pre-order is to get it on release day (or shortly thereafter). Can I go to a Verizon store to pick up my new phone on release day?
I'm not sure that answers the question Candice.
I'm in the same situation. I was up trying to get on the Verizon page at 11:55, kept getting the ECPD error. When finally got through, the Silver Iphone Plus 64 showed arrival of 9-19. At every step of the process, it seemed that I was ordering a phone that would arrive on day1. At no point did it say this was an estimate. At no point did it say it might change. In a big yellow box, it said "9-19". Ordered it, then got confirmation email stating it should arrive at 9-19. Seems like all should be good, right? Order site said 9-19, I've got a confirmation email saying 9-19, done and done.
Then I check the website, and suddenly it changed to 10-14?!?!?!? I feel like this was a bait and switch. I was able to pickup an iphone5 in a local store on launch day, and would not have locked myself into a preorder through Verizon if I had known this would happen!
So, that leads back to the original questions. Lets assume I walk into a Verizon store on 9-19, and there is an available iphone6 plus just sitting there, can I either get that phone as fulfillment of my pre-order. Or, cancel my pre-order and buy that phone right then and there?
JJK
PS: It seems there are many people you misled this way. For every person who takes the time to post on this site, there are going to be many many more who are silently ****** off. -
My iPod Nano (fourth generation) is stuck on a black screen and will not charge. It's done this before and you can still see a faint outline of the green charging sign and the time/date. HELP
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
Differences between the Portal Data Collector and the Activity Data Collect
Hello,
I want to know what are the differences between the Portal Data Collector and the Activity Data Collector?
Best Regards.
Pablo Mortera.All of my SQL Server instances are sql server 2008r2 standard edition(10.50.2500). MDW is existing database, I try to setup collection sets for multiple instances and store data in one central MDW database
I create MDW in one instance, then run run configure Management Data Warehouse in target intance. collection sets were created successfully, but job failed with following error:
Executed as user: COCAD\INTDEPT01SQLAgentC10. The Management Data Warehouse version "00.00.0000.00" is not supported by the current data collector. Please upgrade the Management Data Warehouse by running the Management Data Warehouse Configuration
Wizard. Process Exit Code 5. The step failed.
Thanks
PAULqaz -
Get the first and the last date of a week
Hi all
I need to get the first and the last date of a specific week.
I need a function that returns two date passing it just one date.
The function has to calculate the first and the last date of the week of the argument date.
hope to be clear
regardsgoiters,
I need to get the first and the last date of a specific week.Yup, and what's the first day of the week in your part of the world, is it Sunday or Monday?
I need a function that returns two date passing it just one date.No you don't, just add 7 days to the start of the week.
hope to be clearWell, you can hope.
Keith.
Message was edited by: corlettk - now I hope to clear ;-) -
APP-PAY-06841: Person change exit between the old and the new date.
Hi,
Please help me by answering this question as very urgent basis.
ABC employee Effective date should be of future dated 10-jan-2011.
But ABC employee joining date has been entered on 10-Aug-2010.
amd also this date is also ended by updating on 10-Dec-2010.
But these records are wrong.This employee's effective date should be form 01-Jan-2011.
how to datetrack.
if iam changing the date bye keeping effective date as 10-Dec-2010 an an iam changing the record to 01-jan-2011,its throwing the error as "**APP-PAY-06841: Person change exit between the old and the new date**"
Thanks&Regards,
Sowmya.KWhat is the application release?
Please see these docs.
Error: APP-PAY-06841: Person changes exist between the old date and the new date [ID 399056.1]
APP-PAY-06841 When Changing Latest Start Date Of An Employee Who Was An Ex-Contingent Worker [ID 1146414.1]
Unable To Change Start Date for Employee, Get Error "APP-PAY-06841: Person Changes Exist Between The Old Date And The New Date" [ID 603233.1]
Correcting Latest Start Date in People Screen Gives Error APP-PAY-06841 [ID 368289.1]
How To Change the Latest Start Date of an Employee? [ID 329692.1]
Thanks,
Hussein -
ADF BC and the Active Data Service
hi
The OFM Fusion Developer's Guide for Oracle ADF 11g Release 1 (B31974-05) has a section "42 Using the Active Data Service"
at http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/adv_ads.htm
that says "... If you want your components to update based on events passed into ADF Business Components, then you need to use the Active Data Proxy. ..."
but it does not seem to explain how to use ADF BC and the Active Data Service.
I have been able to create this example application ...
http://www.consideringred.com/files/oracle/2010/ActiveDataServiceADFBCApp-v0.01.zip
... that does not have a af:poll component (but has moved polling into a managed bean).
<managed-bean>
<managed-bean-name>sumSalBean</managed-bean-name>
<managed-bean-class>activedataserviceadfbcapp.view.SumSalBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>empSumSalVO</property-name>
<value>#{data.activedataserviceadfbcapp_view_sumSalPagePageDef.SumSal.viewObject}</value>
</managed-property>
</managed-bean>This is some code in the SumSalBean class:
package activedataserviceadfbcapp.view;
// also based on code found in "ADF’s Active Data Service and scalar data (like activeOutputText)" by Matthias Wessendorf
// at http://matthiaswessendorf.wordpress.com/2010/01/07/adf%E2%80%99s-active-data-service-and-scalar-data-like-activeoutputtext/
public class SumSalBean
extends BaseActiveDataModel
protected static final String SUM_SAL_NAME = "sumSal";
protected final AtomicInteger fCurrentChangeCount = new AtomicInteger(0);
protected long fActiveDataUpdateEventTime;
protected EmpSumSalVO fEmpSumSalVO = null;
@PostConstruct
public void setupActiveData()
ActiveModelContext vActiveModelContext =
ActiveModelContext.getActiveModelContext();
Object[] vKeyPath = new String[0];
vActiveModelContext.addActiveModelInfo(this, vKeyPath, SUM_SAL_NAME);
ScheduledExecutorService vSEService = Executors.newScheduledThreadPool(1);
vSEService.scheduleAtFixedRate(new Runnable()
public void run()
if (hasDataChanged())
triggerActiveDataUpdateEvent();
3, // let's wait some seconds
2, // period between the updates
TimeUnit.SECONDS);
public void triggerActiveDataUpdateEvent()
setActiveDataUpdateEventTime(System.currentTimeMillis());
incrementCurrentChangeCount();
ActiveDataUpdateEvent vEvent =
ActiveDataEventUtil.buildActiveDataUpdateEvent(
ActiveDataEntry.ChangeType.UPDATE,
getCurrentChangeCount(), new String[0], null,
new String[] { SUM_SAL_NAME },
new Object[] { getSumSal() });
fireActiveDataUpdate(vEvent);
public String getSumSal()
EmpSumSalVO vEmpSumSalVO = getEmpSumSalVO();
return "" + vEmpSumSalVO.getFirstSumSal();
protected void startActiveData(Collection<Object> rowKeys,
int startChangeCount)
protected void stopActiveData(Collection<Object> rowKeys)
public int getCurrentChangeCount()
return fCurrentChangeCount.get();
protected boolean hasDataChanged()
EmpSumSalVO vEmpSumSalVO = getEmpSumSalVO();
return vEmpSumSalVO.hasDataChanged(getActiveDataUpdateEventTime());
public void setEmpSumSalVO(EmpSumSalVO pEmpSumSalVO)
fEmpSumSalVO = pEmpSumSalVO;
}How all this behaves a runtime can be seen in this screencast
at http://www.screentoaster.com/watch/stUEpQSkxIR19aSV9YW1NRVF9W/activedataserviceadfbcapp_v0_01_zip_demo
I would welcome comments on how the example application in ActiveDataServiceADFBCApp-v0.01.zip can be improved, or references to information on how this should be done properly.
question
(q1) Where can I find some example code that does use ADF BC and the Active Data Service?
many thanks
Jan VerveckenJan,
ADF BC does not natively support ADF yet. Its planned for a next release. The only Data Control that out of the box support ADS is BAM. To use ADF BC with e.g. databae change notifications you
- create a shared AM
- Configure the VO to respond to database changes (check box)
- Configure the database to broadcast changes
- Use an af:poll component for the refresh because the update would be on the model layer only
So what is in the documentation is a doc bug. In the current releae you can use ADS best with a POJO model (that you use directly for dashboard use cases). You can though use a POJO data control, but this at the current stage would just act as a pass through for the data access.
See example 156 on http://blogs.oracle.com/smuenchadf/examples/ for how to do it with ADF BC
Frank
Ps.: Of course, the plan is to make everything working out of the box with no developer action required.
Edited by: Frank Nimphius on Feb 12, 2010 6:56 AM
Re-read your post. Maybe I need to revise my comment. Are you accessing AM directly or via the ADF layer. If the latter - I did not yet look at your sample - then this may work if you don't release the AM module you access directly (may not scale well) -
The invoice date and the paymant date showing the same
hi sap techies
i am facing a typical problem the invoice date and the payment date is showing the same in fbl5n.the payment terms are set for 30 days that means that the payment date should be 30 days from the invoice date but in fb03 the system shows invoice date and the payment due date to be the same.
please help
kind regardsHi,
Payment terms are calculacted either on
- Document Date
- Posting Date or
- Entry Date
You must have chosen document date in the parameters for payment term and now you must be comparing on posting date.
Check what is the parameter in payment terms.
Also check the payment terms in the document.
Good Luck!
SAP Solutioning -
I have an Iphone 4S and I would like to print my text messages, including the thread and the Imessage date and time stamps. How would I do this?
settings - message - imessage - OFF
-
Future versions and the relese dates
Can anybody give the Oracle planning about the Future versions and the release dates of the versions.
Becaz Oracle support mentioned some of problems which we were facing in Oracle Streams will be addressed in Future Major releases. If we know the release dates of the future releases we can plan in our project wether to use the STREAMS or not.
Thanks & Regards
RajeshThe next version of Portal Server will fully support Portlet 2.0 (JSR-286) spec.
The implementation is expected to be released as soon as the spec is done (it is Public Draft now)
A sneak preview of Portlet Container 2.0 based on public draft will be
also available as part of upcoming Java Application Platform SDK. -
Hi,
Am using 11.1.1.5 adf jdev.
I got unique issue , i have couple of jsff seach pages . In jsff , i have user enterable inputtext box ,Issue is when user enters data for first time . the component refreshes and the entered data is vanishes .
But it happen for the first time when page loads, There is no partial triggers on dat input text box.Hi John,
My page is not a part of a task flow. The whole app is an Admin app comprising of multiple individual pages navigated using Menu.
I have tried to run this page individually on my local machine as well as when deployed on the WLS server. The behavior is the same.
Kindly advice,
Thanks,
Ram -
How to find FIRST and the LAST date of the month.
Hello,
I want to find the first and the last date of the current month through query. How is it possible please help.
For example if the current month is july. The first date should be 01-JUL-2006 and the last date would be 31-JUL-2006.
Please help me.
Regards,
Imran BaigLike this?
SQL> select trunc(sysdate,'MM') "First_Day",
2 last_day(sysdate) "Last_Day" from dual;
First_Day Last_Day
01-JUL-06 31-JUL-06
SQL> select trunc(to_date('10-FEB-04'),'MM' ) "First_Day",
2 last_day(to_date('10-FEB-04')) "Last_Day" from dual;
First_Day Last_Day
01-FEB-04 29-FEB-04 -
Can apple determine the location of my stolen iphone when it was powered back on and the remote data erase was initiated?
What To Do If Your iDevice or Computer Is Lost Or Stolen
If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
1. Reporting a lost or stolen Apple product
2. Find my lost iPod Touch
3. AT&T, Sprint, and Verizon can block stolen phones/tablets
4. What-To-Do-When-Iphone-Is-Stolen
5. Lost or Stolen iPhone? Here’s What to do
6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
7. Find My iPhone
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
1. Find My iPhone
2. Setup your iDevice on MobileMe
3. OS X Lion- About Find My Mac
4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Third-party solutions for computers:
1. VUWER 1.5.4
2. Sneaky ******* 0.2.0
3. Undercover 4.7
4. LoJack for Laptops Premium Mac
5. STEM 2.1
6. MacPhoneHome 3.5 -
Revision: 4112
Author: [email protected]
Date: 2008-11-14 10:05:42 -0800 (Fri, 14 Nov 2008)
Log Message:
Further work for FXG to SWF transcoding - checking in some work resulting from collaborating with Kaushal to correct FXG transforms and gradient transforms as well as cater for differences between Java AffineTransform and the SWF Matrix type.
QE: Not yet.
Doc: No
Checkintests: Pass
Reviewer: Kaushal
Modified Paths:
flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/GraphicContentNode.java
flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/fills/LinearGradientFillNode.java
flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/fills/RadialGradientFillNode.java
flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/strokes/LinearGradientStrokeNode.j ava
flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/strokes/RadialGradientStrokeNode.j ava
flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/swf/AbstractFXGGraphics.java
flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/swf/TypeHelper.java
Added Paths:
flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/ScalableGradientNode.java -
My sender and the receiver message types structures are same.do I need to m
Hi all,
My sender and the receiver message types structures are same.do I need to mapping in this case.
If it is not required .Let me know in detail,How to proceed.
Thanks,
SrinivasaHi,
If is just to pass the message (as the sender source is the same as the receiver source),
first you should have the Message Interface of you message
then you should configure the Receiver determination, as the sender interface use your message interface and in the interface determination you can use the same message interface (same name). You dont have to add any mapping, just let empty and save. Just use one message interface for sender a receive.
Any questins let me know.
Regards,
Lpbuff
Maybe you are looking for
-
Hello, I am getting error while publishing the 2013 workflow via designer. Also, under sharepoint designer if I try to delete any workflow then the page just refreshes and the workflow does not get deleted. I checked the services.msc and found that t
-
How do I install Bootcamp on Windows 7 on my iMac?
I've just installed Windows 7 ultimate 64bit on my 24" iMac. After i installed it i put my leopard disk in to install bootcamp and it comes up with there are compatibility issues so i continued anyway, it then starts installing until it comes to sayi
-
Hi All, I am using oracle 10g sql plus. It is not displaying the details of dropped tables in recyclebin. And also when i give flashback it is showing that object not in recyclebin.. see the below example... SQL> CREATE TABLE DUM(NAME VARCHAR2(2)); T
-
Hi Experts, Is there any way we can retrieve old message Ids in XI. What's the criteria that XI archieves the messages?? Does it depend upon certain period of time or it depends upon the flow of messages? Are they archieved or they are permanently de
-
Customs duty commming two time with two different price
Dear All, I facing the issue while creating the PO the condition Customs duty Conditions (Z005 )commming two time with two different price Can you please tell me where can check Regards Murugan Edited by: murugan jayaraman on Jan 9, 2011 3:19 PM