Asparagus is a nutrient-rich vegetable that provides many health benefits. It is high in vitamins, minerals, fiber and antioxidants. Some key benefits include:
1) It may help protect heart health as it contains vitamin K and B vitamins which help regulate homocysteine and lower heart disease risk.
2) It may help lower the risk of type 2 diabetes due to its antioxidant and anti-inflammatory properties which improve pancreatic function and insulin regulation.
3) It aids digestion through its fiber and protein content which help stabilize digestion and provide relief from discomfort.
Window8 installation on VMWare workstrationTola LENG
The document provides a 9 step process for installing Windows 8 using VMware Workstation:
1. Create a new virtual machine and select "I will install the OS later".
2. Select Windows 8 as the guest OS and name the virtual machine.
3. Choose disk size and storage details.
4. Add the Windows 8 ISO image file.
5. Power on the virtual machine and boot from the ISO.
6. Install Windows 8, accepting license terms.
7. Partition the virtual disk and select installation location.
8. Windows 8 installs and restarts for configuration.
9. Set up user account and password to complete installation.
Netcetera now and in 20 Years - Netcetera Innovation Summit 2016Netcetera
In 2016 Netcetera celebrates its 20th anniversary. The company's CEO, Andrej Vckovski, held a presentation at Netcetera Innovation Summit 2016 on September 22-23, 2016, in Munich, Germany, covering Netcetera's mobile, contact-less payment solution SwissWallet and casting a glance into the company's future: Netcetera now and in 20 years.
Under the Hood: Monitoring Azure and .NET - AppSphere16AppDynamics
Cloud and microservices! With applications moving into these spaces, how do you monitor the platforms with performance in mind?
The session will give you an under-the-hood view into the AppDynamics story for the new .NET landscape, and an end-to-end view of the Azure technologies and how we tie into it. Hear an architectural breakdown of the AppDynamics agent for Azure; the user experience design with continuous integration in mind; and the move to decouple dependency to support the Open Web Interface for .NET.
Key takeaways:
o How AppDynamics monitors the cloud
o How to use AppDynamics to monitor the cloud
o Designing for microservices
o How the .NET agent is changing to decouple dependency on IIS
For more information go to: www.appdynamics.com
Asparagus is a nutrient-rich vegetable that provides many health benefits. It is high in vitamins, minerals, fiber and antioxidants. Some key benefits include:
1) It may help protect heart health as it contains vitamin K and B vitamins which help regulate homocysteine and lower heart disease risk.
2) It may help lower the risk of type 2 diabetes due to its antioxidant and anti-inflammatory properties which improve pancreatic function and insulin regulation.
3) It aids digestion through its fiber and protein content which help stabilize digestion and provide relief from discomfort.
Window8 installation on VMWare workstrationTola LENG
The document provides a 9 step process for installing Windows 8 using VMware Workstation:
1. Create a new virtual machine and select "I will install the OS later".
2. Select Windows 8 as the guest OS and name the virtual machine.
3. Choose disk size and storage details.
4. Add the Windows 8 ISO image file.
5. Power on the virtual machine and boot from the ISO.
6. Install Windows 8, accepting license terms.
7. Partition the virtual disk and select installation location.
8. Windows 8 installs and restarts for configuration.
9. Set up user account and password to complete installation.
Netcetera now and in 20 Years - Netcetera Innovation Summit 2016Netcetera
In 2016 Netcetera celebrates its 20th anniversary. The company's CEO, Andrej Vckovski, held a presentation at Netcetera Innovation Summit 2016 on September 22-23, 2016, in Munich, Germany, covering Netcetera's mobile, contact-less payment solution SwissWallet and casting a glance into the company's future: Netcetera now and in 20 years.
Under the Hood: Monitoring Azure and .NET - AppSphere16AppDynamics
Cloud and microservices! With applications moving into these spaces, how do you monitor the platforms with performance in mind?
The session will give you an under-the-hood view into the AppDynamics story for the new .NET landscape, and an end-to-end view of the Azure technologies and how we tie into it. Hear an architectural breakdown of the AppDynamics agent for Azure; the user experience design with continuous integration in mind; and the move to decouple dependency to support the Open Web Interface for .NET.
Key takeaways:
o How AppDynamics monitors the cloud
o How to use AppDynamics to monitor the cloud
o Designing for microservices
o How the .NET agent is changing to decouple dependency on IIS
For more information go to: www.appdynamics.com
Never Code Alone: Von Symfony Forms zu einer SPA auf APIsStefan Adolf
Folien mit Einführung und Usecases für eine NCA-Session. Wir beginnen mit einer Symfony Forms-Applikation für eine simple Event-Verwaltung und wandeln sie sukzessive um zu einer React-SPA, die eine Symony-API verwendet.
Hier das Repository dafür: https://github.com/nevercodealone/ncaevent-remote-maerz-react
JSF und JPA effizient kombinieren (W-JAX 2011)Michael Kurz
Folien zum Vortrag JSF und JPA effizient kombinieren von Michael Kurz auf der W-JAX 2011 in München.
Die dazugehörenden Beispiele sind unter https://github.com/jsflive/mymail-owb zu finden.
Rufen Sie nicht an – wir rufen Sie an! | Server-sent Events und Web-Sockets i...OPEN KNOWLEDGE GmbH
Speaker: Sebastian Reiners
Seit Java EE 7 stehen auch Enterprise-Entwicklern Server-Sent Events und WebSockets in standardisierter Form zur Verfügung. Höchste Zeit also, sich diese andere Art der Kommunikation im Web einmal näher anzusehen. Was sind Server-Sent Events und WebSockets überhaupt, was sind ihre Vorteile und wo bieten sich sinnvolle Anwendungsbereiche?
Im Rahmen der Vorstellung der unterschiedlichen Ansätze werden praktische Erfahrungen und Fallstricke, insbesondere im Zusammenspiel mit JSF und CDI veranschaulicht, sowie ein erstes Resümee gezogen.
Im Kontext von APIs kommt derzeit keiner an REST (Representational State Transfer) vorbei. REST gilt als leichtgewichtige, skalierbare und schnell erlernbare Alternative zu SOAP, die sich die vorhandene Infrastruktur des WWW zunutze macht. In der Praxis hat aber auch REST seine Schwächen. So ist gutes API-Design häufig eine Herausforderung. Für mobile Anwendungen ist REST zu starr und geht nicht effizient genug mit Bandbreite um.
Im Vortrag werden Stärken und Schwächen von REST aufgezeigt und mit GraphQL eine Alternative speziell für den mobilen Kontext vorgestellt.
Optimizing SQL Server 2012 Deep dive for SharePoint 2013 Lars Platzdasch SQL ...Lars Platzdasch
SQL Server Optimierung für SharePoint 2013
Mehr als 90% des SharePoint Inhalts ist im SQL Server gespeichert. Ohne eine korrekte Konfiguration des SQL Servers sind Performance Probleme vorprogrammiert. Es spielt keine Rolle, ob Sie SQL DBA oder SharePoint Admin sind. Es geht darum, den SQL Server und den SharePoint zu optimieren.
Diese Session zeigt, welche Default Einstellungen Probleme verursachen und mit welchen Mitteln Sie diese beheben können. Eine Best Practice Session bis hin zum Diagnose Deep Dive.
Lars PLatzdasch / PASS / SQL Server Konferenz 2015
Elasticsearch & docker mit logstash, jdbc und rubySchanzDieter
Ein kleines Docker Beispiel, wie wir Daten aus einer MySQL Datenbank in elasticsearch importieren. Dabei werden wir die Daten aus unterschiedlichen Tabellen zusammen führen und zu einem Objekt umwandeln. Darum setzen wir Logstash für dieses Beispiel ein.
Effiziente datenpersistierung mit JPA 2.1 und HibernateThorben Janssen
Daten mit Hilfe der Java Persistence API in der Datenbank zu speichern stellt den Standard für Java Enterprise Anwendungen dar. Der Applikationsserver stellt alle benötigten Bibliotheken bereits zur Verfügung und die Verwendung ist so einfach, dass sie innerhalb kürzester Zeit erlernt werden kann. Spannend wird es immer erst dann, wenn die Anforderungen steigen, z.B. weil das Domainmodell sehr komplex, die Datenmenge besonders groß oder die geforderten Antwortzeiten sehr kurz sind. Auch hierfür bietet JPA in der Regel gute Lösungen und wenn das nicht ausreicht, können wir immer noch auf Hibernate-spezifische Features zurückgreifen. Dazu sind allerdings deutlich detailliertere Kenntnisse erforderlich. Einige Beispiele dafür sind Caches, Entity Graphen und Attribute Converter. Wir werden uns genauer ansehen, wie wir diese und andere Features nutzen können, um auch komplexere Anforderungen mit Hilfe von JPA umzusetzen und wann wir auf Hibernate-spezifische Features zurückgreifen müssen.
Hierfür werden grundlegende Kenntnisse in der Verwendung von JPA und Hibernate vorausgesetzt.
Payment trend scouting - Kurt Schmid, NetceteraNetcetera
The document discusses various payment trends that have emerged or shown potential. It notes the success of contactless card payments in some countries and mobile wallets. Other trends discussed include use of biometrics for authentication, open banking interfaces, increasing online payments, and merchants integrating payments into their apps. The document also examines blockchain applications that have yet to breakthrough, as well as ideas around IoT payments, walk out retail payments, and banking ecosystems. It invites attendees to a workshop to brainstorm on trends, assess top trends, and discuss the German payments landscape and challenges for banks.
Boost your approved transaction volume - Ana Vuksanovikj Vaneska, NetceteraNetcetera
The document discusses the benefits of EMV 3DS 2.2.0 and PSD2 exemptions for improving online payment approval rates. It notes that 3DS 2.2.0 enhances the user experience with features like decoupled authentication and system initiated transactions. Finally, it promotes Netcetera's 3DS products and services for helping merchants comply with 3DS and PSD2 regulations.
Increase conversion, convenience and security in e-commerce checkouts - Silke...Netcetera
This document discusses trends, challenges, and technologies related to e-commerce checkouts. It notes that 61% of checkouts are card-based, which face issues like abandonment, declines, and fraud. Tokenization and Secure Remote Commerce (SRC) are presented as key technologies to address these problems by digitizing cards, improving security with cryptograms, and providing a more seamless user experience through features like automatic user and device recognition. SRC in particular is described as a future standard that could create a consistent checkout experience across payment schemes. Examples are given of how tokenization and SRC could increase approval rates by 6%, conversion rates, and overall convenience and security for online transactions.
3-D Secure 2.0 - Stephan Rüdisüli, Netcetera & Patrick Juffern, INFORMNetcetera
This document discusses the opportunities provided by 3-D Secure 2.0 for all stakeholders, including financial institutions, consumers, and merchants. It summarizes the key differences between 3-D Secure 1.0 and 2.0, noting that 2.0 provides more sophisticated authentication, an enriched dataset, and additional use cases beyond just payments. The document also outlines the PSD2 regulation timelines and requirements around strong customer authentication. It emphasizes that risk analysis and access to data are critical to enabling frictionless authentication under 3-D Secure 2.0 and PSD2.
Digital Payment in 2020 - Kurt Schmid, NetceteraNetcetera
The document summarizes the key topics discussed at the Swiss Payment Forum 2019 including the challenges facing digital payments such as new fintech competitors, changing regulations, and shifting user behaviors. It also covers new developments in e-commerce payments including merchant tokenization and Secure Remote Commerce (SRC). The document discusses how solutions like tokenization, delegated authentication, push provisioning, and SRC can help drive adoption by improving the user experience and security of digital payments.
Checklist AR is an application which improves the maintenance processes by augmenting the physical world with digital content. This application guides the workers through a list of real-world checkpoints, providing relevant information at the right physical place. During this session, you will be able to learn more about the solution, the technologies that we used, the challenges we had to overcome and some best practices when developing AR applications for Magic Leap. Additionally, you will be able to experience the Magic Leap One device and learn more about its possibilities.
Aleksandra Hristova's presentation at JavaSkop 2019.
Topics touched:
- Using pattern libraries to improve the communication between designers and developers and the importance of including the whole team and the client into the planning phase.
- How to plan and build components that can be used in different contexts and within other components with examples from real projects.
- How we have used UX design principles to ease our front-end implementations with code examples using the latest CSS features and Angular.
At the UXCamp.ch barcamp on May 11, 2019 in Zurich, Marcel Kessler talked about what he thinks is the future of prototyping: Using coded react components in tools like UXPin (Merge), FramerX (Bridge), Alva and Modulz.
Merchant tokenization and EMV® Secure Remote CommerceNetcetera
Talk by our expert Kurt Schmid about merchant tokenization and EMV® Secure Remote Commerce, held at MPE on 19 February 2019. Merchant Payments Ecosystems is a leading payment conference for merchants and PSPs.
Talk by our expert Suzana Kordumova Nikolova about a seamless 3-D Secure e-commerce experience, held at MPE on 19 February 2019. Merchant Payments Ecosystems is a leading payment conference for merchants and PSPs.
Inselspital is one of the first augmented reality products that we have developed in Netcetera. It allows the doctors to visualize scan results in 3D and to plan neurosurgeries using state of the art technology. During this session, you will be able to learn more about the solution, the technologies that we used, the challenges we had to overcome and some best practices when developing AR applications for HoloLens. Additionally, you will be able to experience the HoloLens device and learn more about its possibilities.
Never Code Alone: Von Symfony Forms zu einer SPA auf APIsStefan Adolf
Folien mit Einführung und Usecases für eine NCA-Session. Wir beginnen mit einer Symfony Forms-Applikation für eine simple Event-Verwaltung und wandeln sie sukzessive um zu einer React-SPA, die eine Symony-API verwendet.
Hier das Repository dafür: https://github.com/nevercodealone/ncaevent-remote-maerz-react
JSF und JPA effizient kombinieren (W-JAX 2011)Michael Kurz
Folien zum Vortrag JSF und JPA effizient kombinieren von Michael Kurz auf der W-JAX 2011 in München.
Die dazugehörenden Beispiele sind unter https://github.com/jsflive/mymail-owb zu finden.
Rufen Sie nicht an – wir rufen Sie an! | Server-sent Events und Web-Sockets i...OPEN KNOWLEDGE GmbH
Speaker: Sebastian Reiners
Seit Java EE 7 stehen auch Enterprise-Entwicklern Server-Sent Events und WebSockets in standardisierter Form zur Verfügung. Höchste Zeit also, sich diese andere Art der Kommunikation im Web einmal näher anzusehen. Was sind Server-Sent Events und WebSockets überhaupt, was sind ihre Vorteile und wo bieten sich sinnvolle Anwendungsbereiche?
Im Rahmen der Vorstellung der unterschiedlichen Ansätze werden praktische Erfahrungen und Fallstricke, insbesondere im Zusammenspiel mit JSF und CDI veranschaulicht, sowie ein erstes Resümee gezogen.
Im Kontext von APIs kommt derzeit keiner an REST (Representational State Transfer) vorbei. REST gilt als leichtgewichtige, skalierbare und schnell erlernbare Alternative zu SOAP, die sich die vorhandene Infrastruktur des WWW zunutze macht. In der Praxis hat aber auch REST seine Schwächen. So ist gutes API-Design häufig eine Herausforderung. Für mobile Anwendungen ist REST zu starr und geht nicht effizient genug mit Bandbreite um.
Im Vortrag werden Stärken und Schwächen von REST aufgezeigt und mit GraphQL eine Alternative speziell für den mobilen Kontext vorgestellt.
Optimizing SQL Server 2012 Deep dive for SharePoint 2013 Lars Platzdasch SQL ...Lars Platzdasch
SQL Server Optimierung für SharePoint 2013
Mehr als 90% des SharePoint Inhalts ist im SQL Server gespeichert. Ohne eine korrekte Konfiguration des SQL Servers sind Performance Probleme vorprogrammiert. Es spielt keine Rolle, ob Sie SQL DBA oder SharePoint Admin sind. Es geht darum, den SQL Server und den SharePoint zu optimieren.
Diese Session zeigt, welche Default Einstellungen Probleme verursachen und mit welchen Mitteln Sie diese beheben können. Eine Best Practice Session bis hin zum Diagnose Deep Dive.
Lars PLatzdasch / PASS / SQL Server Konferenz 2015
Elasticsearch & docker mit logstash, jdbc und rubySchanzDieter
Ein kleines Docker Beispiel, wie wir Daten aus einer MySQL Datenbank in elasticsearch importieren. Dabei werden wir die Daten aus unterschiedlichen Tabellen zusammen führen und zu einem Objekt umwandeln. Darum setzen wir Logstash für dieses Beispiel ein.
Effiziente datenpersistierung mit JPA 2.1 und HibernateThorben Janssen
Daten mit Hilfe der Java Persistence API in der Datenbank zu speichern stellt den Standard für Java Enterprise Anwendungen dar. Der Applikationsserver stellt alle benötigten Bibliotheken bereits zur Verfügung und die Verwendung ist so einfach, dass sie innerhalb kürzester Zeit erlernt werden kann. Spannend wird es immer erst dann, wenn die Anforderungen steigen, z.B. weil das Domainmodell sehr komplex, die Datenmenge besonders groß oder die geforderten Antwortzeiten sehr kurz sind. Auch hierfür bietet JPA in der Regel gute Lösungen und wenn das nicht ausreicht, können wir immer noch auf Hibernate-spezifische Features zurückgreifen. Dazu sind allerdings deutlich detailliertere Kenntnisse erforderlich. Einige Beispiele dafür sind Caches, Entity Graphen und Attribute Converter. Wir werden uns genauer ansehen, wie wir diese und andere Features nutzen können, um auch komplexere Anforderungen mit Hilfe von JPA umzusetzen und wann wir auf Hibernate-spezifische Features zurückgreifen müssen.
Hierfür werden grundlegende Kenntnisse in der Verwendung von JPA und Hibernate vorausgesetzt.
Ähnlich wie Java8 date-time-api-mit-postgre sql (8)
Payment trend scouting - Kurt Schmid, NetceteraNetcetera
The document discusses various payment trends that have emerged or shown potential. It notes the success of contactless card payments in some countries and mobile wallets. Other trends discussed include use of biometrics for authentication, open banking interfaces, increasing online payments, and merchants integrating payments into their apps. The document also examines blockchain applications that have yet to breakthrough, as well as ideas around IoT payments, walk out retail payments, and banking ecosystems. It invites attendees to a workshop to brainstorm on trends, assess top trends, and discuss the German payments landscape and challenges for banks.
Boost your approved transaction volume - Ana Vuksanovikj Vaneska, NetceteraNetcetera
The document discusses the benefits of EMV 3DS 2.2.0 and PSD2 exemptions for improving online payment approval rates. It notes that 3DS 2.2.0 enhances the user experience with features like decoupled authentication and system initiated transactions. Finally, it promotes Netcetera's 3DS products and services for helping merchants comply with 3DS and PSD2 regulations.
Increase conversion, convenience and security in e-commerce checkouts - Silke...Netcetera
This document discusses trends, challenges, and technologies related to e-commerce checkouts. It notes that 61% of checkouts are card-based, which face issues like abandonment, declines, and fraud. Tokenization and Secure Remote Commerce (SRC) are presented as key technologies to address these problems by digitizing cards, improving security with cryptograms, and providing a more seamless user experience through features like automatic user and device recognition. SRC in particular is described as a future standard that could create a consistent checkout experience across payment schemes. Examples are given of how tokenization and SRC could increase approval rates by 6%, conversion rates, and overall convenience and security for online transactions.
3-D Secure 2.0 - Stephan Rüdisüli, Netcetera & Patrick Juffern, INFORMNetcetera
This document discusses the opportunities provided by 3-D Secure 2.0 for all stakeholders, including financial institutions, consumers, and merchants. It summarizes the key differences between 3-D Secure 1.0 and 2.0, noting that 2.0 provides more sophisticated authentication, an enriched dataset, and additional use cases beyond just payments. The document also outlines the PSD2 regulation timelines and requirements around strong customer authentication. It emphasizes that risk analysis and access to data are critical to enabling frictionless authentication under 3-D Secure 2.0 and PSD2.
Digital Payment in 2020 - Kurt Schmid, NetceteraNetcetera
The document summarizes the key topics discussed at the Swiss Payment Forum 2019 including the challenges facing digital payments such as new fintech competitors, changing regulations, and shifting user behaviors. It also covers new developments in e-commerce payments including merchant tokenization and Secure Remote Commerce (SRC). The document discusses how solutions like tokenization, delegated authentication, push provisioning, and SRC can help drive adoption by improving the user experience and security of digital payments.
Checklist AR is an application which improves the maintenance processes by augmenting the physical world with digital content. This application guides the workers through a list of real-world checkpoints, providing relevant information at the right physical place. During this session, you will be able to learn more about the solution, the technologies that we used, the challenges we had to overcome and some best practices when developing AR applications for Magic Leap. Additionally, you will be able to experience the Magic Leap One device and learn more about its possibilities.
Aleksandra Hristova's presentation at JavaSkop 2019.
Topics touched:
- Using pattern libraries to improve the communication between designers and developers and the importance of including the whole team and the client into the planning phase.
- How to plan and build components that can be used in different contexts and within other components with examples from real projects.
- How we have used UX design principles to ease our front-end implementations with code examples using the latest CSS features and Angular.
At the UXCamp.ch barcamp on May 11, 2019 in Zurich, Marcel Kessler talked about what he thinks is the future of prototyping: Using coded react components in tools like UXPin (Merge), FramerX (Bridge), Alva and Modulz.
Merchant tokenization and EMV® Secure Remote CommerceNetcetera
Talk by our expert Kurt Schmid about merchant tokenization and EMV® Secure Remote Commerce, held at MPE on 19 February 2019. Merchant Payments Ecosystems is a leading payment conference for merchants and PSPs.
Talk by our expert Suzana Kordumova Nikolova about a seamless 3-D Secure e-commerce experience, held at MPE on 19 February 2019. Merchant Payments Ecosystems is a leading payment conference for merchants and PSPs.
Inselspital is one of the first augmented reality products that we have developed in Netcetera. It allows the doctors to visualize scan results in 3D and to plan neurosurgeries using state of the art technology. During this session, you will be able to learn more about the solution, the technologies that we used, the challenges we had to overcome and some best practices when developing AR applications for HoloLens. Additionally, you will be able to experience the HoloLens device and learn more about its possibilities.
Driving transactional growth with 3-D SecureNetcetera
3-D Secure SDK allows PSD2 compliant strong customer authentication to increase transactions for merchants, banks and issuers.
Presentation by Peter Frick, Managing Director Payment Security at Netcetera at the Swiss Payment Forum, November 2018.
Kurt Schmid discusses digital payment trends and strategies for issuers. He outlines the growth of digital wallets and proximity payments. Tokenization securely digitizes cards and scales payments by using scheme token services. Wallets offer issuers opportunities to build brands and relationships through additional services beyond payments. While third party wallets control interfaces, issuers can deploy their own wallets and enable Apple Pay to retain customer touchpoints. Tokenization also benefits e-commerce by replacing stored card data with tokens to reduce fraud while maintaining security. Issuers should view digital payment investments strategically rather than just financial returns due to benefits like increased customer loyalty and transactions.
Schafft die Kreditkartenindustrie mit SRC doch
noch die Wallet-Kurve?
Präsentation von Dr. Thomas Fromherz, Chief Strategy Officer, Payments bei Netcetera, am Swiss Payment Forum in Zürich, November 2018.
Context: The missing ingredient in multilingual software translationNetcetera
Take a look at how automated end-to-end tests can be involved to support and speed up the software translation process. Mirjana’s quest at Selenium Conf 2018 in Chicago is to show you with examples how to feel the content and, in the same time, also feel the context of that content.
An important phase in multilingual software systems is text translation. Since same text may be used in different contexts, it is difficult to determine whether the translation is proper in the context of the environment in which the text is used. Sharing only text keys and values with translators usually is not enough. Simple screenshots showing only the text content, also didn't help in situations where text keys were re-used on multiple places, or when there are highly generic templates. This presentation contains an efficient automated way of delivering the necessary artifacts to translation experts. These artefacts contain text keys, text values and also the context where they are used.
https://www.seleniumconf.us/talks#mirjana-andovska
Digital Payments - Netcetera Innovation Summit 2018Netcetera
Kurt Schmid, our Managing Director Digital Payment, asked: “Merchant Tokenization and SRC – the next BUZZ words – how do these change eCommerce Payments?”.
6. alte JDBC Date API
DATE TIMESTAMPTIME
java.sql.Time
java.util.Date
java.sql.Timestampjava.sql.Date
7. java.util.Date
• kein Datum, Zeitpunkt
• Anzahl Millisekunden seit 1.1.1970 00:00 GMT
• praktisch alle Methoden deprecated
8. java.sql.Date
• kein Subtyp
• Anzahl Millisekunden zwischen 1.1.1970 00:00 GMT
bis 00:00 von Datum in JVM Zeitzone
• 24.6.2016
• Anzahl Millisekunden zwischen 1.1.1970 00:00 GMT
und 24.6.2016 00:00 CEST
10. JVM Zeitzone
• Betriebssystem-User Zeitzone
• kann beim JVM-Start überschrieben werden mit
-Duser.timezone
• kann zur Laufzeit geändert werden mit
java.util.TimeZone.setDefault
11. java.sql.Time
• kein Subtyp
• Anzahl Millisekunden zwischen 1.1.1970 00:00 GMT
bis Zeit am 1.1.1970 in JVM Zeitzone
• 15:10
• Anzahl Millisekunden zwischen 1.1.1970 00:00 GMT
bis 1.1.1970 15:10 CEST
12. java.sql.Timestamp
• kein Subtyp
• #equals nicht symmetrisch
• Nanosekunden-Auflösung
• Anzahl Millisekunden seit 1.1.1970 00:00 GMT und Zeitpunk in JVM Zeitzone
• plus Nanosekunden
• 24.6.2016 15:10
• Anzahl Millisekunden seit 1.1.1970 00:00 GMT und 24.6.2016 15:10 CEST
13. Vor Java 8 nicht unterstützt
• (TIME WITH TIME ZONE)
• TIMESTAMP WITH TIME ZONE
18. Zeitpunkt
• alte JDBC API braucht Zeitpunkte für Sachen die
keine Zeitpunkte sind
• DATE
• TIME
• TIMESTAMP
• nur TIMESTAMP WITH TIME ZONE ist ein Zeitpunkt
19. TIMESTAMP WITH TIME ZONE
• “brauchen wir nicht”
• “wir haben nur eine Zeitzone”
20. Stille Datenabschneidung
• mit TIMESTAMP [ WITHOUT TIME ZONE ]
können Daten beim speichern verändert werden
wenn eine andere Zeitzone als UTC verwendet
wird
• Sommer-Winterzeitumstellung
• Schweiz hat zwei Zeitzonen: CET und CEST
22. TIMESTAMP WITH TIME ZONE
• PostgreSQL speichert als UTC
• originale Zeitzone nicht mehr verfügbar
23. neue Java Date Time API
• seit Java SE 8
• inspiriert von Joda-Time
• viele Klassen, “Framework”
• Domain-driven Design
• keine spezifischen Typen für JDBC
• aka JSR-310
24. Java 8 API Date Time API
• relevant für ANSI SQL/JDBC
• LocalDate
• LocalTime
• LocalDateTime
• OffsetDateTime
25. LocalDate
• Datum ohne Zeit
• Jahr
• Monat
• Tag
• keine Zeit, keine Zeitzone → kein Zeitpunkt
26. LocalTime
• Zeit ohne Datum
• Stunde
• Minute
• Sekunde
• Nanosekunde
• kein Datum, keine Zeitzone → kein Zeitpunkt
27. LocalDateTime
• Datum und Zeit
• Datum: LocalDate
• Zeit: LocalTime
• keine Zeitzone → kein Zeitpunkt
29. JDBC 4.2
ANSI SQL Java SE 8
DATE LocalDate
TIME LocalTime
TIMESTAMP LocalDateTime
TIME WITH TIMEZONE OffsetTime
TIMESTAMP WITH TIMEZONE OffsetDateTime
38. JPA 2.2
• Java 8 Date Time API Unterstützung geplant
(JPA_SPEC-63)
• Fahrplan unklar
39. AttributeConverter
• erlauben Konvertierung von Basistypen auf
beliebige Typen
• AttributeConverter haben keinen Zugriff auf
ResultSet oder PreparedStatement
• OffsetDateTime nicht möglich
40. AttributeConverter
• Konvertierung über alte Datentypen
• selber schreiben
• diverse Open-source libraries
• com.github.marschall:threeten-jpa
• org.jadira.usertype:usertype.extended
41. Konvertierung über alte Datentypen
• kann aufgrund von Konvertierung über die
lokale Zeitzone zu Problemen führen
• Zeit existiert in lokaler Zeitzone nicht
45. JPA Fazit
• proprietäre Hibernate API für beste Resultate
• OffsetDateTime nur mit Hibernate
• schlimmster Fall: gleiche Probleme wie bisher
• JVM in UTC kann helfen
46. Treiber-Version
• ≥ 9.4.1208 / “JDBC42”
• nicht “jre7” oder “jre6”
• kein Zusammenhang zur Datenbank-Version
• https://jdbc.postgresql.org/download.html
• org.postgresql:postgresql
• nicht von Linux-Distribution