In this EJB-JPA tutorial, we will learn how to create JPA Project and its perspective.
SQL Script for the Video
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
USE [pubs] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[SavingsAc]( [PersonID] [smallint] IDENTITY(1,1) NOT NULL, [PersonName] [nvarchar](50) NOT NULL, [Balance] [int] NOT NULL ) ON [PRIMARY] GO ALTER TABLE [dbo].[SavingsAc] ADD CONSTRAINT [DF_SavingsAc_Balance] DEFAULT ((0)) FOR [Balance] GO |
Categories: JavaEE-EJB-Tube