Skip to main content
/
SoftwareEngineering
/
Group items matching "cascade" in title, tags, annotations or url
Group items matching
in title, tags, annotations or url
Sort By:
Relevance
|
Date
Filter:
All
|
Bookmarks
|
Topics
Simple
Middle
14
More
Java Persistence/Relationships - Wikibooks, open books for an open world
- 0 views
en.wikibooks.org/...Relationships
jpa
cascade
Cascade
Type.PERSIST
shared by
kuni katsuya
on 11 Oct 12
-
No Cached
Cascading
...
Cancel
following operations can be
cascade
d, as defined in the
cascade
Type enum:
...
Cancel
PERSIST
...
Cancel
...11 more annotations...
If persist() is called on the
...
Cancel
parent
...
Cancel
and the
...
Cancel
child
...
Cancel
is also new, it will also be persisted
...
Cancel
MERGE
...
Cancel
REFRESH
...
Cancel
REMOVE
...
Cancel
. If remove() is called on the parent then the child will also be removed
...
Cancel
. If merge() is called on the parent, then the child will also be merged
...
Cancel
If refresh() is called on the parent then the child will also be refreshed
...
Cancel
...
Cancel
40
More
Java Persistence/Advanced Topics - Wikibooks, open books for an open world
- 0 views
en.wikibooks.org/...Advanced_Topics
JPA
events
LifeCycle
shared by
kuni katsuya
on 08 Feb 13
-
No Cached
Events
...
Cancel
hook into a system that allows the execution of some code when the event occurs
...
Cancel
JPA defines several events for the persistent
...
Cancel
...37 more annotations...
life-cycle
...
Cancel
of Entity objects
...
Cancel
JPA defines the following events:
...
Cancel
PostLoad
...
Cancel
PrePersist
...
Cancel
PostPersist
...
Cancel
PreUpdate
...
Cancel
PostUpdate
...
Cancel
PreRemove
...
Cancel
PostRemove
...
Cancel
after an Entity is loaded into the
...
Cancel
persistence context
...
Cancel
before the persist operation is invoked on an Entity
...
Cancel
after a refresh operation.
...
Cancel
before the remove operation is invoked on an Entity
...
Cancel
cascade
of a remove operation
...
Cancel
during a flush or commit for orphanRemoval in JPA 2.0
...
Cancel
after an instance is deleted from the database
...
Cancel
occurs during a flush or commit operation
...
Cancel
after the database DELETE has occurred
...
Cancel
before the transaction is committed
...
Cancel
after an instance is updated in the database
...
Cancel
occurs during a flush or commit operation
...
Cancel
after the database UPDATE has occurred
...
Cancel
before the transaction is committed
...
Cancel
before an instance is updated in the database
...
Cancel
occurs during a flush or commit operation
...
Cancel
after the database UPDATE has occurred
...
Cancel
before the transaction is committed
...
Cancel
after a new instance is persisted to the database
...
Cancel
occurs during a flush or commit operation
...
Cancel
after the database INSERT has occurred
...
Cancel
before the transaction is committed
...
Cancel
Id of the object should be assigned
...
Cancel
merge for new instances
...
Cancel
cascade
of a persist operation
...
Cancel
Id of the object may not have been assigned, and code be assigned by the event
...
Cancel
...
Cancel
9
More
Java Persistence/Persisting - Wikibooks, open books for an open world
- 0 views
en.wikibooks.org/...Persisting
jpa
persist
merge
remove
find
cascade
shared by
kuni katsuya
on 23 Oct 12
-
No Cached
Persist
...
Cancel
used to insert a new object into the database
...
Cancel
it just registers it as new in the persistence context (transaction)
...
Cancel
...6 more annotations...
Merge
...
Cancel
When the transaction is committed, or if the persistence context is flushed, then the object will be inserted into the database
...
Cancel
used to merge the changes made to a detached object into the persistence context
...
Cancel
it merges the changes into the persistence context (transaction)
...
Cancel
When the transaction is committed, or if the persistence context is flushed, then the object will be updated in the database.
...
Cancel
merge is only required when you have a detached copy of a persistence object
...
Cancel
...
Cancel
16
More
MySQL Error Number 1005 Can't create table '.mydb#sql-328_45.frm' (errno: 150) | VerySi...
- 0 views
verysimple.com/...le-mydbsql-328_45frm-errno-150
database
MySQL
ErrorNumber1005
moronic
shared by
kuni katsuya
on 27 Sep 12
-
No Cached
MySQL Error Number 1005 Can’t create table
...
Cancel
(errno: 150)
...
Cancel
SHOW ENGINE INNODB STATUS
...
Cancel
...12 more annotations...
Known Causes:
...
Cancel
First Steps:
...
Cancel
dreaded errno 150:
...
Cancel
The two key fields type and/or size is not an exact match
...
Cancel
One of the key field that you are trying to reference does not have an index and/or is not a primary key
...
Cancel
One or both of your tables is a MyISAM table
...
Cancel
You have specified a
cascade
ON DELETE SET NULL, but the relevant key field is set to NOT NULL
...
Cancel
Make sure that the Charset and Collate options are the same both at the table level as well as individual field level for the key columns
...
Cancel
You have a default value (ie default=0) on your foreign key column
...
Cancel
You have a syntax error in your ALTER statement or you have mistyped one of the field names in the relationship
...
Cancel
The name of your foreign key exceeds the
...
Cancel
max length of 64 chars
kuni katsuya
on 27 Sep 12
64 char max? seriously??? in this century?!
64 char max? seriously??? in this century?!
...
Cancel
...
Cancel
...
Cancel
1
-
4
of
4
Showing
20
▼
items per page
20
50
100
Related searches
See group items tagged
cascade
»
Search in Google »